CATAnnotationUseItf Interface 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:


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 GetChamferRepresentationType( oChamferType)
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 GetChamferValueFormat( oChamferValFormat)
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 SetChamferRepresentationType( iChamferType)
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 SetChamferValueFormat( iChamferValFormat)
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: CATAnnotationUseItf

Copyright © 1999-2014, Dassault Systèmes. All rights reserved.