| Library | Package | Frames | Expand | Java Toolkit |
| Method Summary | |
|---|---|
| void | AddReferences
(AnnotationReferences References)
Add gtol references |
| void | Delete
()
Deletes a gtol from its owning Creo Parametric model. |
| void | DeleteReference
(int RefIndex)
Delete gtol reference |
| /*optional*/ Envelope3D | Get3DLineEnvelope
(int LineNumber)
LICENSE: 222 Get the envelope of a line in a specified geometric tolerance. <p><b>Note:</b> This function only supports gtols which are placed on an annotation plane. |
| /*optional*/ Point3D | GetAdditionalTextLocation
(GTolTextType Type)
Get the text point location in model co-ordinates from input text position |
| /*optional*/ AnnotationTextStyle | GetAdditionaltextTextStyle
(GTolTextType Type)
LICENSE: 222 Gets the text style for the additional text applied to a geometric tolerance. |
| /*optional*/ String | GetBottomText
()
Obtains the text added to the bottom of the geometric tolerance. |
| HorizontalJustification | GetBottomTextHorizJustification
()
Gets horizontal justification for additional gtol text at the bottom |
| GTolComposites | GetComposite
()
Get composite tolerance frame |
| boolean | GetCompositeSharedReference
()
Get Share datum references for composite frame |
| GTolDatumReferences | GetDatumReferences
()
Get datum references to gtol. |
| /*optional*/ DetailNoteItem | GetDetailNote
(Drawing DrawingModel)
Return the detail note that represents a shown geometric tolerance. |
| /*optional*/ GTolElbow | GetElbow
()
LICENSE: 222 Obtains the elbow properties of the geometric tolerance. <p><b>Note:</b> This function only supports gtols which are placed on an annotation plane. |
| Envelope3D | GetEnvelope
(
/*optional*/
Drawing Drawing)
Get the envelope of gtol. For getting coordinates of gtol displayed in solid and same gtol is displayed in drawing then drawing should not be active. |
| GTolAttach | GetGTolAttach
()
Get Annotation Plane and location from Free type wfcGTol::GTol::GetGTolAttach() leader attachment info. Get datum from gtol AttachGet annotation from gtol AttachGet offset ref from gtol AttachGet make dim information from gtol attachget gtol Attach |
| /*optional*/ String | GetGTolName
()
Get name of gtol |
| GTolType | GetGTolType
()
Set gtol type |
| GTolIndicators | GetIndicators
()
Get indicators of gtol |
| /*optional*/ String | GetLeftText
()
Obtains the text added to the left of the geometric tolerance. |
| /*optional*/ DetailNoteItems | GetNotes
(Drawing Drawing)
Gets the detail notes that represent a geometric tolerance in a drawing. |
| AnnotationReferences | GetReferences
()
Get gtol references Note: This function only supports gtols which are not created as Annotation Elements. For Annotation Element Gtol use wfcAnnotation::AnnotationElement::CollectAnnotationReferences(). |
| /*optional*/ String | GetRightText
()
Retrieves the text of the specified geometrical tolerance. |
| Envelope3D | GetRightTextEnvelope
()
LICENSE: 222 Get the envelope of the right text in a specified geometric tolerance. <p><b>Note:</b> This function only supports gtols which are placed on an annotation plane. |
| Model | GetTopModel
()
Get top model of gtol |
| /*optional*/ String | GetTopText
()
Obtains the text added to the top of the geometric tolerance. |
| HorizontalJustification | GetTopTextHorizJustification
()
Gets horizontal justification for additional gtol text at the top |
| GTolUnilateralModifier | GetUnilateralModifier
()
Get Unilateral modifier. |
| /*optional*/ String | GetValueString
()
Get value string of gtol |
| boolean | IsAddlTextBoxed
(GTolTextType Type)
LICENSE: 222 Get if Additional text to a geometric tolerance with particular wfcGTol::GTolTextType is Boxed. Note that only Top and Bottom wfcGTol::GTolTextType can have Boxed. |
| boolean | IsAllAround
()
Get all around option for profile gtol |
| boolean | IsAllOver
()
Get all over option for profile gtol |
| boolean | IsBoundaryDisplay
()
Get display of Boundary modifier. |
| void | SetAddlTextBoxed
(GTolTextType Type, boolean IsBoxed)
LICENSE: 222 Set Boxed to Additional text to a geometric tolerance with particular wfcGTol::GTolTextType. Note that only Top and Bottom wfcGTol::GTolTextType can have Boxed. |
| void | SetAllAround
(boolean AllAround)
Set all around option for profile gtol |
| void | SetAllOver
(boolean AllOver)
Set all over option for profile gtol |
| void | SetAttachAnnotation
(GTolAttachAnnotation Attach)
Set annotation related gtol AttachChange gtol Attach |
| void | SetAttachAnnotationElbow
(GTolAttachAnnotationElbow Attach)
Set annotation (pfcITEM_NOTE) related gtol Attach to elbow instead of text |
| void | SetAttachDatum
(GTolAttachDatum Attach)
Set datum gtol AttachChange gtol Attach |
| void | SetAttachFree
(GTolAttachFree Attach)
Set Free type attachmentChange gtol Attach |
| void | SetAttachLeader
(GTolAttachLeader Attach)
Set leader type attachmentChange gtol Attach |
| void | SetAttachMakeDimension
(GTolAttachMakeDimension Attach)
Set make dim type gtol attach Use this function along with ProMdlGtolCreate for creating make-dim type gtol, only in drawing.Change gtol Attach |
| void | SetAttachOffset
(GTolAttachOffset Attach)
Set offset gtol Attach Use this function along with ProMdlGtolCreate for creating offset type gtol, only in drawing.Change gtol Attach |
| void | SetBottomText
(String BelowText)
Assigns the text added to the bottom of the geometric tolerance. |
| void | SetBottomTextHorizJustification
(HorizontalJustification BottomTextHorizJustification)
Sets horizontal justification for additional gtol text at the bottom |
| void | SetBoundaryDisplay
(boolean Display)
Set display of Boundary modifier. |
| void | SetComposite
(int Index, GTolComposite Composite)
Set composite tolerance |
| void | SetCompositeSharedReference
(boolean state)
Set Share datum references for composite frame |
| void | SetDatumReferences
(GTolDatumReferences datumReferences)
Set datum references to gtol. |
| void | SetElbow
(GTolElbow elbowLength)
LICENSE: 222 Set elbow to gtol. <p><b>Note:</b> This function only supports leader type gtols which are placed on an annotation plane. |
| void | SetGTolAdditionaltextTextStyle
(GTolTextType Type, AnnotationTextStyle TextStyle)
LICENSE: 222 Sets the text style for the additional text applied to a geometric tolerance. Note that not all text style properties are supported for gtol additional text; unsupported properties are ignored by this function. |
| void | SetGTolType
(GTolType Type)
Set gtol type |
| void | SetIndicators
(GTolIndicators indicators)
Set indicators of gtol. Pass types, symbols and dfs as NULL to remove all indicators. |
| void | SetLeftText
(String leftText)
Assigns the text added to the left of the geometric tolerance. |
| void | SetRightText
(String RightText)
Sets the text of the specified geometric tolerance. |
| void | SetTopText
(String TopText)
Assigns the text added to the top of the geometric tolerance. |
| void | SetTopTextHorizJustification
(HorizontalJustification TopTextHorizJustification)
Sets horizontal justification for additional gtol text at the top |
| void | SetUnilateralModifier
(GTolUnilateralModifier Modifier)
Set Unilateral modifier. |
| void | SetValueString
(String ValueString)
Set value string of gtol |
| boolean | Validate
(GTolValidityCheckType Type)
Check whether the gtol is valid or not |
| 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 |
|---|
| GetGTolName |
|---|
| /*optional*/ String | GetGTolName | () |
Get name of gtol
|
| IsAddlTextBoxed |
|---|
| boolean | IsAddlTextBoxed | (GTolTextType Type) |
Get if Additional text to a geometric tolerance with particular wfcGTol::GTolTextType is Boxed. Note that only Top and Bottom wfcGTol::GTolTextType can have Boxed.
|
| SetAddlTextBoxed |
|---|
| void | SetAddlTextBoxed | (GTolTextType Type, boolean IsBoxed) |
Set Boxed to Additional text to a geometric tolerance with particular wfcGTol::GTolTextType. Note that only Top and Bottom wfcGTol::GTolTextType can have Boxed.
|
| IsAllAround |
|---|
| boolean | IsAllAround | () |
Get all around option for profile gtol
|
| SetAllAround |
|---|
| void | SetAllAround | (boolean AllAround) |
Set all around option for profile gtol
|
| IsAllOver |
|---|
| boolean | IsAllOver | () |
Get all over option for profile gtol
|
| SetAllOver |
|---|
| void | SetAllOver | (boolean AllOver) |
Set all over option for profile gtol
|
| GetBottomText |
|---|
| /*optional*/ String | GetBottomText | () |
Obtains the text added to the bottom of the geometric tolerance.
|
| SetBottomText |
|---|
| void | SetBottomText | (String BelowText) |
Assigns the text added to the bottom of the geometric tolerance.
|
| GetBottomTextHorizJustification |
|---|
| HorizontalJustification | GetBottomTextHorizJustification | () |
Gets horizontal justification for additional gtol text at the bottom
|
| SetBottomTextHorizJustification |
|---|
| void | SetBottomTextHorizJustification | (HorizontalJustification BottomTextHorizJustification) |
Sets horizontal justification for additional gtol text at the bottom
|
| IsBoundaryDisplay |
|---|
| boolean | IsBoundaryDisplay | () |
Get display of Boundary modifier.
|
| SetBoundaryDisplay |
|---|
| void | SetBoundaryDisplay | (boolean Display) |
Set display of Boundary modifier.
|
| GetComposite |
|---|
| GTolComposites | GetComposite | () |
Get composite tolerance frame
|
| SetComposite |
|---|
| void | SetComposite | (int Index, GTolComposite Composite) |
Set composite tolerance
|
| GetCompositeSharedReference |
|---|
| boolean | GetCompositeSharedReference | () |
Get Share datum references for composite frame
|
| SetCompositeSharedReference |
|---|
| void | SetCompositeSharedReference | (boolean state) |
Set Share datum references for composite frame
|
| GetDatumReferences |
|---|
| GTolDatumReferences | GetDatumReferences | () |
Get datum references to gtol.
|
| SetDatumReferences |
|---|
| void | SetDatumReferences | (GTolDatumReferences datumReferences) |
Set datum references to gtol.
|
| Delete |
|---|
| void | Delete | () |
Deletes a gtol from its owning Creo Parametric model.
|
| GetDetailNote |
|---|
| /*optional*/ DetailNoteItem | GetDetailNote | (Drawing DrawingModel) |
Return the detail note that represents a shown geometric tolerance.
|
| GetElbow |
|---|
| /*optional*/ GTolElbow | GetElbow | () |
Obtains the elbow properties of the geometric tolerance. <p><b>Note:</b> This function only supports gtols which are placed on an annotation plane.
|
| SetElbow |
|---|
| void | SetElbow | (GTolElbow elbowLength) |
Set elbow to gtol. <p><b>Note:</b> This function only supports leader type gtols which are placed on an annotation plane.
|
| GetIndicators |
|---|
| GTolIndicators | GetIndicators | () |
Get indicators of gtol
|
| SetIndicators |
|---|
| void | SetIndicators | (GTolIndicators indicators) |
Set indicators of gtol. Pass types, symbols and dfs as NULL to remove all indicators.
|
| GetLeftText |
|---|
| /*optional*/ String | GetLeftText | () |
Obtains the text added to the left of the geometric tolerance.
|
| SetLeftText |
|---|
| void | SetLeftText | (String leftText) |
Assigns the text added to the left of the geometric tolerance.
|
| Get3DLineEnvelope |
|---|
| /*optional*/ Envelope3D | Get3DLineEnvelope | (int LineNumber) |
Get the envelope of a line in a specified geometric tolerance. <p><b>Note:</b> This function only supports gtols which are placed on an annotation plane.
|
| DeleteReference |
|---|
| void | DeleteReference | (int RefIndex) |
Delete gtol reference
|
| AddReferences |
|---|
| void | AddReferences | (AnnotationReferences References) |
Add gtol references
|
| GetReferences |
|---|
| AnnotationReferences | GetReferences | () |
Get gtol references Note: This function only supports gtols which are not created as Annotation Elements. For Annotation Element Gtol use wfcAnnotation::AnnotationElement::CollectAnnotationReferences().
|
| GetRightTextEnvelope |
|---|
| Envelope3D | GetRightTextEnvelope | () |
Get the envelope of the right text in a specified geometric tolerance. <p><b>Note:</b> This function only supports gtols which are placed on an annotation plane.
|
| GetRightText |
|---|
| /*optional*/ String | GetRightText | () |
Retrieves the text of the specified geometrical tolerance.
|
| SetRightText |
|---|
| void | SetRightText | (String RightText) |
Sets the text of the specified geometric tolerance.
|
| GetTopModel |
|---|
| Model | GetTopModel | () |
Get top model of gtol
|
| GetTopText |
|---|
| /*optional*/ String | GetTopText | () |
Obtains the text added to the top of the geometric tolerance.
|
| SetTopText |
|---|
| void | SetTopText | (String TopText) |
Assigns the text added to the top of the geometric tolerance.
|
| GetTopTextHorizJustification |
|---|
| HorizontalJustification | GetTopTextHorizJustification | () |
Gets horizontal justification for additional gtol text at the top
|
| SetTopTextHorizJustification |
|---|
| void | SetTopTextHorizJustification | (HorizontalJustification TopTextHorizJustification) |
Sets horizontal justification for additional gtol text at the top
|
| GetGTolType |
|---|
| GTolType | GetGTolType | () |
Set gtol type
|
| SetGTolType |
|---|
| void | SetGTolType | (GTolType Type) |
Set gtol type
|
| GetValueString |
|---|
| /*optional*/ String | GetValueString | () |
Get value string of gtol
|
| SetValueString |
|---|
| void | SetValueString | (String ValueString) |
Set value string of gtol
|
| Validate |
|---|
| boolean | Validate | (GTolValidityCheckType Type) |
Check whether the gtol is valid or not
|
| GetUnilateralModifier |
|---|
| GTolUnilateralModifier | GetUnilateralModifier | () |
Get Unilateral modifier.
|
| SetUnilateralModifier |
|---|
| void | SetUnilateralModifier | (GTolUnilateralModifier Modifier) |
Set Unilateral modifier.
|
| SetGTolAdditionaltextTextStyle |
|---|
| void | SetGTolAdditionaltextTextStyle | (GTolTextType Type, AnnotationTextStyle TextStyle) |
Sets the text style for the additional text applied to a geometric tolerance. Note that not all text style properties are supported for gtol additional text; unsupported properties are ignored by this function.
|
| GetAdditionaltextTextStyle |
|---|
| /*optional*/ AnnotationTextStyle | GetAdditionaltextTextStyle | (GTolTextType Type) |
Gets the text style for the additional text applied to a geometric tolerance.
|
| GetGTolAttach |
|---|
| GTolAttach | GetGTolAttach | () |
Get Annotation Plane and location from Free type wfcGTol::GTol::GetGTolAttach() leader attachment info. Get datum from gtol AttachGet annotation from gtol AttachGet offset ref from gtol AttachGet make dim information from gtol attachget gtol Attach
|
| SetAttachFree |
|---|
| void | SetAttachFree | (GTolAttachFree Attach) |
Set Free type attachmentChange gtol Attach
|
| SetAttachLeader |
|---|
| void | SetAttachLeader | (GTolAttachLeader Attach) |
Set leader type attachmentChange gtol Attach
|
| SetAttachDatum |
|---|
| void | SetAttachDatum | (GTolAttachDatum Attach) |
Set datum gtol AttachChange gtol Attach
|
| SetAttachAnnotation |
|---|
| void | SetAttachAnnotation | (GTolAttachAnnotation Attach) |
Set annotation related gtol AttachChange gtol Attach
|
| SetAttachOffset |
|---|
| void | SetAttachOffset | (GTolAttachOffset Attach) |
Set offset gtol Attach Use this function along with ProMdlGtolCreate for creating offset type gtol, only in drawing.Change gtol Attach
|
| SetAttachMakeDimension |
|---|
| void | SetAttachMakeDimension | (GTolAttachMakeDimension Attach) |
Set make dim type gtol attach Use this function along with ProMdlGtolCreate for creating make-dim type gtol, only in drawing.Change gtol Attach
|
| SetAttachAnnotationElbow |
|---|
| void | SetAttachAnnotationElbow | (GTolAttachAnnotationElbow Attach) |
Set annotation (pfcITEM_NOTE) related gtol Attach to elbow instead of text
|
| GetNotes |
|---|
| /*optional*/ DetailNoteItems | GetNotes | (Drawing Drawing) |
Gets the detail notes that represent a geometric tolerance in a drawing.
|
| GetEnvelope |
|---|
| Envelope3D | GetEnvelope | ( /*optional*/ Drawing Drawing) |
Get the envelope of gtol. For getting coordinates of gtol
displayed in solid and same gtol is displayed in drawing then
drawing should not be active.
|
| GetAdditionalTextLocation |
|---|
| /*optional*/ Point3D | GetAdditionalTextLocation | (GTolTextType Type) |
Get the text point location in model co-ordinates from input text position
|