All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

DraftingInterfaces Interface CATIDftGDT

System.IUnknown
  |
  +---DraftingInterfaces.CATIDftAnnotation
    |
    +---CATIDftGDT
 

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


interface CATIDftGDT

This interface give access to GDT parameters.


Method Index


o AddReferenceValue(int,int,CATIDftTextRange**)
Returns the CATIDftTextRange of reference value.
o AddToleranceValue(int,CATIDftTextRange**)
Returns the CATIDftTextRange of tolerance value.
o GetReferenceNumber(int,int*)
Returns the number of references in a row of the GDT.
o GetRowNumber(int*)
Returns the number of lines in the GDT.
o GetTextRange(int,int,CATIDftTextRange**)
Returns the CATIDftTextRange of tolerance value and reference value.
o GetToleranceType(int,DftGDTSymbol*)
Returens the symbol used in the row of the GDT.
o RemoveReference(int,int)
Deletes a reference box on a GDT row.
o SetToleranceType(int,DftGDTSymbol)
Sets the symbol used in the row of the GDT.

Methods


o AddReferenceValue
public virtual HRESULT AddReferenceValue( const int iRowNumber,
const int iReferenceNumber,
CATIDftTextRange** oValue)= 0
Returns the CATIDftTextRange of reference value.
Parameters:
iRowNumber
The number of the row to analyse
iReferenceNumber
The modifier to analyse in this row.
oValue
The string of the reference value. See also CATIDftTextRange
o AddToleranceValue
public virtual HRESULT AddToleranceValue( const int iRowNumber,
CATIDftTextRange** oValue)= 0
Returns the CATIDftTextRange of tolerance value.
Parameters:
iRowNumber
The number of the row to analyse
oValue
The string of the tolerance value. See also CATIDftTextRange
o GetReferenceNumber
public virtual HRESULT GetReferenceNumber( const int iRowNumber,
int* oRefNumber)= 0
Returns the number of references in a row of the GDT.
Parameters:
iRowNumber
The number of the row to analyse.
oRefNumber
The number of references in this row.
o GetRowNumber
public virtual HRESULT GetRowNumber(int* oRowNumber)= 0
Returns the number of lines in the GDT.
o GetTextRange
public virtual HRESULT GetTextRange( const int iRowNumber,
const int iNumber,
CATIDftTextRange** oValue)= 0
Returns the CATIDftTextRange of tolerance value and reference value.
Parameters:
iRowNumber
The number of the row to analyse If iRowNumber equals 0 to analyse upper text or lower text. If iRowNumber is greater than 0 analyse tolerance value or reference value.
iNumber
The modifier to analyse in this row: If iRowNumber equals 0 and iNumber = 0 represent upper text If iRowNumber equals 0 and iNumber = 1 represent lower text If iRowNumber is greater than 0 and iNumber equals 0 to analyse tolerance value If iRowNumber is greater than 0 and iNumber is greater than 0 to analyse reference value.
oValue
The string which is specified. If there is no textrange which is corresponded above, then NULL is given back. See also CATIDftTextRange
o GetToleranceType
public virtual HRESULT GetToleranceType( const int iRowNumber,
DftGDTSymbol* oSymbol)= 0
Returens the symbol used in the row of the GDT.
Parameters:
iRowNumber
The number of the row to analyze.
oSymbol
The symbol in this row. See also DftGDTSymbol
o RemoveReference
public virtual HRESULT RemoveReference( const int iRowNumber,
const int iReferenceNumber)= 0
Deletes a reference box on a GDT row.
Parameters:
iRowNumber
The number of the row
iReferenceNumber
The modifier to delete in this row.
o SetToleranceType
public virtual HRESULT SetToleranceType( const int iRowNumber,
DftGDTSymbol iGDTSymbol)= 0
Sets the symbol used in the row of the GDT.
Parameters:
iRowNumber
The number of the row analyse.
iGDTSymbol
The symbol to use in this row. See also DftGDTSymbol

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

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