| Library | Package | Frames | Expand | Java Toolkit |
| Method Summary | |
|---|---|
| void | AutoInterchange
(intseq ComponentIDs, WSolid ReplacementModel)
Performs the automatic replacement of assembly member(s). |
| AssemblyItem | CreateAssemblyItem
(AssemblyItemInstructions AsmItemInstrs)
Create an 'assembly item' for defining flexible components |
| WExplodedState | CreateExplodedState
(String Name,
/*optional*/
ExplodedAnimationMoveInstructions AnimMoveInstructions)
Creates an explode state |
| void | DeleteExplodedState
(WExplodedState ExplodedState)
Deletes an explode state |
| void | ExpandLightweightGraphicsSimprep
(Selection TreeItem, LightweightGraphicsSimprepLevel LWG_Level)
Expands the light weight graphics representation to the specified level. |
| Connectors | GetConnectors
()
Gets the Connectors in the Assembly. |
| WExplodedState | GetExplodeStateFromId
(int ExplodedStateId)
Gets the exploded state having given ID |
| WExplodedState | GetExplodeStateFromName
(String ExplodedStateName)
Gets the exploded state having given name |
| Harnesses | GetHarnesses
()
Gets the Harnesses in the Assembly. |
| LineStocks | GetLinestocks
()
Gets the Linestocks in the Assembly. |
| Spools | GetSpools
()
Gets the Spools in the Assembly. |
| WComponentPaths | ListComponentsByAssemblyRule
(AssemblyRule AsmRule)
Returns a list of components that satisfy the specified rule. |
| /*optional*/ WComponentPaths | ListDisplayedComponents
()
Returns a list of all displayed components in the solid. |
| WExplodedState | SelectExplodedState
()
Enables the user to select an explode state |
| Status | VisitComponents
(VisitingClient visitingClient)
Visits components of an assembly |
| 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.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.wfc.wfcFamily.WFamilyMember |
|---|
| SelectRows, GetFamilyTableStatus, IsModifiable, EditFamilyTable, EraseFamilyTable, ShowFamilyTable |
| Method Detail |
|---|
| AutoInterchange |
|---|
| void | AutoInterchange | (intseq ComponentIDs, WSolid ReplacementModel) |
Performs the automatic replacement of assembly member(s).
|
| GetConnectors |
|---|
| Connectors | GetConnectors | () |
Gets the Connectors in the Assembly.
|
| GetHarnesses |
|---|
| Harnesses | GetHarnesses | () |
| Gets the Harnesses in the Assembly. Exceptions thrown (but not limited to): XToolkitNotFound - Harness not found in assembly.
|
| GetLinestocks |
|---|
| LineStocks | GetLinestocks | () |
| Gets the Linestocks in the Assembly. Exceptions thrown (but not limited to): XToolkitNotFound - No linestock found.
|
| GetSpools |
|---|
| Spools | GetSpools | () |
| Gets the Spools in the Assembly. Exceptions thrown (but not limited to): XToolkitNotFound - No spool found.
|
| CreateAssemblyItem |
|---|
| AssemblyItem | CreateAssemblyItem | (AssemblyItemInstructions AsmItemInstrs) |
Create an 'assembly item' for defining flexible components
|
| ExpandLightweightGraphicsSimprep |
|---|
| void | ExpandLightweightGraphicsSimprep | (Selection TreeItem, LightweightGraphicsSimprepLevel LWG_Level) |
| Expands the light weight graphics representation to the specified level. Exceptions thrown (but not limited to): XToolkitFound - The expand already exists till the selected level.
|
| ListComponentsByAssemblyRule |
|---|
| WComponentPaths | ListComponentsByAssemblyRule | (AssemblyRule AsmRule) |
| Returns a list of components that satisfy the specified rule. Exceptions thrown (but not limited to): XToolkitInvalidItem - The Rule is invalid.
|
| ListDisplayedComponents |
|---|
| /*optional*/ WComponentPaths | ListDisplayedComponents | () |
Returns a list of all displayed components in the solid.
|
| SelectExplodedState |
|---|
| WExplodedState | SelectExplodedState | () |
Enables the user to select an explode state
|
| GetExplodeStateFromName |
|---|
| WExplodedState | GetExplodeStateFromName | (String ExplodedStateName) |
| Gets the exploded state having given name Exceptions thrown (but not limited to): XToolkitFound - The function found the explode state in the solid. XToolkitNotFound - The function did not find the explode state in the solid. XToolkitInvalidPtr - p_solid is not a correct ProSolid pointer.
|
| GetExplodeStateFromId |
|---|
| WExplodedState | GetExplodeStateFromId | (int ExplodedStateId) |
| Gets the exploded state having given ID Exceptions thrown (but not limited to): XToolkitFound - The function found the explode state in the solid. XToolkitNotFound - The function did not find the explode state in the solid. XToolkitInvalidPtr - p_solid is not a correct ProSolid pointer.
|
| CreateExplodedState |
|---|
| WExplodedState | CreateExplodedState | (String Name, /*optional*/ ExplodedAnimationMoveInstructions AnimMoveInstructions) |
| Creates an explode state Exceptions thrown (but not limited to): XToolkitInvalidName - The explode state with given name cannot be created (there is an explode state with such name; or name contains invalid characters) XToolkitNotFound - Some ProAsmcomppath in comp_set for some moves do not correspond to any component (this error may be also returned for other non-specified cases).
|
| DeleteExplodedState |
|---|
| void | DeleteExplodedState | (WExplodedState ExplodedState) |
| Deletes an explode state Exceptions thrown (but not limited to): XToolkitNotFound - explode state was not found.
|
| VisitComponents |
|---|
| Status | VisitComponents | (VisitingClient visitingClient) |
| Visits components of an assembly If ApplyAction of the visiting client returns a value other than TK_NO_ERROR, this method returns. If ApplyFilter returns TK_CONTINUE, the item is skipped (not passed to ApplyAction). In C++ Object Toolkit, use wfcStatusToPro and wfcStatusFromPro to convert the returned status to ProError and back. In ApplyAction & ApplyFilter of the visiting client, pfcObject pointer must be cast as wfcWComponentFeat. Casting as other types may lead to unexpected behaviour Exceptions thrown (but not limited to): XToolkitNotFound - Either no features exist, or they were all filtered out by the filter function. <reference 6 to unknown entity pfcExceptions::pfcXInAMethod>
|