Interface Annotation
Description
This interface represent various type of annotations such as Dimension,Note,Symbols,SetDatumTag,Surface Finish.
Direct Known Subclasses:
User Guide References:
Drawing Sheet Operations:Annotation,
Ordinate Dimensions:Annotation,
Detail Note Data:Annotation,
Cross-referencing 3D Notes and Drawing Annotations:Annotation,
Instructions:Annotation,
Combined States of a Solid:Annotation,
Annotations:Annotation,
Overview of Annotation Features:Annotation,
Creating Annotation Features:Annotation,
Redefining Annotation Features:Annotation,
Accessing Annotations:Annotation,
Accessing and Modifying Annotation Elements:Annotation,
Accessing Reference and Driven Dimensions:Annotation,
Automatic Propagation of Annotation Elements:Annotation,
Converting Annotations to Latest Version:Annotation,
Annotation Text Styles:Annotation,
Annotation Orientation:Annotation,
Baseline Dimensions:Annotation,
Annotation Associativity:Annotation,
Annotation Security:Annotation,
Accessing Set Datum Tags:Annotation,
Surface Finish Annotations:Annotation,
Symbol Annotations:Annotation,
Creating, Reading and Modifying 3D Symbols:Annotation,
Note Properties:Annotation,
Accessing Note Placement:Annotation,
Modifying 3D Note Attachments:Annotation,
Annotations: Geometric Tolerances:Annotation,
Reading Geometric Tolerances:Annotation,
Geometric Tolerance Text Style:Annotation,
Attaching the Geometric Tolerances:Annotation,
Modifying Dimensions:Annotation,
Dimension Orientation:Annotation,
Driving Dimension Annotation Elements:Annotation,
Accessing Reference and Driven Dimensions:Annotation Method Summary
void | |
| Converts annotation created before Creo 4.0 or created using deprecated APIs ProGtolCreate or ProSetdatumtagCreate. |
void | |
| Displays annotation which is temporarily undisplayed by Annotation.Undisplay(). This method must be called after making changes in an annotation. |
void | |
| Displays annotation owned by solid and shown in drawing which is temporarily undisplayed by Annotation.Undisplay(). This method must be called after making changes in an annotation. |
| |
| LICENSE: 222 |
| |
| LICENSE: 222 |
boolean | |
| Gets Security Marking option for Notes and Symbols |
| |
| LICENSE: 222 Get textstyle information of annotation. |
| |
| LICENSE: 222 Get textstyle information of annotation in specified drawing. |
boolean | |
| LICENSE: 222 |
boolean | |
| LICENSE: 222 |
boolean | |
| Checks if annotation is shown in owner or specified drawing. |
boolean | |
| Identifies if the annotation is created on or attached to a cross-sectional edge. |
boolean | |
| Returns if the annotation is created before Creo 4.0 or is created using deprecated APIs ProGtolCreate or ProSetdatumtagCreate and needs conversion. Call Annotation.ConvertLegacy() only if this API returns true. |
void | |
| LICENSE: 222 |
void | |
| Gets Security Marking option for Notes and Symbols |
void | |
| LICENSE: 222 Get textstyle information of annotation. |
void | |
| LICENSE: 222 Set textstyle information of annotation in specified drawing. |
void | |
| Show annotation owned by solid in a drawing. |
void | |
| Undisplays annotation temporarily. This method must be called before making any changes in an annotation. |
void | |
| Undisplays annotation owned by solid and shown in drawing temporarily. This method must be called before making any changes in an annotation. |
void | |
| Updates the display of the annotation, but does not actually display it anywhere. If the annotation is not currently displayed (because its hidden by layer status or inactive geometry) the text extracted from the annotation with mode pfcDIM_DISPLAY_NUMERIC may include callout symbols instead of the text shown to the user. This method will tell Creo Parametric to update the contents of the annotation to cross-reference these callout values. |
void | |
| LICENSE: 222 Updates the attachment of the drawing annotation and makes it associative to the attachment of the annotation in the 3D model. |
void | |
| LICENSE: 222 Updates the position of the drawing annotation and makes it associative to the position of the annotation in the 3D model. |
Method Detail
ShowInDrawing |
void | ShowInDrawing | |
Show annotation owned by solid in a drawing.
Exceptions thrown (but not limited to):
User Guide References:
Parameters:
DrawingView
A drawing view where annotation will be shown.
CompPath
Component path for solid owner.
Returns:
Displays annotation which is temporarily undisplayed by
Annotation.Undisplay(). This method must be called after making changes in an annotation.
Exceptions thrown (but not limited to):
User Guide References:
Returns:
DisplayInDrawing |
void | DisplayInDrawing | |
Displays annotation owned by solid and shown in drawing which is temporarily undisplayed by
Annotation.Undisplay(). This method must be called after making changes in an annotation.
Exceptions thrown (but not limited to):
User Guide References:
Parameters:
DrawingModel
Drawing where annotation is shown.
DrawingView
Drawing view where annotation is temporarily displayed. Pass null to toggle in existing view.
CompPath
Component path of solid owner.
Returns:
Undisplay |
void | Undisplay | () |
Undisplays annotation temporarily. This method must be called before making any changes in an annotation.
Exceptions thrown (but not limited to):
User Guide References:
Returns:
UndisplayInDrawing |
void | UndisplayInDrawing | |
Undisplays annotation owned by solid and shown in drawing temporarily. This method must be called before making any changes in an annotation.
Exceptions thrown (but not limited to):
User Guide References:
Parameters:
DrawingModel
Drawing view where annotation is shown.
CompPath
Component path of solid owner.
Returns:
Checks if annotation is shown in owner or specified drawing.
Exceptions thrown (but not limited to):
Parameters:
DrawingModel
Drawing.
Returns:
Updates the display of the annotation, but does not actually display it anywhere. If the annotation is not currently displayed (because its hidden by layer status or inactive geometry) the text extracted from the annotation with mode pfcDIM_DISPLAY_NUMERIC may include callout symbols instead of the text shown to the user. This method will tell Creo Parametric to update the contents of the annotation to cross-reference these callout values.
This method currently supports '3D model notes' and 'detail notes' only.
User Guide References:
Parameters:
DrawingModel
The drawing where it is to be displayed. Pass null if the owner of the annotation is the same as the model where it would be displayed.
Returns:
GetTextStyle |
| GetTextStyle | () |
Get textstyle information of annotation.
Exceptions thrown (but not limited to):
XToolkitAmbiguous - Multiple shown versions of the annotation were found with different text styles.
User Guide References:
Returns:
TextStyle.
SetTextStyle |
void | SetTextStyle | |
Get textstyle information of annotation.
Exceptions thrown (but not limited to):
User Guide References:
Parameters:
TextStyle
TextStyle
Returns:
GetTextStyleInDrawing |
| GetTextStyleInDrawing | |
Get textstyle information of annotation in specified drawing.
Exceptions thrown (but not limited to):
XToolkitAmbiguous - Multiple shown versions of the annotation were found with different text styles.
User Guide References:
Parameters:
Drawing
Drawing.
CompPath
Component path of owner solid.
View
Reserved for future expansion. Pass null.
Returns:
TextStyle
SetTextStyleInDrawing |
void | SetTextStyleInDrawing | |
Set textstyle information of annotation in specified drawing.
Exceptions thrown (but not limited to):
User Guide References:
Parameters:
TextStyle
TextStyle.
Drawing
Drawing.
CompPath
Component path of owner solid.
View
Reserved for future expansion. Pass null.
Returns:
UpdateAttachment |
void | UpdateAttachment | |
Updates the attachment of the drawing annotation and makes it associative to the attachment of the annotation in the 3D model.
Exceptions thrown (but not limited to):
User Guide References:
Parameters:
Drawing
The drawing
Returns:
UpdatePosition |
void | UpdatePosition | |
Updates the position of the drawing annotation and makes it associative to the position of the annotation in the 3D model.
Exceptions thrown (but not limited to):
User Guide References:
Parameters:
Drawing
The drawing
Returns:
IsAssociative |
boolean | IsAssociative | |
Exceptions thrown (but not limited to):
User Guide References:
Parameters:
Drawing
Returns:
GetAttachmentAssociativity |
| GetAttachmentAssociativity | |
Exceptions thrown (but not limited to):
User Guide References:
Parameters:
Drawing
Returns:
GetAnnotationElement |
| GetAnnotationElement | () |
Exceptions thrown (but not limited to):
XToolkitNotExist - The annotation element owner of the annotation does not exist.
User Guide References:
Returns:
IsInactive |
boolean | IsInactive | () |
Exceptions thrown (but not limited to):
User Guide References:
Returns:
Rotate |
void | Rotate | (double Angle) |
Exceptions thrown (but not limited to):
User Guide References:
Parameters:
Angle
Returns:
ConvertLegacy |
void | ConvertLegacy | () |
Converts annotation created before Creo 4.0 or created using deprecated APIs ProGtolCreate or ProSetdatumtagCreate.
Exceptions thrown (but not limited to):
User Guide References:
Returns:
NeedsConversion |
boolean | NeedsConversion | () |
Returns if the annotation is created before Creo 4.0 or is created using deprecated APIs ProGtolCreate or ProSetdatumtagCreate and needs conversion. Call
Annotation.ConvertLegacy() only if this API returns true.
User Guide References:
Returns:
TRUE if the annotation needs conversion FALSE if the annotation is already converted
GetSecurityMarking |
boolean | GetSecurityMarking | () |
Gets Security Marking option for Notes and Symbols
User Guide References:
Returns:
If true then specified annotation is marked for security check
SetSecurityMarking |
void | SetSecurityMarking | (boolean Marking) |
Gets Security Marking option for Notes and Symbols
User Guide References:
Parameters:
Marking
True if the annotation refers a cross-section geometry.
Returns:
IsUsingXSecReference |
boolean | IsUsingXSecReference | () |
Identifies if the annotation is created on or attached to a cross-sectional edge.
User Guide References:
Returns:
True if the annotation refers a cross-section geometry.