| Library | Package | Frames | Expand | Java Toolkit |
| Method Summary | |
|---|---|
| void | ConvertLegacy
()
Converts annotation created before Creo 4.0 or created using deprecated APIs ProGtolCreate or ProSetdatumtagCreate. |
| void | Display
()
Displays annotation which is temporarily undisplayed by Annotation.Undisplay(). This method must be called after making changes in an annotation. |
| void | DisplayInDrawing
(Drawing DrawingModel,
/*optional*/
View2D DrawingView,
/*optional*/
ComponentPath CompPath)
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. |
| /*optional*/ AnnotationElement | GetAnnotationElement
()
LICENSE: 222 |
| AnnotationAttachmentAssociativity | GetAttachmentAssociativity
(Drawing Drawing)
LICENSE: 222 |
| boolean | GetSecurityMarking
()
Gets Security Marking option for Notes and Symbols |
| /*optional*/ AnnotationTextStyle | GetTextStyle
()
LICENSE: 222 Get textstyle information of annotation. |
| /*optional*/ AnnotationTextStyle | GetTextStyleInDrawing
(Drawing Drawing,
/*optional*/
ComponentPath CompPath,
/*optional*/
View2D View)
LICENSE: 222 Get textstyle information of annotation in specified drawing. |
| boolean | IsAssociative
(Drawing Drawing)
LICENSE: 222 |
| boolean | IsInactive
()
LICENSE: 222 |
| boolean | IsShown
(
/*optional*/
Drawing DrawingModel)
Checks if annotation is shown in owner or specified drawing. |
| boolean | IsUsingXSecReference
()
Identifies if the annotation is created on or attached to a cross-sectional edge. |
| 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. |
| void | Rotate
(double Angle)
LICENSE: 222 |
| void | SetSecurityMarking
(boolean Marking)
Gets Security Marking option for Notes and Symbols |
| void | SetTextStyle
(AnnotationTextStyle TextStyle)
LICENSE: 222 Get textstyle information of annotation. |
| void | SetTextStyleInDrawing
(AnnotationTextStyle TextStyle, Drawing Drawing,
/*optional*/
ComponentPath CompPath,
/*optional*/
View2D View)
LICENSE: 222 Set textstyle information of annotation in specified drawing. |
| void | ShowInDrawing
(View2D DrawingView,
/*optional*/
ComponentPath CompPath)
Show annotation owned by solid in a drawing. |
| void | Undisplay
()
Undisplays annotation temporarily. This method must be called before making any changes in an annotation. |
| void | UndisplayInDrawing
(Drawing DrawingModel,
/*optional*/
ComponentPath CompPath)
Undisplays annotation owned by solid and shown in drawing temporarily. This method must be called before making any changes in an annotation. |
| void | Update
(
/*optional*/
Drawing DrawingModel)
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 | UpdateAttachment
(Drawing Drawing)
LICENSE: 222 Updates the attachment of the drawing annotation and makes it associative to the attachment of the annotation in the 3D model. |
| void | UpdatePosition
(Drawing Drawing)
LICENSE: 222 Updates the position of the drawing annotation and makes it associative to the position of the annotation in the 3D model. |
| Methods Inherited from Interface com.ptc.wfc.wfcLayerState.LayerItem |
|---|
| IsLayerItemVisible, RemoveNoUpdate, GetLayers, AddNoUpdate |
| Methods Inherited from Interface com.ptc.pfc.pfcBase.ActionSource |
|---|
| AddActionListener, RemoveActionListener, AddActionListenerWithType |
| Methods Inherited from Interface com.ptc.pfc.pfcObject.Parent |
|---|
| GetChild |
| Methods Inherited from Interface com.ptc.pfc.pfcModelItem.ParameterOwner |
|---|
| GetParam, CreateParam, ListParams, SelectParam, CreateParamWithUnits, SelectParameters |
| Methods Inherited from Interface com.ptc.wfc.wfcModelItem.WParameterOwner |
|---|
| ExportParameterTable, ApplyParameterTableset, MathcadParametersSet, MathcadInputParametersGet |
| Methods Inherited from Interface com.ptc.pfc.pfcModelItem.RelationOwner |
|---|
| DeleteRelations, GetRelations, SetRelations, RegenerateRelations, EvaluateExpression |
| Methods Inherited from Interface com.ptc.wfc.wfcModelItem.WRelationOwner |
|---|
| GetRelationConstraints, UnitsUsed, UseUnits, EvaluateExpressionWithUnits |
| Methods Inherited from Interface com.ptc.pfc.pfcObject.Child |
|---|
| GetDBParent, GetOId |
| Methods Inherited from Interface com.ptc.pfc.pfcModelItem.ModelItem |
|---|
| GetName, SetName, GetId, GetType |
| Methods Inherited from Interface com.ptc.wfc.wfcModelItem.WModelItem |
|---|
| DeleteUserDefinedName, Unhide, Hide, IsHidden, IsNameReadOnly, IsZoneFeature, GetDefaultName |
| Method Detail |
|---|
| ShowInDrawing |
|---|
| void | ShowInDrawing | (View2D DrawingView, /*optional*/ ComponentPath CompPath) |
| Show annotation owned by solid in a drawing. Exceptions thrown (but not limited to): XToolkitNoChange - The annotation is already shown in the target model. XToolkitInvalidMatrix - The annotation cannot be shown due to orientation conflicts in the view. XToolkitNoLicense - License check failure. XToolkitNotDisplayed - Annotation is present on hidden or blank layer and so can't be shown.
|
| Display |
|---|
| void | Display | () |
|
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): XToolkitInvalidMatrix - The annotation cannot be shown due to orientation conflicts in theview. XToolkitNoLicense - License check failure. XToolkitNotDisplayed - Annotation is present on hidden or blank layer and so can't be shown.
|
| DisplayInDrawing |
|---|
| void | DisplayInDrawing | (Drawing DrawingModel, /*optional*/ View2D DrawingView, /*optional*/ ComponentPath CompPath) |
|
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): XToolkitInvalidMatrix - The annotation cannot be shown due to orientation conflicts in theview. XToolkitNoLicense - License check failure. XToolkitNotDisplayed - Annotation is present on hidden or blank layer and so can't be shown.
|
| Undisplay |
|---|
| void | Undisplay | () |
|
Undisplays annotation temporarily.
This method must be called before making any changes in an annotation.
Exceptions thrown (but not limited to): XToolkitNoLicense - License check failure.
|
| UndisplayInDrawing |
|---|
| void | UndisplayInDrawing | (Drawing DrawingModel, /*optional*/ ComponentPath CompPath) |
|
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): XToolkitNoLicense - License check failure.
|
| IsShown |
|---|
| boolean | IsShown | ( /*optional*/ Drawing DrawingModel) |
| Checks if annotation is shown in owner or specified drawing. Exceptions thrown (but not limited to): XToolkitNoLicense - License check failure.
|
| Update |
|---|
| void | Update | ( /*optional*/ Drawing DrawingModel) |
| 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.
|
| GetTextStyle |
|---|
| /*optional*/ AnnotationTextStyle | GetTextStyle | () |
| Get textstyle information of annotation. Exceptions thrown (but not limited to): XToolkitNotFound - No shown version of annotation was found in the drawing XToolkitAmbiguous - Multiple shown versions of the annotation were found with different text styles.
|
| SetTextStyle |
|---|
| void | SetTextStyle | (AnnotationTextStyle TextStyle) |
| Get textstyle information of annotation. Exceptions thrown (but not limited to): XToolkitNotFound - No shown version of annotation was found in the drawing
|
| GetTextStyleInDrawing |
|---|
| /*optional*/ AnnotationTextStyle | GetTextStyleInDrawing | (Drawing Drawing, /*optional*/ ComponentPath CompPath, /*optional*/ View2D View) |
| Get textstyle information of annotation in specified drawing. Exceptions thrown (but not limited to): XToolkitNotFound - No shown version of annotation was found in the drawing XToolkitAmbiguous - Multiple shown versions of the annotation were found with different text styles.
|
| SetTextStyleInDrawing |
|---|
| void | SetTextStyleInDrawing | (AnnotationTextStyle TextStyle, Drawing Drawing, /*optional*/ ComponentPath CompPath, /*optional*/ View2D View) |
| Set textstyle information of annotation in specified drawing. Exceptions thrown (but not limited to): XToolkitNotFound - No shown version of annotation was found in the drawing
|
| UpdateAttachment |
|---|
| void | UpdateAttachment | (Drawing Drawing) |
| 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): XToolkitNotFound - The annotation is not shown in the drawing.
|
| UpdatePosition |
|---|
| void | UpdatePosition | (Drawing Drawing) |
| 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): XToolkitNotFound - The annotation is not shown in the drawing.
|
| IsAssociative |
|---|
| boolean | IsAssociative | (Drawing Drawing) |
| Exceptions thrown (but not limited to): XToolkitNotFound - The annotation is not shown in the drawing.
|
| GetAttachmentAssociativity |
|---|
| AnnotationAttachmentAssociativity | GetAttachmentAssociativity | (Drawing Drawing) |
| Exceptions thrown (but not limited to): XToolkitNotFound - The annotation is not shown in the drawing.
|
| GetAnnotationElement |
|---|
| /*optional*/ AnnotationElement | GetAnnotationElement | () |
| Exceptions thrown (but not limited to): XToolkitNotFound - The annotation is not contained in any annotation element. XToolkitNotExist - The annotation element owner of the annotation does not exist.
|
| IsInactive |
|---|
| boolean | IsInactive | () |
| Exceptions thrown (but not limited to): XToolkitNoLicense - License check failure.
|
| Rotate |
|---|
| void | Rotate | (double Angle) |
| Exceptions thrown (but not limited to): XToolkitBadContext - The annotation does not support assigned rotation angles. XToolkitCantWrite - Could not modify the given item because it has read-only access.
|
| ConvertLegacy |
|---|
| void | ConvertLegacy | () |
|
Converts annotation created before Creo 4.0 or created using deprecated APIs ProGtolCreate or ProSetdatumtagCreate.
Exceptions thrown (but not limited to): XToolkitNoChange - The annotation is not legacy.
|
| 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.
|
| GetSecurityMarking |
|---|
| boolean | GetSecurityMarking | () |
Gets Security Marking option for Notes and Symbols
|
| SetSecurityMarking |
|---|
| void | SetSecurityMarking | (boolean Marking) |
Gets Security Marking option for Notes and Symbols
|
| IsUsingXSecReference |
|---|
| boolean | IsUsingXSecReference | () |
Identifies if the annotation is created on or attached to a cross-sectional edge.
|