| Library | Package | Frames | Expand | Java Toolkit |
| Method Summary | |
|---|---|
| void | CopyTemplateContents
(Model TemplateModel)
Copies the specified template model in to the component. |
| CompModelReplace | CreateReplaceOp
(Model NewModel)
Creates a replacement operation. |
| /*optional*/ ComponentType | GetCompType
()
Get method for attribute "CompType" The component type, which identifies the purpose for which the component is used in a production assembly. |
| /*optional*/ ComponentConstraints | GetConstraints
()
Returns a sequence of objects representing the component constraints. |
| /*optional*/ ComponentConstraints | GetConstraintsWithCompPath
(
/*optional*/
ComponentPath CompPath)
Returns a sequence of objects representing the component constraints. |
| boolean | GetIsBulkitem
()
Get method for attribute "IsBulkitem" true if the component is a bulkitem, false otherwise. |
| boolean | GetIsFrozen
()
Get method for attribute "IsFrozen" true if the component is frozen due to missing references, false otherwise. |
| boolean | GetIsPackaged
()
Get method for attribute "IsPackaged" true if the component is completely packaged, false if it is partially or fully constrained. |
| boolean | GetIsPlaced
()
Get method for attribute "IsPlaced" true if the component is placed in the assembly, false if it is unplaced. |
| boolean | GetIsSubstitute
()
Get method for attribute "IsSubstitute" true if the component is a substitution in a simplified rep, false otherwise. |
| boolean | GetIsUnderconstrained
()
Get method for attribute "IsUnderconstrained" true if the component is partially constrained, false if it is fully packaged or fully constrained. |
| ModelDescriptor | GetModelDescr
()
Get method for attribute "ModelDescr" The model descriptor of the component part or subassembly |
| Transform3D | GetPosition
()
Get method for attribute "Position" The initial position and orientation of the component in the assembly. If the component is fully packaged, this is the actual position. If the component is underconstrained, the constraints will override part of this matrix. If the component is fully constrained, the entire matrix will be overridden. |
| void | MoveThroughUI
()
Invokes the Creo Parametric UI to Package/Move the component. |
| void | RedefineThroughUI
()
Invokes the Creo Parametric dialog box to redefine the component constraints. |
| void | Regenerate
()
Regenerates the assembly component. |
| void | SetCompType
(
/*optional*/
ComponentType value)
Set method for attribute "CompType" The component type, which identifies the purpose for which the component is used in a production assembly. |
| void | SetConstraints
(
/*optional*/
ComponentConstraints Constraints,
/*optional*/
ComponentPath ReferenceAssembly)
Sets the component constraints for the component feature. |
| void | SetIsPlaced
(boolean value)
Set method for attribute "IsPlaced" true if the component is placed in the assembly, false if it is unplaced. |
| void | SetPosition
(Transform3D value)
Set method for attribute "Position" The initial position and orientation of the component in the assembly. If the component is fully packaged, this is the actual position. If the component is underconstrained, the constraints will override part of this matrix. If the component is fully constrained, the entire matrix will be overridden. |
| 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.pfcObject.Parent |
|---|
| GetChild |
| Methods Inherited from Interface com.ptc.pfc.pfcModelItem.ParameterOwner |
|---|
| GetParam, CreateParam, ListParams, SelectParam, CreateParamWithUnits, SelectParameters |
| Methods Inherited from Interface com.ptc.pfc.pfcModelItem.ModelItem |
|---|
| GetName, SetName, GetId, GetType |
| Method Detail |
|---|
| GetModelDescr |
|---|
| ModelDescriptor | GetModelDescr | () |
| The model descriptor of the component part or subassembly Exceptions thrown (but not limited to): XToolkitNotFound - Assembly component model is not a solid or is not in memory.
|
| CreateReplaceOp |
|---|
| CompModelReplace | CreateReplaceOp | (Model NewModel) |
Creates a replacement operation.
|
| GetIsBulkitem |
|---|
| boolean | GetIsBulkitem | () |
true if the component is a bulkitem, false otherwise.
|
| CopyTemplateContents |
|---|
| void | CopyTemplateContents | (Model TemplateModel) |
| Copies the specified template model in to the component.
Exceptions thrown (but not limited to): XToolkitInvalidType - The template type does not correspond to the component type. XToolkitFound - Features exist in a model of the component; copying the template to this model is not allowed. XToolkitAbort - The model can not be used as a template or has external dependencies. Copy is aborted. XToolkitNotValid - Required license not found.
|
| GetIsSubstitute |
|---|
| boolean | GetIsSubstitute | () |
true if the component is a substitution in a simplified rep, false otherwise.
|
| GetCompType/SetCompType |
|---|
| /*optional*/ ComponentType | GetCompType | () |
| void | SetCompType | ( /*optional*/ ComponentType value) |
The component type, which identifies the purpose for which the component is used in a production assembly.
|
| RedefineThroughUI |
|---|
| void | RedefineThroughUI | () |
| Invokes the Creo Parametric dialog box to redefine the component constraints.
The assembly containing the component feature must be in the active window. Exceptions thrown (but not limited to): XToolkitUserAbort - The user aborted component redefinition.
|
| MoveThroughUI |
|---|
| void | MoveThroughUI | () |
| Invokes the Creo Parametric UI to Package/Move the component.
The assembly containing the component must be in the active window. Exceptions thrown (but not limited to): XToolkitUserAbort - The package move was aborted by the user.
|
| GetIsPlaced/SetIsPlaced |
|---|
| boolean | GetIsPlaced | () |
| void | SetIsPlaced | (boolean value) |
true if the component is placed in the assembly, false if it is unplaced.
|
| GetIsPackaged |
|---|
| boolean | GetIsPackaged | () |
true if the component is completely packaged, false if it is partially or fully constrained.
|
| GetIsUnderconstrained |
|---|
| boolean | GetIsUnderconstrained | () |
true if the component is partially constrained, false if it is fully packaged or fully constrained.
|
| GetIsFrozen |
|---|
| boolean | GetIsFrozen | () |
true if the component is frozen due to missing references, false otherwise.
|
| GetConstraints |
|---|
| /*optional*/ ComponentConstraints | GetConstraints | () |
| Returns a sequence of objects representing the component constraints.
Exceptions thrown (but not limited to): XToolkitInvalidType - The component argument is not a valid assembly component. XToolkitNotFound - The assembly component does not have any constraints.
|
| GetConstraintsWithCompPath |
|---|
| /*optional*/ ComponentConstraints | GetConstraintsWithCompPath | ( /*optional*/ ComponentPath CompPath) |
| Returns a sequence of objects representing the component constraints.
Exceptions thrown (but not limited to): XToolkitInvalidType - The component argument is not a valid assembly component. XToolkitNotFound - The assembly component does not have any constraints.
|
| SetConstraints |
|---|
| void | SetConstraints | ( /*optional*/ ComponentConstraints Constraints, /*optional*/ ComponentPath ReferenceAssembly) |
| Sets the component constraints for the component feature.
Exceptions thrown (but not limited to): XToolkitInvalidType - The component argument is not a valid assembly component. <reference 6 to unknown entity pfcExceptions::pfcXToolkitInvalidReference> - Assembly reference must have Assembly Component Path.
|
| Regenerate |
|---|
| void | Regenerate | () |
Regenerates the assembly component.
|
| GetPosition/SetPosition |
|---|
| Transform3D | GetPosition | () |
| void | SetPosition | (Transform3D value) |
| The initial position and orientation of the component in the assembly. If the component is fully packaged, this is the actual position. If the component is underconstrained, the constraints will override part of this matrix. If the component is fully constrained, the entire matrix will be overridden. This attribute can be set to move a packaged component. Regenerate to ensure that constraints are reapplied to the component after moving. Exceptions thrown (but not limited to): XToolkitNotFound - The input argument was of type - bulk item .
|