All Frameworks  Class Hierarchy  This Framework  Indexes   

DraftingInterfaces Interface 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 AddReferenceValue( const iRowNumber,
const iReferenceNumber,
oValue)
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 AddToleranceValue( const iRowNumber,
oValue)
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 GetReferenceNumber( const iRowNumber,
oRefNumber)
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 GetRowNumber( oRowNumber)
Returns the number of lines in the GDT.
o GetTextRange
public virtual GetTextRange( const iRowNumber,
const iNumber,
oValue)
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 GetToleranceType( const iRowNumber,
oSymbol)
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 RemoveReference( const iRowNumber,
const iReferenceNumber)
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 SetToleranceType( const iRowNumber,
iGDTSymbol)
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.