| Library | Package | Frames | Expand | Java Toolkit |
| Method Summary | |
|---|---|
| /*optional*/ XSectionCutComponents | CollectCutComponents
(
/*optional*/
View2D DrawingView)
Returns sequence of XSectionCutComponent objects. A sequence item is created for each body. If no bodies are created, contains one XSectionCutComponent for each component. |
| /*optional*/ XSectionGeometries | CollectGeometry
(
/*optional*/
View2D DrawingView)
DEPRECATED: <incorrect deprecated ref> SUCCESSOR(S): WXSection.CollectCutComponents Retrieves the geometry of non-empty cross-section components (intersecting their sub-assemblies) |
| /*optional*/ XSectionComponents | GetComponents
()
DEPRECATED: <incorrect deprecated ref> SUCCESSOR(S): <reference 1 to unknown entity > Gets componets which are included or excluded from cross section definition |
| /*optional*/ XSectionHatches | GetCompXSectionHatches
(int XSecCompId,
/*optional*/
View2D DrawingView)
DEPRECATED: <incorrect deprecated ref> SUCCESSOR(S): XSectionCutComponentItem.GetXHatchStyle, XSectionCutComponent.GetXHatchStyle Gets line patterns in cross section |
| /*optional*/ XSectionExcludeItems | GetExcludedItems
()
Returns object containing excluded/included components and bodies and their excluded/included status. |
| /*optional*/ Feature | GetFeature
()
Returns feature representing cross section. Method should be called only if WModel.CanCreateSectionFeature() returns |
| boolean | GetFlip
()
Gets model clipping direction |
| MassProperty | GetMassProperty
(String CsysName)
Mass Property related information. Only following methods should be called on this MassProperty object MassProperty.GetSurfaceArea(double) MassProperty.GetGravityCenter(Point3D) MassProperty.GetCoordSysInertia(Inertia) |
| String | GetName
()
Returns name of the cross section |
| OffsetXSectionData | GetOffsetXSectionData
(
/*optional*/
View2D DrawingView)
Get parameters of offset cross section |
| Surface | GetPlane
()
Returns the plane of a given Cross Section. |
| boolean | IsFeature
()
Determines if cross section is feature |
| void | SetCompXSectionHatches
(int XSecCompId,
/*optional*/
View2D DrawingView,
/*optional*/
XSectionHatches Hatches)
DEPRECATED: <incorrect deprecated ref> SUCCESSOR(S): XSectionCutComponentItem.SetXHatchStyle, XSectionCutComponent.SetXHatchStyle Sets line patterns on cross section component |
| void | SetName
(String XSectionName)
Renames the cross section |
| 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.pfcObject.Child |
|---|
| GetDBParent, GetOId |
| Methods Inherited from Interface com.ptc.pfc.pfcModelItem.ModelItem |
|---|
| GetName, SetName, GetId, GetType |
| Methods Inherited from Interface com.ptc.wfc.wfcModelItem.WModelItem |
|---|
| DeleteUserDefinedName, Unhide, Hide, IsHidden, IsNameReadOnly, IsZoneFeature, GetDefaultName |
| Methods Inherited from Interface com.ptc.wfc.wfcLayerState.LayerItem |
|---|
| IsLayerItemVisible, RemoveNoUpdate, GetLayers, AddNoUpdate |
| Methods Inherited from Interface com.ptc.pfc.pfcXSection.XSection |
|---|
| GetName, SetName, GetXSecType, Delete, Display, Regenerate |
| Method Detail |
|---|
| SetCompXSectionHatches |
|---|
| void | SetCompXSectionHatches | (int XSecCompId, /*optional*/ View2D DrawingView, /*optional*/ XSectionHatches Hatches) |
| Sets line patterns on cross section component Exceptions thrown (but not limited to): XToolkitNotFound - Input cross-section is not a drawing view cross-section or doesn't have the component with given id that is inside the view. XToolkitFound - Cross-section component already has the input line pattern. Nothing added. XToolkitEmpty - Empty sequence of line patterns.
|
| GetCompXSectionHatches |
|---|
| /*optional*/ XSectionHatches | GetCompXSectionHatches | (int XSecCompId, /*optional*/ View2D DrawingView) |
| Gets line patterns in cross section Exceptions thrown (but not limited to): XToolkitNotFound - Input cross-section is not a drawing view cross-section or doesn't have the component with given id that is inside the view or the component doesn't have xhatches.
|
| GetFeature |
|---|
| /*optional*/ Feature | GetFeature | () |
|
Returns feature representing cross section. Method should be called only if WModel.CanCreateSectionFeature() returns Exceptions thrown (but not limited to): XToolkitBadContext - Legacy cross sections.
|
| GetMassProperty |
|---|
| MassProperty | GetMassProperty | (String CsysName) |
| Mass Property related information. Only following methods should be called on this MassProperty object MassProperty.GetSurfaceArea(double) MassProperty.GetGravityCenter(Point3D) MassProperty.GetCoordSysInertia(Inertia)
|
| CollectGeometry |
|---|
| /*optional*/ XSectionGeometries | CollectGeometry | ( /*optional*/ View2D DrawingView) |
| Retrieves the geometry of non-empty cross-section components (intersecting their sub-assemblies) Exceptions thrown (but not limited to): XToolkitNotFound - Input cross-section is not a drawing view cross-section.
|
| CollectCutComponents |
|---|
| /*optional*/ XSectionCutComponents | CollectCutComponents | ( /*optional*/ View2D DrawingView) |
Returns sequence of XSectionCutComponent objects.
A sequence item is created for each body.
If no bodies are created, contains one XSectionCutComponent for each component.
|
| GetPlane |
|---|
| Surface | GetPlane | () |
| Returns the plane of a given Cross Section. Exceptions thrown (but not limited to): XToolkitNotImplemented - This is not a planar cross-section.
|
| IsFeature |
|---|
| boolean | IsFeature | () |
Determines if cross section is feature
|
| GetOffsetXSectionData |
|---|
| OffsetXSectionData | GetOffsetXSectionData | ( /*optional*/ View2D DrawingView) |
| Get parameters of offset cross section Exceptions thrown (but not limited to): XToolkitNotImplemented - Some of X-section entities is not a line segment.
|
| GetName |
|---|
| String | GetName | () |
Returns name of the cross section
|
| SetName |
|---|
| void | SetName | (String XSectionName) |
Renames the cross section
|
| GetFlip |
|---|
| boolean | GetFlip | () |
Gets model clipping direction
|
| GetComponents |
|---|
| /*optional*/ XSectionComponents | GetComponents | () |
Gets componets which are included or excluded from cross section definition
|
| GetExcludedItems |
|---|
| /*optional*/ XSectionExcludeItems | GetExcludedItems | () |
Returns object containing excluded/included components and bodies and their excluded/included status.
|