AnnotationFactory2 (Object)

Interface for the TPS Factory.
This factory is implemented on the Set object. All the created specifications are added to the Set from which this interface is retrieved.

Methods


Func CreateCoordDimension( iSurf) As
Create a Coordinate Dimension
Parameters:
iSurf
The user surface on which you apply the new Coordinate Dimension.
oCoorddimension
The new created Coordinate dimension Feature.
Func CreateDatum( iSurf) As
Create a Datum Feature.
Parameters:
iSurf
User surface needed to construct the Datum Feature.
oDatum
The new created Datum Feature.
Func CreateDatumReferenceFrame() As
Create a Reference Frame (DRF). iType = 1 : Straightness 2 : AxisStraightness 3 : Flatness 4 : Circularity 5 : Cylindricity 6 : ProfileOfALine 7 : ProfileOfASurface 8 : Position
Func CreateDatumTarget( iSurf, iDatum) As
Create a Datum Target.
Parameters:
iSurf
User surface needed to construct the Datum Target.
iDatum
Datume Feature that is in relatino with the Datum Target.
oDatum
The new created Datum Target.
Func CreateDittoNOA( iSurf, iNOAType, iDitto, iStickToGeometryOption) As
Create a "Ditto" NOA
Parameters:
iSurf
The user surface on which you apply the created NOA.
iNOAType
Type of the created NOA; this string defines the Type of Noa. This type can be filtered using the Filter command.
iDitto
The drawing component selected to provide NOA display.
iStickToGeometryOption
This flag is TRUE to tell the factory that Stick Ditto perpendicularly to geometry option is selected. In this case, the ditto is instantiated without frame or leader and its origin point is stuck and set on the selected geometry. In addition, the default anchor point position is the middle center. This argument is to be set to FALSE if leader attachment to point out geometry is expected.
oNoa
The new created NOA.
Func CreateEvoluateDatum( iSurf, iX, iY, iZ, iWithLeader) As
Create a Datum Feature.
Parameters:
iSurf
User surface needed to construct the Datum Feature.
iX
X coordinate.
iY
Y coordinate.
iZ
Z coordinate.
iWithLeader
Create or not a leader on the annotation. If the leader is requested: The activated TPSView shall not be parallel to the surface pointed by the annotation Datum. If the activated TPSView is parallel to the surface pointed: - The leader will be disconnected - The extremity of the leader will be positioned at the origin of the part - The annotation Datum is created but its status will be KO.
oDatum
The new created Datum Feature.
Func CreateEvoluateText( iSurf, iX, iY, iZ, iWithLeader) As
Create a Text.
Parameters:
iSurf
User surface needed to construct the Text.
iX
X coordinate.
iY
Y coordinate.
iZ
Z coordinate.
iWithLeader
Create or not a leader on the annotation. If the leader is requested: The activated TPSView shall not be parallel to the surface pointed by the annotation Text. If the activated TPSView is parallel to the surface pointed: - The leader will be disconnected - The extremity of the leader will be positioned at the origin of the part - The annotation Text is created but its status will be KO.
oText
The new created Text.
Func CreateFlagNote( iSurf) As
Create a FlagNote.
Parameters:
iSurf
User surface needed to construct the Flag Note.
oFlagNote
The new created Flag Note.
Func CreateGDT( iSurf) As
Create a GDT
Parameters:
iSurf
The user surface on which you apply the new GDT.
oGDT
The new created GDT Feature.
Func CreateNonSemanticDimension( iSurf, iType, iSubType) As
Creates a non semantic Dimension specification.
Parameters:
iSurf
User surface needed to construct the Dimension.
iSubType
: 1 CATTPSDiameterDimension 2 CATTPSRadiusDimension
iType
: 1 Linear Dimension 2 Angular Dimension 3 Second Linear Dim (Small diameter/radius for torus)
oDimension
The new created Dimension.
Func CreateRoughness( iSurf) As
Create a Roughness.
Parameters:
iSurf
User surface needed to construct the Roughness.
oRoughness
The new created Roughness.
Func CreateSemanticDimension( iSurf, iType, iSubType) As
Creates a semantic Dimension specification.
Parameters:
oDimension
The new created Dimension.
Func CreateText( iSurf) As
Create a Text.
Parameters:
iSurf
User surface needed to construct the Text.
oText
The new created Text.
Func CreateTextNOA( iSurf) As
Create a "Text" NOA
Parameters:
iSurf
The user surface on which you apply the created NOA.
oNoa
The new created NOA.
Func CreateTextNoteObjectAttribute( iSurf, iNOAType) As
Create a "Text" NOA
Parameters:
iSurf
The user surface on which you apply the created NOA.
iNOAType
Type of the created NOA; this string defines the Type of Noa. This type can be filtered using the Filter command.
oNoa
The new created NOA.
Func CreateTextOnAnnot( iText, iAnnot) As
Create a Text grouped to an annotation.
Parameters:
iText
Character string that makes up the text.
iAnnot
Annotation reference needed to group the Text.
oText
The new created Text.
Func CreateToleranceWithDRF( iIndex, iSurf, iDRF) As
Create a Tolerance With a Reference Frame DRF. iType = 1 : Angularity
Func CreateToleranceWithoutDRF( iIndex, iSurf) As
Create a Tolerance Without a Reference Frame (DRF). iType = 1 : Straightness 2 : AxisStraightness 3 : Flatness 4 : Circularity 5 : Cylindricity 6 : ProfileOfALine 7 : ProfileOfASurface 8 : Position
Func CreateWeld( iSurf) As
Create a Weld
Parameters:
iSurf
The user surface on which you apply the new Weld.
oWeld
The new created Weld Feature.
Func InstanciateNOA( iNoa, iSurf) As
Instanciate an NOA from a Reference NOA.
Parameters:
iNOA
Reference NOA.
iSurf
User surface needed to construct the Dimension.
oNOA
The new instanciated NOA.