| Library | Package | Frames | Expand | Java Toolkit |
| Method Summary | |
|---|---|
| Feature | AssembleByCopy
(String NewModelName, Solid ModelToCopy, boolean LeaveUnplaced)
Assembles a copy of a model into the assembly. |
| Feature | AssembleComponent
(Solid Model,
/*optional*/
Transform3D Position)
Assembles the model into the assembly. |
| void | AssembleSkeleton
(Solid SkeletonModel)
Adds a skeleton model in the assembly. |
| void | AssembleSkeletonByCopy
(String NewSkeletonName, Solid SkeletonToCopy)
Copies the specified template model into the assembly as a skeleton model. |
| void | DeleteSkeleton
()
Deletes the skeleton model from the assembly. |
| void | Explode
()
Explodes the specified assembly. The function invalidates the display list, but the application needs to repaint the window. |
| /*optional*/ ExplodedState | GetActiveExplodedState
()
Returns the current active exploded state in the assembly. |
| ExplodedState | GetDefaultExplodedState
()
Returns the default exploded state in the assembly. |
| boolean | GetDynamicPositioning
()
Get method for attribute "DynamicPositioning" If the assembly uses dynamic positioning, this attribute is true; otherwise, it is false |
| boolean | GetIsExploded
()
Get method for attribute "IsExploded" If the assembly is exploded, this attribute is true; otherwise, it isfalse |
| MassProperty | GetMassPropertyByCompPath
(
/*optional*/
ComponentPath CompPath,
/*optional*/
ModelItem CsysItem,
/*optional*/
ComponentPath CsysPath)
Calculates the mass properties of solid referenced by the specified coordinate system, using respective component paths. |
| Solid | GetSkeleton
()
Returns the skeleton model in the assembly. |
| void | SetDynamicPositioning
(boolean value)
Set method for attribute "DynamicPositioning" If the assembly uses dynamic positioning, this attribute is true; otherwise, it is false |
| void | UnExplode
()
Unexplodes the assembly. The function invalidates the display list, but the application needs to repaint the window. |
| 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 |
|---|
| GetIsExploded |
|---|
| boolean | GetIsExploded | () |
| If the assembly is exploded, this attribute is true; otherwise, it isfalse
The exploded status of an assembly depends on the mode, in particular, while the drawing view is active, it does not represent the real explode state of the assembly, but the state of the assembly in the current drawing view.
|
| GetDynamicPositioning/SetDynamicPositioning |
|---|
| boolean | GetDynamicPositioning | () |
| void | SetDynamicPositioning | (boolean value) |
| If the assembly uses dynamic positioning, this attribute is true; otherwise, it is false
|
| Explode |
|---|
| void | Explode | () |
| Explodes the specified assembly. The function invalidates
the display list, but the application needs to repaint the
window.
Exceptions thrown (but not limited to): XToolkitNoChange - The specified assembly is already exploded.
|
| UnExplode |
|---|
| void | UnExplode | () |
| Unexplodes the assembly. The function invalidates
the display list, but the application needs to repaint the
window.
Exceptions thrown (but not limited to): XToolkitNoChange - The specified assembly is already unexploded.
|
| GetDefaultExplodedState |
|---|
| ExplodedState | GetDefaultExplodedState | () |
Returns the default exploded state in the assembly.
|
| GetActiveExplodedState |
|---|
| /*optional*/ ExplodedState | GetActiveExplodedState | () |
Returns the current active exploded state in the assembly.
|
| AssembleComponent |
|---|
| Feature | AssembleComponent | (Solid Model, /*optional*/ Transform3D Position) |
| Assembles the model into the assembly.
The new component will be packaged at the designated location. Exceptions thrown (but not limited to): XToolkitUnsupported - Unsupported model. For instance, models which come from Multi-CAD model approach, are not supported in this release.
|
| AssembleByCopy |
|---|
| Feature | AssembleByCopy | (String NewModelName, Solid ModelToCopy, boolean LeaveUnplaced) |
| Assembles a copy of a model into the assembly.
Exceptions thrown (but not limited to): XToolkitInvalidType - Template type does not correspond to component type. XToolkitAbort - The model can not be used as a template or has external dependencies. Copy is aborted. XToolkitNotValid - Required license not found. XToolkitLineTooLong - comp_name length of the new component is more than 31 chars. This restriction will be removed in future releases. XToolkitUnsupported - Unsupported model. For instance, models which come from Multi-CAD model approach, are not supported in this release.
|
| AssembleSkeleton |
|---|
| void | AssembleSkeleton | (Solid SkeletonModel) |
| Adds a skeleton model in the assembly.
Exceptions thrown (but not limited to): XToolkitInvalidType - Skeleton is a handle not to a skeleton model. XToolkitFound - Skeleton model already exists in the assembly. XToolkitNotValid - Required license not found.
|
| AssembleSkeletonByCopy |
|---|
| void | AssembleSkeletonByCopy | (String NewSkeletonName, Solid SkeletonToCopy) |
| Copies the specified template model into the assembly as a skeleton model.
Exceptions thrown (but not limited to): XToolkitFound - Skeleton model already exists in the assembly. XToolkitAbort - Template type is invalid (for example, is a manufacturing part), or has external external dependencies. Copying is aborted. XToolkitNotValid - Required license is absent. XToolkitUnsupported - Models which come from Multi-CAD approach are not supported as template model. XToolkitLineTooLong - Name length of skeleton model is more than 31 chars.
|
| GetSkeleton |
|---|
| Solid | GetSkeleton | () |
| Returns the skeleton model in the assembly.
Exceptions thrown (but not limited to): XToolkitNotFound - The specified assembly has no skeleton model. XToolkitCantAccess - The skeleton exists, but can not be used. XToolkitNotValid - Required license not found.
|
| DeleteSkeleton |
|---|
| void | DeleteSkeleton | () |
| Deletes the skeleton model from the assembly.
Exceptions thrown (but not limited to): XToolkitNotFound - The specified assembly has no skeleton model. XToolkitNotValid - Required license not found.
|
| GetMassPropertyByCompPath |
|---|
| MassProperty | GetMassPropertyByCompPath | ( /*optional*/ ComponentPath CompPath, /*optional*/ ModelItem CsysItem, /*optional*/ ComponentPath CsysPath) |
| Calculates the mass properties of solid referenced by
the specified coordinate system, using respective component paths.
Exceptions thrown (but not limited to): XToolkitNotFound - The specified coordinate system was not found.
|