CreateTransitionBuilder Class¶
-
class
NXOpen.Facet.
CreateTransitionBuilder
¶ Bases:
NXOpen.Builder
Represents a
NXOpen.Facet.CreateTransitionBuilder
builder.This class creates the blend/chamfer of a facet body.
To create a new instance of this class, use
NXOpen.Facet.FacetModelingCollection.CreateCreateTransitionBuilder()
Default values.
Property Value Distance.Value 5 (millimeters part), 0.2 (inches part) IsClosed 0 IsEditCopy 0 Radius.Value 5 (millimeters part), 0.2 (inches part) New in version NX12.0.0.
Properties¶
Property | Description |
---|---|
Distance | Returns the distance. |
IsClosed | Returns or sets the is closed. |
IsEditCopy | Returns or sets the flag indicating if the transition is created on the copy of the input facet body. |
Radius | Returns the radius. |
SelectedBody | Returns or sets the selected facet body. |
SelectedPoints | Returns the selected points. |
Tag | Returns the Tag for this object. |
Type | Returns or sets the type. |
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. |
Enumerations¶
CreateTransitionBuilderTypes Enumeration | the transition type. |
Property Detail¶
Distance¶
-
CreateTransitionBuilder.
Distance
¶ Returns the distance.
This value is for chamfer operation.
-------------------------------------
Getter Method
Signature
Distance
Returns: Return type: NXOpen.Expression
New in version NX12.0.0.
License requirements: None.
IsClosed¶
-
CreateTransitionBuilder.
IsClosed
¶ Returns or sets the is closed.
The flag indicate if the edge is closed or not.
-------------------------------------
Getter Method
Signature
IsClosed
Returns: Return type: bool New in version NX12.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
IsClosed
Parameters: isClosed (bool) – New in version NX12.0.0.
License requirements: nx_polygon_modeling (” NX Polygon Modeling”)
IsEditCopy¶
-
CreateTransitionBuilder.
IsEditCopy
¶ Returns or sets the flag indicating if the transition is created on the copy of the input facet body.
-------------------------------------
Getter Method
Signature
IsEditCopy
Returns: Return type: bool New in version NX12.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
IsEditCopy
Parameters: isEditCopy (bool) – New in version NX12.0.0.
License requirements: nx_polygon_modeling (” NX Polygon Modeling”)
Radius¶
-
CreateTransitionBuilder.
Radius
¶ Returns the radius.
This value is for blend operation.
-------------------------------------
Getter Method
Signature
Radius
Returns: Return type: NXOpen.Expression
New in version NX12.0.0.
License requirements: None.
SelectedBody¶
-
CreateTransitionBuilder.
SelectedBody
¶ Returns or sets the selected facet body.
It could be a convergent object.
-------------------------------------
Getter Method
Signature
SelectedBody
Returns: Return type: NXOpen.DisplayableObject
New in version NX12.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
SelectedBody
Parameters: selectedBody ( NXOpen.DisplayableObject
) –New in version NX12.0.0.
License requirements: nx_polygon_modeling (” NX Polygon Modeling”)
SelectedPoints¶
-
CreateTransitionBuilder.
SelectedPoints
¶ Returns the selected points.
The points will define the edge which needs blend/chamfer.
-------------------------------------
Getter Method
Signature
SelectedPoints
Returns: Return type: NXOpen.Features.GeometricConstraintDataManager
New in version NX12.0.0.
License requirements: None.
Type¶
-
CreateTransitionBuilder.
Type
¶ Returns or sets the type.
This value defines the transition type.
-------------------------------------
Getter Method
Signature
Type
Returns: Return type: NXOpen.Facet.CreateTransitionBuilderTypes
New in version NX12.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
Type
Parameters: type ( NXOpen.Facet.CreateTransitionBuilderTypes
) –New in version NX12.0.0.
License requirements: nx_polygon_modeling (” NX Polygon Modeling”)
Method Detail¶
Validate¶
-
CreateTransitionBuilder.
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.