Class wfcAnnotation
Description
This interface represent various type of annotations such as Dimension,Note,Symbols,SetDatumTag,Surface Finish.
Direct Known Subclasses:
User Guide References:
Annotation Features and Annotations:wfcAnnotation,
Ordinate Dimensions:wfcAnnotation,
Combined States of a Solid:wfcAnnotation,
Creating Annotation Features:wfcAnnotation,
Redefining Annotation Features:wfcAnnotation,
Accessing Annotations:wfcAnnotation,
Accessing and Modifying Annotation Elements:wfcAnnotation,
Accessing Reference and Driven Dimensions:wfcAnnotation,
Converting Annotations to Latest Version:wfcAnnotation,
Annotation Text Styles:wfcAnnotation,
Annotation Orientation:wfcAnnotation,
Baseline Dimensions:wfcAnnotation,
Annotation Associativity:wfcAnnotation,
Annotation Security:wfcAnnotation,
Accessing Set Datum Tags:wfcAnnotation,
Surface Finish Annotations:wfcAnnotation,
Attaching the Geometric Tolerances:wfcAnnotation 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 wfcAnnotation::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 wfcAnnotation::Undisplay(). This method must be called after making changes in an annotation. |
| |
| |
| |
| LICENSE: 222 |
| |
| |
| |
| LICENSE: 222 |
| |
| |
| |
| Get the designate type of the annotation. |
| |
| |
| |
| Get all offset symbol instances associated with the annotation. |
| |
| |
| |
| Check if child annotation inherits references from parent. |
| |
| |
| |
| 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. |
| |
| |
| |
| LICENSE: 222 |
| |
| |
| |
| LICENSE: 222 |
| |
| |
| |
| Checks if specified reference is an inherited annotation reference. |
| |
| |
| |
| Checks if annotation is shown in owner or specified drawing. |
| |
| |
| |
| Identifies if the annotation is created on or attached to a cross-sectional edge. |
| |
| |
| |
| Returns if the annotation is created before Creo 4.0 or is created using deprecated APIs ProGtolCreate or ProSetdatumtagCreate and needs conversion. Call wfcAnnotation::ConvertLegacy() only if this API returns true. |
void | |
| |
| |
| LICENSE: 222 |
void | |
| |
| |
| Sets the annotation as designate with specified type. |
void | |
| |
| |
| Set if child annotation can inherit references from parent. |
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
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
wfcAnnotation::Undisplay(). This method must be called after making changes in an annotation.
Exceptions thrown (but not limited to):
User Guide References:
Returns:
Displays annotation owned by solid and shown in drawing which is temporarily undisplayed by
wfcAnnotation::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:
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:
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:
LICENSE: 222
Get textstyle information of annotation.
Exceptions thrown (but not limited to):
pfcXToolkitAmbiguous - Multiple shown versions of the annotation were found with different text styles.
User Guide References:
Returns:
TextStyle.
LICENSE: 222
Get textstyle information of annotation.
Exceptions thrown (but not limited to):
User Guide References:
Parameters:
TextStyle
TextStyle
Returns:
LICENSE: 222
Get textstyle information of annotation in specified drawing.
Exceptions thrown (but not limited to):
pfcXToolkitAmbiguous - 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
void | SetTextStyleInDrawing | |
LICENSE: 222
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:
LICENSE: 222
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:
LICENSE: 222
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:
LICENSE: 222
Exceptions thrown (but not limited to):
User Guide References:
Parameters:
Drawing
Returns:
| GetAttachmentAssociativity | |
LICENSE: 222
Exceptions thrown (but not limited to):
User Guide References:
Parameters:
Drawing
Returns:
LICENSE: 222
Exceptions thrown (but not limited to):
User Guide References:
Returns:
LICENSE: 222
Exceptions thrown (but not limited to):
User Guide References:
Returns:
LICENSE: 222
Exceptions thrown (but not limited to):
User Guide References:
Parameters:
Angle
Returns:
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:
Returns if the annotation is created before Creo 4.0 or is created using deprecated APIs ProGtolCreate or ProSetdatumtagCreate and needs conversion. Call
wfcAnnotation::ConvertLegacy() only if this API returns true.
User Guide References:
Returns:
TRUE if the annotation needs conversion FALSE if the annotation is already converted
Gets Security Marking option for Notes and Symbols
User Guide References:
Returns:
If true then specified annotation is marked for security check
Gets Security Marking option for Notes and Symbols
User Guide References:
Parameters:
Marking
True if the annotation refers a cross-section geometry.
Returns:
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.
Get all offset symbol instances associated with the annotation.
Exceptions thrown (but not limited to):
Parameters:
Drawing
Top drawing where symbols exist.
Returns:
Array of associated symbol instances.
User Guide References:
Sets the annotation as designate with specified type.
Exceptions thrown (but not limited to):
Parameters:
Designate
The designate type to set.
Returns:
User Guide References:
Get the designate type of the annotation.
Exceptions thrown (but not limited to):
Returns:
The designate type.
User Guide References:
Check if child annotation inherits references from parent.
Exceptions thrown (but not limited to):
Returns:
True if child annotation inherits references.
User Guide References:
Set if child annotation can inherit references from parent.
Exceptions thrown (but not limited to):
Parameters:
Inherit
True to inherit references from parent.
Returns:
User Guide References:
Checks if specified reference is an inherited annotation reference.
Exceptions thrown (but not limited to):
Parameters:
Reference
The annotation reference to check.
Returns:
True if the reference is inherited.
User Guide References: