SpindleSliderBuilder Class¶
-
class
NXOpen.Tooling.
SpindleSliderBuilder
¶ Bases:
NXOpen.Builder
Represents a
Tooling.SpindleSliderBuilder
to create a spindle sliderTo create a new instance of this class, use
NXOpen.Tooling.AutoDieCollection.CreateSpindleSliderBuilder()
New in version NX10.0.2.
Properties¶
Property | Description |
---|---|
DriveBody | Returns the drive body |
DriveVector | Returns or sets the direction that drive body drives spindle slider |
SpindleSliderBody | Returns the spindle slider body |
SpindleSliderName | Returns or sets the spindle slider name |
SpindleSliderVector | Returns or sets the direction spindle slider move along |
Tag | Returns the Tag for this object. |
Methods¶
Method | Description |
---|---|
Commit | Commits any edits that have been applied to the builder. |
DeleteSpindleSlider | Deletes the spindle slider |
Destroy | Deletes the builder, and cleans up any objects created by the builder. |
GetCommittedObjects | For builders that create more than one object, this method returns the objects that are created by commit. |
GetObject | Returns the object currently being edited by this builder. |
ShowResults | Updates the model to reflect the result of an edit to the model for all builders that support showing results. |
Validate | Validate whether the inputs to the component are sufficient for commit to be called. |
Property Detail¶
DriveBody¶
-
SpindleSliderBuilder.
DriveBody
¶ Returns the drive body
-------------------------------------
Getter Method
Signature
DriveBody
Returns: Solid body, sheet body or facet body Return type: NXOpen.SelectNXObjectList
New in version NX10.0.2.
License requirements: None.
DriveVector¶
-
SpindleSliderBuilder.
DriveVector
¶ Returns or sets the direction that drive body drives spindle slider
-------------------------------------
Getter Method
Signature
DriveVector
Returns: Return type: NXOpen.Direction
New in version NX10.0.2.
License requirements: None.
-------------------------------------
Setter Method
Signature
DriveVector
Parameters: driveVector ( NXOpen.Direction
) –New in version NX10.0.2.
License requirements: nx_dievalidation (“DIE VALIDATION”)
SpindleSliderBody¶
-
SpindleSliderBuilder.
SpindleSliderBody
¶ Returns the spindle slider body
-------------------------------------
Getter Method
Signature
SpindleSliderBody
Returns: Solid body, sheet body or facet body Return type: NXOpen.SelectNXObjectList
New in version NX10.0.2.
License requirements: None.
SpindleSliderName¶
-
SpindleSliderBuilder.
SpindleSliderName
¶ Returns or sets the spindle slider name
-------------------------------------
Getter Method
Signature
SpindleSliderName
Returns: Return type: str New in version NX10.0.2.
License requirements: None.
-------------------------------------
Setter Method
Signature
SpindleSliderName
Parameters: spindleSliderName (str) – New in version NX10.0.2.
License requirements: nx_dievalidation (“DIE VALIDATION”)
SpindleSliderVector¶
-
SpindleSliderBuilder.
SpindleSliderVector
¶ Returns or sets the direction spindle slider move along
-------------------------------------
Getter Method
Signature
SpindleSliderVector
Returns: Return type: NXOpen.Direction
New in version NX10.0.2.
License requirements: None.
-------------------------------------
Setter Method
Signature
SpindleSliderVector
Parameters: spindleSliderVector ( NXOpen.Direction
) –New in version NX10.0.2.
License requirements: nx_dievalidation (“DIE VALIDATION”)
Method Detail¶
DeleteSpindleSlider¶
-
SpindleSliderBuilder.
DeleteSpindleSlider
¶ Deletes the spindle slider
Signature
DeleteSpindleSlider(spindleSliderName)
Parameters: spindleSliderName (str) – New in version NX10.0.2.
License requirements: nx_dievalidation (“DIE VALIDATION”)
Validate¶
-
SpindleSliderBuilder.
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.