All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

DraftingInterfaces Interface CATIDrwGDT

System.IUnknown
  |
  +---System.IDispatch
    |
    +---System.CATBaseUnknown
      |
      +---DraftingInterfaces.CATIDrwAnnotation
        |
        +---DraftingInterfaces.CATIDrwAnnotationComponent
          |
          +---CATIDrwGDT
 

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


interface CATIDrwGDT

Interface on GDT objects.


Method Index


o AddGDTReference(int,CATUnicodeString,CATDrwGDTModifier)
Add a reference box at the end of a row of a GDT.
o DelGDTReference(int,int)
Remove an existing reference box in a row of a GDT.
o GetGDTReference(int,int,CATUnicodeString&,CATDrwGDTModifier&)
Get a reference box in a row of a GDT.
o GetGDTReferenceNumber(int)
Returns the number of reference boxes in a row of the GDT.
o GetGDTRowNumber()
Returns the number of row of the GDT.
o GetGDTTolerance(int,CATDrwGDTValueType&,CATUnicodeString&,CATDrwGDTModifier&)
Get the GDT tolerance box.
o GetGDTToleranceType(int)
Get the symbol of a row in a GDT.
o SetGDTReference(int,int,CATUnicodeString&,CATDrwGDTModifier&)
Set an existing reference box in a row of a GDT.
o SetGDTTolerance(int,CATDrwGDTValueType,CATUnicodeString,CATDrwGDTModifier)
Set the GDT tolerance box.
o SetGDTToleranceType(int,CATDrwGDTSymbol)
Set the symbol of a row in a GDT.

Methods


o AddGDTReference
public virtual void AddGDTReference(int iRowNumber,
CATUnicodeString iDatum,
CATDrwGDTModifier iModifier) = 0
Add a reference box at the end of a row of a GDT.
Parameters:
iRowNumber
The row to set.
iDatum
The reference text.
iModifier
The modifier on the datum (least material, etc...). See definition in CATDrwGDTDef
o DelGDTReference
public virtual void DelGDTReference(int iRowNumber,
int iReferenceNumber)=0
Remove an existing reference box in a row of a GDT.
Parameters:
iRowNumber
The row number.
iReferenceNumber
The reference to delete.
o GetGDTReference
public virtual void GetGDTReference(int iRowNumber,
int iReferenceNumber,
CATUnicodeString& oDatum,
CATDrwGDTModifier& oModifier) = 0
Get a reference box in a row of a GDT.
Parameters:
iRowNumber
The row to set.
iReferenceNumber
The reference to modify.
oDatum
The new reference text.
oModifier
The new modifier on the datum (least material, etc...). See definition in CATDrwGDTDef
o GetGDTReferenceNumber
public virtual int GetGDTReferenceNumber(int iRowNumber) = 0
Returns the number of reference boxes in a row of the GDT.
Parameters:
iRowNumber
The row to analyse.
o GetGDTRowNumber
public virtual int GetGDTRowNumber()= 0
Returns the number of row of the GDT.
o GetGDTTolerance
public virtual void GetGDTTolerance(int iRowNumber,
CATDrwGDTValueType& oValueType,
CATUnicodeString& oValue,
CATDrwGDTModifier& oModifier)= 0
Get the GDT tolerance box.
The tolerance box is the first box after the symbol box.
Parameters:
iRowNumber
The row to set.
oValueType
The type of the tolerance value (unspec/diameter/radius).
oValue
The tolerance value.
oModifier
The modifier on the value (least material, etc...). See definition in CATDrwGDTDef
o GetGDTToleranceType
public virtual CATDrwGDTSymbol GetGDTToleranceType(int iRowNumber) = 0
Get the symbol of a row in a GDT.
Parameters:
iRowNumber
The row to set.
Returns:
The symbol in use. See definition in CATDrwGDTDef
o SetGDTReference
public virtual void SetGDTReference(int iRowNumber,
int iReferenceNumber,
CATUnicodeString& iDatum,
CATDrwGDTModifier& iModifier)=0
Set an existing reference box in a row of a GDT.
Parameters:
iRowNumber
The row to set.
iReferenceNumber
The reference to modify.
iDatum
The new reference text.
iModifier
The new modifier on the datum (least material, etc...). See definition in CATDrwGDTDef
o SetGDTTolerance
public virtual void SetGDTTolerance(int iRowNumber,
CATDrwGDTValueType iValueType,
CATUnicodeString iValue,
CATDrwGDTModifier iModifier)= 0
Set the GDT tolerance box.
The tolerance box is the first box after the symbol box.
Parameters:
iRowNumber
The row to set.
iValueType
The type of the tolerance value (unspec/diameter/radius).
iValue
The tolerance value.
iModifier
The modifier on the value (least material, etc...). See definition in CATDrwGDTDef
o SetGDTToleranceType
public virtual void SetGDTToleranceType(int iRowNumber,
CATDrwGDTSymbol iGDTSymbol) = 0
Set the symbol of a row in a GDT.
Parameters:
iRowNumber
The row to set.
iGDTSymbol
The symbol to use. See definition in CATDrwGDTDef

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

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