MergeFacetBodyBuilder Class¶
-
class
NXOpen.Facet.
MergeFacetBodyBuilder
¶ Bases:
NXOpen.Builder
Represents a
NXOpen.Facet.MergeFacetBodyBuilder
It merges two overlapping NX facet bodies.It returns a new mergered NX facet body. The two input bodies can be kept, deleted or hidden.
To create a new instance of this class, use
NXOpen.Facet.FacetedBodyCollection.CreateMergeFacetBodyBuilder
Default values.
Property Value ChordHeight.Value 0.05 (millimeters part), 0.005 (inches part) EdgeLength.Value 1 (millimeters part), 0.1 (inches part) InputStatus Keep New in version NX9.0.0.
Properties¶
Property | Description |
---|---|
AngleTolerance | Returns or sets the angle tolerance used in the merge facet body feature |
ChordHeight | Returns the chord height to control the size of new facets |
DistanceTolerance | Returns or sets the distance tolerance used in the merge facet body feature |
EdgeLength | Returns the edge length to control the size of new facets |
FacetBodyOne | Returns the first NX facet body to be merged |
FacetBodyTwo | Returns the second NX facet body to be merged |
InputStatus | Returns or sets the option to specify how to deal with the input two facet bodies: keep, delete or hide |
Tag | Returns the Tag for this object. |
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¶
MergeFacetBodyBuilderInput Enumeration | Represents the option for keeping, deleting or hiding input two facet bodies after builder committing |
Property Detail¶
AngleTolerance¶
-
MergeFacetBodyBuilder.
AngleTolerance
¶ Returns or sets the angle tolerance used in the merge facet body feature
-------------------------------------
Getter Method
Signature
AngleTolerance()
Returns: Return type: float New in version NX9.0.2.
License requirements: None.
-------------------------------------
Setter Method
Signature
AngleTolerance(angleTolerance)
Parameters: angleTolerance (float) – New in version NX9.0.2.
License requirements: None.
ChordHeight¶
-
MergeFacetBodyBuilder.
ChordHeight
¶ Returns the chord height to control the size of new facets
-------------------------------------
Getter Method
Signature
ChordHeight()
Returns: Return type: NXOpen.Expression
New in version NX9.0.0.
License requirements: None.
DistanceTolerance¶
-
MergeFacetBodyBuilder.
DistanceTolerance
¶ Returns or sets the distance tolerance used in the merge facet body feature
-------------------------------------
Getter Method
Signature
DistanceTolerance()
Returns: Return type: float New in version NX9.0.2.
License requirements: None.
-------------------------------------
Setter Method
Signature
DistanceTolerance(distanceTolerance)
Parameters: distanceTolerance (float) – New in version NX9.0.2.
License requirements: None.
EdgeLength¶
-
MergeFacetBodyBuilder.
EdgeLength
¶ Returns the edge length to control the size of new facets
-------------------------------------
Getter Method
Signature
EdgeLength()
Returns: Return type: NXOpen.Expression
New in version NX9.0.0.
License requirements: None.
FacetBodyOne¶
-
MergeFacetBodyBuilder.
FacetBodyOne
¶ Returns the first NX facet body to be merged
-------------------------------------
Getter Method
Signature
FacetBodyOne()
Returns: Return type: NXOpen.Facet.SelectFacetedBody
New in version NX9.0.0.
License requirements: None.
FacetBodyTwo¶
-
MergeFacetBodyBuilder.
FacetBodyTwo
¶ Returns the second NX facet body to be merged
-------------------------------------
Getter Method
Signature
FacetBodyTwo()
Returns: Return type: NXOpen.Facet.SelectFacetedBody
New in version NX9.0.0.
License requirements: None.
InputStatus¶
-
MergeFacetBodyBuilder.
InputStatus
¶ Returns or sets the option to specify how to deal with the input two facet bodies: keep, delete or hide
-------------------------------------
Getter Method
Signature
InputStatus()
Returns: Return type: NXOpen.Facet.MergeFacetBodyBuilderInput
New in version NX9.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
InputStatus(inputStatus)
Parameters: inputStatus ( NXOpen.Facet.MergeFacetBodyBuilderInput
) –New in version NX9.0.0.
License requirements: studio_free_form (“STUDIO FREE FORM”) OR die_engineering (“DIE ENGINEERING”)
Method Detail¶
Validate¶
-
MergeFacetBodyBuilder.
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.