All Frameworks  Object Hierarchy  This Framework  Previous  Next  Indexes  

AnnotationFactory (Object)

IUnknown
  |
  +---IDispatch
    |
    +---CATBaseUnknown
      |
      +---CATBaseDispatch
        |
        +---AnyObject
          |
          +---Factory
            |
            +---AnnotationFactory
 


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.

Method Index

CreateDatum
Create a Datum Feature.
CreateDatumReferenceFrame
Create a Reference Frame (DRF).
CreateDatumTarget
Create a Datum Target.
CreateEvoluateDatum
Create a Datum Feature.
CreateEvoluateText
Create a Text.
CreateFlagNote
Create a FlagNote.
CreateNonSemanticDimension
Creates a non semantic Dimension specification.
CreateRoughness
Create a Roughness.
CreateSemanticDimension
Creates a semantic Dimension specification.
CreateText
Create a Text.
CreateTextNOA
Create a "Text" NOA
CreateTextOnAnnot
Create a Text grouped to an annotation.
CreateToleranceWithDRF
Create a Tolerance With a Reference Frame DRF.
CreateToleranceWithoutDRF
Create a Tolerance Without a Reference Frame (DRF).
InstanciateNOA
Instanciate an NOA from a Reference NOA.

Methods


o Func CreateDatum(CATIAUserSurface iSurf) As CATIAAnnotation
Create a Datum Feature.
Parameters:
iSurf
User surface needed to construct the Datum Feature.
oDatum
The new created Datum Feature.
o Func CreateDatumReferenceFrame() As CATIAAnnotation
Create a Reference Frame (DRF). iType = 1 : Straightness 2 : AxisStraightness 3 : Flatness 4 : Circularity 5 : Cylindricity 6 : ProfileOfALine 7 : ProfileOfASurface 8 : Position
o Func CreateDatumTarget(CATIAUserSurface iSurf,
CATIAAnnotation iDatum) As CATIAAnnotation
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.
o Func CreateEvoluateDatum(CATIAUserSurface iSurf,
double iX,
double iY,
double iZ,
boolean iWithLeader) As CATIAAnnotation
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.
oDatum
The new created Datum Feature.
o Func CreateEvoluateText(CATIAUserSurface iSurf,
double iX,
double iY,
double iZ,
boolean iWithLeader) As CATIAAnnotation
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.
oText
The new created Text.
o Func CreateFlagNote(CATIAUserSurface iSurf) As CATIAAnnotation
Create a FlagNote.
Parameters:
iSurf
User surface needed to construct the Flag Note.
oFlagNote
The new created Flag Note.
o Func CreateNonSemanticDimension(CATIAUserSurface iSurf,
CATVariant iDimensionType,
CATVariant iLinearDimSubType) As CATIAAnnotation
Creates a non semantic Dimension specification.
Parameters:
iSurf
User surface needed to construct the Dimension.
iDimensionType
Type of the Dimension 0 : CATTPSUndefDimension 1 : CATTPSLinearDimension 2 : CATTPSAngularDimension 3 : CATTPSSecondLinearDim 4 : CATTPSChamferDimension 5 : CATTPSOrientedLinearDimension 6 : CATTPSOrientedAngularDimension
iLinearDimSubType
Sub type of LinearDimension type 0 : CATTPSDistanceDimension 1 : CATTPSDiameterDimension 2 : CATTPSRadiusDimension 3 : CATTPSThreadDimension 4 : CATTPSChamfDistDistDimension 5 : CATTPSChamfDistAngDimension
oDimension
The new created Dimension.
o Func CreateRoughness(CATIAUserSurface iSurf) As CATIAAnnotation
Create a Roughness.
Parameters:
iSurf
User surface needed to construct the Roughness.
oRoughness
The new created Roughness.
o Func CreateSemanticDimension(CATIAUserSurface iSurf,
CATVariant iType,
CATVariant iSubType) As CATIAAnnotation
Creates a semantic Dimension specification.
Parameters:
oDimension
The new created Dimension.
o Func CreateText(CATIAUserSurface iSurf) As CATIAAnnotation
Create a Text.
Parameters:
iAnnotation
Annotation on which the Text will be .
oText
The new created Text.
o Func CreateTextNOA(CATIAUserSurface iSurf) As CATIANoa
Create a "Text" NOA
Parameters:
iSurf
The user surface on which you apply the created NOA.
oNoa
The new created NOA.
o Func CreateTextOnAnnot(CATBSTR iText,
CATIAAnnotation iAnnot) As CATIAAnnotation
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.
o Func CreateToleranceWithDRF(CATVariant iIndex,
CATIAUserSurface iSurf,
CATIAAnnotation iDRF) As CATIAAnnotation
Create a Tolerance With a Reference Frame DRF. iType = 1 : Angularity
o Func CreateToleranceWithoutDRF(CATVariant iIndex,
CATIAUserSurface iSurf) As CATIAAnnotation
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
o Func InstanciateNOA(CATIANoa iNoa,
CATIAUserSurface iSurf) As CATIAAnnotation
Instanciate an NOA from a Reference NOA.
Parameters:
iNOA
Reference NOA.
iSurf
User surface needed to construct the Dimension.
oNOA
The new instanciated NOA.

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