Interface ComponentFeat
Description
Specifies a component feature.
Direct Known Subclasses:
User Guide References:
Visit Methods:ComponentFeat,
Run-Time Type Identification in Creo Object TOOLKIT Java:ComponentFeat,
Structure of Assemblies and Assembly Objects:ComponentFeat,
Assembly Components:ComponentFeat,
Regenerating an Assembly Component:ComponentFeat,
Assembling Components:ComponentFeat,
Constraint Attributes:ComponentFeat,
Assembling a Component Parametrically:ComponentFeat,
Redefining and Rerouting Assembly Components:ComponentFeat,
Flexible Components and Inheritance Features in an Assembly:ComponentFeat,
Variant Items for Flexible Components:ComponentFeat,
Creo Object TOOLKIT Java Classes:ComponentFeat GetFeatType,
GetFeatTypeName,
GetFeatSubType,
GetStatus,
GetGroup,
GetPattern,
GetGroupPattern,
GetPatternByType,
GetPatternStatus,
GetGroupStatus,
GetGroupPatternStatus,
GetIsVisible,
GetIsReadonly,
GetNumber,
GetVersionStamp,
GetIsGroupMember,
GetIsEmbedded,
CreateSuppressOp,
CreateResumeOp,
CreateDeleteOp,
CreateReorderBeforeOp,
CreateReorderAfterOp,
ListChildren,
ListParents,
ListSubItems,
GetGroupDirectHeader Method Summary
void | |
| Copies the specified template model in to the component. |
| |
| Creates a replacement operation. |
| |
| Get method for attribute "CompType" The component type, which identifies the purpose for which the component is used in a production assembly. |
| |
| Returns a sequence of objects representing the component constraints. |
| |
| Returns a sequence of objects representing the component constraints. |
boolean | |
| Get method for attribute "IsBulkitem" true if the component is a bulkitem,false otherwise. |
boolean | |
| Get method for attribute "IsFrozen" true if the component is frozen due to missing references,false otherwise. |
boolean | |
| Get method for attribute "IsPackaged" true if the component is completely packaged,false if it is partially or fully constrained. |
boolean | |
| Get method for attribute "IsPlaced" true if the component is placed in the assembly,false if it is unplaced. |
boolean | |
| Get method for attribute "IsSubstitute" true if the component is a substitution in a simplified rep,false otherwise. |
boolean | |
| Get method for attribute "IsUnderconstrained" true if the component is partially constrained,false if it is fully packaged or fully constrained. |
| |
| Get method for attribute "ModelDescr" The model descriptor of the component part or subassembly |
| |
| 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 | |
| Invokes the Creo Parametric UI to Package/Move the component. |
void | |
| Invokes the Creo Parametric dialog box to redefine the component constraints. |
void | |
| Regenerates the assembly component. |
void | |
| Set method for attribute "CompType" The component type, which identifies the purpose for which the component is used in a production assembly. |
void | |
| Sets the component constraints for the component feature. |
void | |
| Set method for attribute "IsPlaced" true if the component is placed in the assembly,false if it is unplaced. |
void | |
| 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. |
Method Detail
GetModelDescr |
| GetModelDescr | () |
The model descriptor of the component part or subassembly
Exceptions thrown (but not limited to):
User Guide References:
CreateReplaceOp |
| CreateReplaceOp | |
Creates a replacement operation.
User Guide References:
Parameters:
NewModel
The new model
Returns:
The new CompModelReplace object
GetIsBulkitem |
boolean | GetIsBulkitem | () |
true if the component is a bulkitem, false otherwise.
User Guide References:
CopyTemplateContents |
void | CopyTemplateContents | |
Copies the specified template model in to the component.
Exceptions thrown (but not limited to):
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.
User Guide References:
Parameters:
TemplateModel
The template model to copy into the component.
Returns:
GetIsSubstitute |
boolean | GetIsSubstitute | () |
true if the component is a substitution in a simplified rep, false otherwise.
User Guide References:
GetCompType |
| GetCompType | () |
SetCompType |
void | SetCompType | |
The component type, which identifies the purpose for which the component is used in a production assembly.
User Guide References:
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):
User Guide References:
Returns:
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):
User Guide References:
Returns:
GetIsPlaced |
boolean | GetIsPlaced | () |
SetIsPlaced |
void | SetIsPlaced | (boolean value) |
true if the component is placed in the assembly, false if it is unplaced.
User Guide References:
GetIsPackaged |
boolean | GetIsPackaged | () |
true if the component is completely packaged, false if it is partially or fully constrained.
User Guide References:
GetIsUnderconstrained |
boolean | GetIsUnderconstrained | () |
true if the component is partially constrained, false if it is fully packaged or fully constrained.
User Guide References:
GetIsFrozen |
boolean | GetIsFrozen | () |
true if the component is frozen due to missing references, false otherwise.
User Guide References:
GetConstraints |
| GetConstraints | () |
Returns a sequence of objects representing the component constraints.
Exceptions thrown (but not limited to):
User Guide References:
Returns:
Sequence of component constraints.
GetConstraintsWithCompPath |
| GetConstraintsWithCompPath | |
Returns a sequence of objects representing the component constraints.
Exceptions thrown (but not limited to):
User Guide References:
Parameters:
CompPath
The path from the top level assembly to the assembly owning the component feature, if the constraints are to contain external references. Pass null if the constraints will not contain external references.
Returns:
Sequence of component constraints.
SetConstraints |
void | SetConstraints | |
Sets the component constraints for the component feature.
Exceptions thrown (but not limited to):
<reference 6 to unknown entity pfcExceptions::pfcXToolkitInvalidReference> - Assembly reference must have Assembly Component Path.
User Guide References:
Parameters:
Constraints
Sequence of assembly component constraints.
ReferenceAssembly
The path from the top level assembly to the assembly owning the component feature, if the constraints are to contain external references. Pass null if the constraints will not contain external references.
Returns:
Regenerate |
void | Regenerate | () |
Regenerates the assembly component.
User Guide References:
Returns:
GetPosition |
| GetPosition | () |
SetPosition |
void | SetPosition | |
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):
User Guide References: