| Library | Package | Frames | Expand | Java Toolkit |
| Method Summary | |
|---|---|
| Dimension | ConvertLinearDimensionToBaseline
(Dimension Dim, Vector2D Location)
Converts an existing linear dimension to ordinate baseline. To use this method drawing must be displayed. |
| void | ConvertLinearDimensionToOrdinate
(Dimension Dim, Dimension BaselineDimension)
Converts an existing linear dimension to ordinate. To use this method drawing must be displayed. |
| void | ConvertOrdinateDimensionToLinear
(Dimension Dim)
Converts an existing ordinate dimension to linear. To use this method drawing must be displayed. |
| void | EraseDimension
(Dimension Dim)
Erase dimension from specified drawing. |
| /*optional*/ Dimension | GetBaselineDimension
(Dimension Dim)
Checks if dimension is an ordinate dimension and if it is ordinate then returns baseline dimension. |
| DimensionAttachments | GetDimensionAttachPoints
(Dimension Dim)
Gets attachment information of dimension. |
| Point3D | GetDimensionLocation
(Dimension Dim)
Get location of dimension text in specified drawing. |
| DimOrientationHint | GetDimensionOrientHint
(Dimension Dim)
Gets orientation of dimension |
| DimSenses | GetDimensionSenses
(Dimension Dim)
Gets sense information of dimension. |
| /*optional*/ View2D | GetDimensionView
(Dimension Dim)
Get drawing view of dimension. |
| boolean | IsDimensionAssociative
(Dimension Dim)
Checks if solid dimension shown in drawing is associative. |
| boolean | IsDimensionShown
(Dimension Dim)
Checks if dimension is shown in a specified drawing. |
| boolean | IsDimensionToleranceDisplayed
(Dimension Dim)
Indicates whether a drawing dimension's tolerance is visible or not. |
| void | SetDimensionLocation
(Dimension Dim, Point3D ToLocation)
Changes location of dimension text. |
| void | SwitchDimensionView
(Dimension Dim, View2D View)
Change view of the dimension in specified drawing. |
| Methods Inherited from Interface com.ptc.pfc.pfcTable.TableOwner |
|---|
| ListTables, GetTable, CreateTable, RetrieveTable, RetrieveTableByOrigin, UpdateTables, DeleteTable |
| Methods Inherited from Interface com.ptc.pfc.pfcObject.Parent |
|---|
| GetChild |
| Methods Inherited from Interface com.ptc.pfc.pfcModelItem.ModelItemOwner |
|---|
| GetItemByName, GetItemById, ListItems |
| Methods Inherited from Interface com.ptc.pfc.pfcView.ViewOwner |
|---|
| RetrieveView, GetView, SaveView, GetCurrentViewTransform, SetCurrentViewTransform, CurrentViewRotate, ListViews, GetCurrentView |
| Methods Inherited from Interface com.ptc.pfc.pfcObject.Child |
|---|
| GetDBParent, GetOId |
| Methods Inherited from Interface com.ptc.pfc.pfcBase.ActionSource |
|---|
| AddActionListener, RemoveActionListener, AddActionListenerWithType |
| Methods Inherited from Interface com.ptc.pfc.pfcModelItem.RelationOwner |
|---|
| DeleteRelations, GetRelations, SetRelations, RegenerateRelations, EvaluateExpression |
| Methods Inherited from Interface com.ptc.pfc.pfcModelItem.ParameterOwner |
|---|
| GetParam, CreateParam, ListParams, SelectParam, CreateParamWithUnits, SelectParameters |
| Method Detail |
|---|
| IsDimensionAssociative |
|---|
| boolean | IsDimensionAssociative | (Dimension Dim) |
Checks if solid dimension shown in drawing is associative.
|
| IsDimensionToleranceDisplayed |
|---|
| boolean | IsDimensionToleranceDisplayed | (Dimension Dim) |
Indicates whether a drawing dimension's tolerance is visible or not.
|
| GetBaselineDimension |
|---|
| /*optional*/ Dimension | GetBaselineDimension | (Dimension Dim) |
Checks if dimension is an ordinate dimension and if it is ordinate then returns baseline dimension.
|
| GetDimensionSenses |
|---|
| DimSenses | GetDimensionSenses | (Dimension Dim) |
| Gets sense information of dimension. Exceptions thrown (but not limited to): XToolkitInvalidItem - the dimension specified is not a valid dimension created in drawing mode. XToolkitInvalidType - the dimension sense type is not supported with this function.
|
| GetDimensionAttachPoints |
|---|
| DimensionAttachments | GetDimensionAttachPoints | (Dimension Dim) |
| Gets attachment information of dimension. Exceptions thrown (but not limited to): XToolkitInvalidItem - the dimension specified is not a valid dimension created in drawing mode. XToolkitInvalidType - the dimension sense type is not supported with this function.
|
| GetDimensionOrientHint |
|---|
| DimOrientationHint | GetDimensionOrientHint | (Dimension Dim) |
| Gets orientation of dimension Exceptions thrown (but not limited to): XToolkitInvalidItem - the dimension specified is not a valid dimension created in drawing mode. XToolkitInvalidType - the dimension sense type is not supported with this function.
|
| ConvertOrdinateDimensionToLinear |
|---|
| void | ConvertOrdinateDimensionToLinear | (Dimension Dim) |
| Converts an existing ordinate dimension to linear. To use this method drawing must be displayed. Exceptions thrown (but not limited to): XToolkitCantWrite - Could not modify the given item because it has read-only access.
|
| ConvertLinearDimensionToOrdinate |
|---|
| void | ConvertLinearDimensionToOrdinate | (Dimension Dim, Dimension BaselineDimension) |
| Converts an existing linear dimension to ordinate. To use this method drawing must be displayed. Exceptions thrown (but not limited to): XToolkitCantWrite - Could not modify the given item because it has read-only access.
|
| ConvertLinearDimensionToBaseline |
|---|
| Dimension | ConvertLinearDimensionToBaseline | (Dimension Dim, Vector2D Location) |
Converts an existing linear dimension to ordinate baseline. To use this method drawing must be displayed.
|
| SetDimensionLocation |
|---|
| void | SetDimensionLocation | (Dimension Dim, Point3D ToLocation) |
| Changes location of dimension text. Exceptions thrown (but not limited to): XToolkitCantWrite - Could not modify the given item because it has read-only access.
|
| GetDimensionLocation |
|---|
| Point3D | GetDimensionLocation | (Dimension Dim) |
Get location of dimension text in specified drawing.
|
| GetDimensionView |
|---|
| /*optional*/ View2D | GetDimensionView | (Dimension Dim) |
| Get drawing view of dimension. Exceptions thrown (but not limited to): XToolkitNotDisplayed - The dimension is not displayed in the drawing.
|
| SwitchDimensionView |
|---|
| void | SwitchDimensionView | (Dimension Dim, View2D View) |
| Change view of the dimension in specified drawing. Exceptions thrown (but not limited to): XToolkitCantWrite - Could not delete the given item because it has read-only access.
|
| IsDimensionShown |
|---|
| boolean | IsDimensionShown | (Dimension Dim) |
Checks if dimension is shown in a specified drawing.
|
| EraseDimension |
|---|
| void | EraseDimension | (Dimension Dim) |
| Erase dimension from specified drawing. Exceptions thrown (but not limited to): XToolkitNoChange - The annotation is not shown in the target model.
|