ExtrudeProfileBuilder Class¶
-
class
NXOpen.Facet.
ExtrudeProfileBuilder
¶ Bases:
NXOpen.Builder
Represents a
NXOpen.Facet.ExtrudeProfileBuilder
It extrudes 3D closed profile between planes.The two planes are defined by direction and distance. It returns the extruded NX Facet Body.
To create a new instance of this class, use
NXOpen.Facet.FacetedBodyCollection.CreateExtrudeProfileBuilder
Default values.
Property Value FirstDistance.Value 0 (millimeters part), 0 (inches part) Offset.Value 0 (millimeters part), 0 (inches part) SecondDistance.Value 0 (millimeters part), 0 (inches part) Tolerance.Value 0.01 (millimeters part), 0.001 (inches part) New in version NX9.0.0.
Properties¶
Property | Description |
---|---|
Direction | Returns or sets the extrude direction |
FirstDistance | Returns the first distance to extrude |
Offset | Returns the offset used to offset the extruded body |
Profile | Returns the 3D profile to be extruded |
SecondDistance | Returns the second distance to extrude |
Tag | Returns the Tag for this object. |
Tolerance | Returns the tolerance used to create the polyline |
Methods¶
Method | Description |
---|---|
Commit | Commits any edits that have been applied to the builder. |
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¶
Direction¶
-
ExtrudeProfileBuilder.
Direction
¶ Returns or sets the extrude direction
-------------------------------------
Getter Method
Signature
Direction()
Returns: Return type: NXOpen.Direction
New in version NX9.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
Direction(direction)
Parameters: direction ( NXOpen.Direction
) –New in version NX9.0.0.
License requirements: studio_free_form (“STUDIO FREE FORM”) OR die_engineering (“DIE ENGINEERING”)
FirstDistance¶
-
ExtrudeProfileBuilder.
FirstDistance
¶ Returns the first distance to extrude
-------------------------------------
Getter Method
Signature
FirstDistance()
Returns: Return type: NXOpen.Expression
New in version NX9.0.0.
License requirements: None.
Offset¶
-
ExtrudeProfileBuilder.
Offset
¶ Returns the offset used to offset the extruded body
-------------------------------------
Getter Method
Signature
Offset()
Returns: Return type: NXOpen.Expression
New in version NX9.0.0.
License requirements: None.
Profile¶
-
ExtrudeProfileBuilder.
Profile
¶ Returns the 3D profile to be extruded
-------------------------------------
Getter Method
Signature
Profile()
Returns: Return type: NXOpen.Section
New in version NX9.0.0.
License requirements: None.
SecondDistance¶
-
ExtrudeProfileBuilder.
SecondDistance
¶ Returns the second distance to extrude
-------------------------------------
Getter Method
Signature
SecondDistance()
Returns: Return type: NXOpen.Expression
New in version NX9.0.0.
License requirements: None.
Tolerance¶
-
ExtrudeProfileBuilder.
Tolerance
¶ Returns the tolerance used to create the polyline
-------------------------------------
Getter Method
Signature
Tolerance()
Returns: Return type: NXOpen.Expression
New in version NX9.0.0.
License requirements: None.
Method Detail¶
Validate¶
-
ExtrudeProfileBuilder.
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.