CATAnnotationUseItf Interface CATIDrwDimTolerance

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


interface CATIDrwDimTolerance

Manages the dimension tolerance.


Method Index


o GetDisplayMode()
Gets the tolerance display mode.
o GetFormat()
Gets the tolerance format.
o GetLabel(CATUnicodeString&)
Gets the tolerance name.
o GetLowerValue()
Gets the tolerance lower value.
o GetToleranceType()
Gets the tolerance type.
o GetUpperValue()
Gets the tolerance upper value.
o SetDisplayMode(int)
Sets the tolerance display mode.
o SetLabel(CATUnicodeString)
Sets the tolerance name.
o SetLowerValue(double)
Sets the tolerance lower value.
o SetToleranceType(int)
Sets the tolerance type.
o SetUpperValue(double)
Sets the tolerance upper value.

Methods


o GetDisplayMode
public virtual GetDisplayMode()
Gets the tolerance display mode.
Returns:
Display mode.
Legal values are: (see define definition file)
  1. Alphanumerical::
    CATDrwDimTolFractional
    Fractional.
    CATDrwDimTolSideBySide
    Side by side.
  2. Numerical::
    CATDrwDimTolUnresolved
    Unresolved (ex: 10 +/-0.25).
    CATDrwDimTolResolved
    Resolved (ex: 9.75 , 10.25).
o GetFormat
public virtual GetFormat()
Gets the tolerance format.
Returns:
Format.
o GetLabel
public virtual GetLabel( oDescr)
Gets the tolerance name.
o GetLowerValue
public virtual GetLowerValue()
Gets the tolerance lower value.
Returns:
Lower value.
o GetToleranceType
public virtual GetToleranceType()
Gets the tolerance type.
Returns:
Tolerance type (see define definition file).
Legal values are:
CATDrwDimTolNone
No tolerance.
CATDrwDimTolNumerical
Numerical tolerance.
CATDrwDimTolAlphaNumerical
AlphaNumerical tolerance.
CATDrwDimTolISOComb
Multi-tolerance.
o GetUpperValue
public virtual GetUpperValue()
Gets the tolerance upper value.
Returns:
Upper value.
o SetDisplayMode
public virtual SetDisplayMode( const displayMode)
Sets the tolerance display mode.
Parameters:
displayMode
Display mode.
Legal values are: (see define definition file)
  1. Alphanumerical::
    CATDrwDimTolFractional
    Fractional.
    CATDrwDimTolSideBySide
    Side by side.
  2. Numerical::
    CATDrwDimTolUnresolved
    Unresolved (ex: 10 +/-0.25).
    CATDrwDimTolResolved
    Resolved (ex: 9.75 , 10.25).
Notes: Numeric tolerance values can not be different on main value and dual value. Only tolerance name may be changed.
o SetLabel
public virtual SetLabel( name)
Sets the tolerance name.
o SetLowerValue
public virtual SetLowerValue( const iLowerValue)
Sets the tolerance lower value.
Parameters:
iLowerValue
Lower value.
o SetToleranceType
public virtual SetToleranceType( ToleranceType)
Sets the tolerance type.
Parameters:
ToleranceType
Tolerance type (see define definition file).
Legal values are:
CATDrwDimTolNone
No tolerance.
CATDrwDimTolNumerical
Numerical tolerance.
CATDrwDimTolAlphaNumerical
AlphaNumerical tolerance.
CATDrwDimTolISOComb
Multi-tolerance.
o SetUpperValue
public virtual SetUpperValue( const iUpperValue)
Sets the tolerance upper value.
Parameters:
iUpperValue
Upper value.

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

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