All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

DraftingInterfaces Interface CATIDftDimChamfer

System.IUnknown
  |
  +---CATIDftDimChamfer
 

Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.


interface CATIDftDimChamfer

Chamfer interface on dimensions.
Dimensions always answer to this interface, use the CATIDrwDimDimension::GetType() function to determine the type of the dimension. If the dimension is not a chamfer dimension every function returns E_FAIL.

See also:
CATIDrwDimDimension.GetDimType


Method Index


o GetChamferRepresentationType(CATDrwDimChfRepType*)
Gets the chamfer representation type of the dimension.
o GetChamferValueFormat(CATDrwDimChfValFormat*)
Gets the value format of the chamfer dimension.
o SetChamferRepresentationType(CATDrwDimChfRepType)
Sets the chamfer representation type of the chamfer dimension.
o SetChamferValueFormat(CATDrwDimChfValFormat)
Sets the value format of the chamfer dimension.

Methods


o GetChamferRepresentationType
public virtual HRESULT GetChamferRepresentationType(CATDrwDimChfRepType* oChamferType) = 0
Gets the chamfer representation type of the dimension. Return the encumbrancy of all generated items in view coordinates
Parameters:
CATDrwDimChfRepType
* oChamferType The chamfer representation type
Returns:
HRESULT
S_OK
Succeeded
E_FAIL
The dimension is not a chamfer dimension.
o GetChamferValueFormat
public virtual HRESULT GetChamferValueFormat(CATDrwDimChfValFormat* oChamferValFormat) = 0
Gets the value format of the chamfer dimension. Return the encumbrancy of all generated items in view coordinates
Parameters:
const
CATDrwDimChfValFormat oChamferValFormat The value format of the chamfer dimension
Returns:
HRESULT
S_OK
Succeeded
E_FAIL
The dimension is not a chamfer dimension.
o SetChamferRepresentationType
public virtual HRESULT SetChamferRepresentationType(CATDrwDimChfRepType iChamferType) = 0
Sets the chamfer representation type of the chamfer dimension.
Parameters:
const
CATDrwDimChfRepType iChamferType Type of the chamfer dimension.
Returns:
HRESULT
S_OK
Succeeded
E_FAIL
The dimension is not a chamfer dimension
o SetChamferValueFormat
public virtual HRESULT SetChamferValueFormat(CATDrwDimChfValFormat iChamferValFormat) = 0
Sets the value format of the chamfer dimension.
Parameters:
const
CATDrwDimChfValFormat iChamferValFormat The value format of the chamfer dimension.
Returns:
HRESULT
S_OK
Succeeded
E_FAIL
The dimension is not a chamfer dimension

This object is included in the file: CATIDftDimChamfer.h
If needed, your Imakefile.mk should include the module: CATDraftingInterfaces

Copyright © 2003, Dassault Systèmes. All rights reserved.