SelectPartBuilder Class¶
-
class
NXOpen.Features.ShipDesign.
SelectPartBuilder
¶ Bases:
NXOpen.TaggedObject
,NXOpen.GeometricUtilities.IComponentBuilder
Represents a
NXOpen.Features.ShipDesign.SelectPartBuilder
.This class is to select ship basic design part. .. versionadded:: NX11.0.0
Properties¶
Property | Description |
---|---|
SectionFrameType | Returns or sets the select type. |
Tag | Returns the Tag for this object. |
Methods¶
Method | Description |
---|---|
SetFrameParts | Set frame part names. |
SetSectionBlockParts | The section block part file name. |
Validate | Validate whether the inputs to the component are sufficient for commit to be called. |
Enumerations¶
SelectPartBuilderTypes Enumeration | Type. |
Property Detail¶
SectionFrameType¶
-
SelectPartBuilder.
SectionFrameType
¶ Returns or sets the select type.
-------------------------------------
Getter Method
Signature
SectionFrameType
Returns: Return type: NXOpen.Features.ShipDesign.SelectPartBuilderTypes
New in version NX11.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
SectionFrameType
Parameters: type ( NXOpen.Features.ShipDesign.SelectPartBuilderTypes
) –New in version NX11.0.0.
License requirements: nx_ship_basic (“Ship Basic Design”)
Method Detail¶
SetFrameParts¶
-
SelectPartBuilder.
SetFrameParts
¶ Set frame part names.
Signature
SetFrameParts(framePartFilenames)
Parameters: framePartFilenames (list of str) – New in version NX11.0.0.
License requirements: nx_ship_basic (“Ship Basic Design”)
SetSectionBlockParts¶
-
SelectPartBuilder.
SetSectionBlockParts
¶ The section block part file name.
Signature
SetSectionBlockParts(sectionParts)
Parameters: sectionParts (list of str) – New in version NX11.0.0.
License requirements: nx_ship_basic (“Ship Basic Design”)
Validate¶
-
SelectPartBuilder.
Validate
¶ Validate whether the inputs to the component are sufficient for commit to be called.
If the component is not in a state to commit then an exception is thrown. For example, if the component requires you to set some property, this method will throw an exception if you haven’t set it. This method throws a not-yet-implemented NXException for some components.
Signature
Validate()
Returns: Was self validation successful Return type: bool New in version NX3.0.1.
License requirements: None.