RemoveHolesBuilder Class¶
-
class
NXOpen.Tooling.
RemoveHolesBuilder
¶ Bases:
NXOpen.Builder
Remove Hole is used to patch holes for a solid body.
It returns a delete face feature tag when success and NULL_TAG when fail. To create a new instance of this class, use
NXOpen.Tooling.ProgressiveDieManager.CreateRemoveHolesBuilder
Default values.
Property Value MergeOutput 0 SelectionType Body New in version NX8.5.0.
Properties¶
Property | Description |
---|---|
BodySelection | Returns the body selection |
FaceToPatch | Returns the face to patch |
HoleFace | Returns the hole faces |
MergeOutput | Returns or sets the reduce number of output features setting |
SelectionType | Returns or sets the selection type |
Tag | Returns the Tag for this object. |
Methods¶
Method | Description |
---|---|
AddHolesData | Add the hole data |
ClearHoleData | Clear all the hole data that was input to the builder. |
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. |
RemoveHoleData | Remove the hole from hole data from builder. |
SetHighlight | Set object highlight or unhighlight. |
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¶
RemoveHolesBuilderSelectionTypes Enumeration | select object types, body or face |
Property Detail¶
BodySelection¶
-
RemoveHolesBuilder.
BodySelection
¶ Returns the body selection
-------------------------------------
Getter Method
Signature
BodySelection()
Returns: Return type: NXOpen.ScCollector
New in version NX8.5.0.
License requirements: None.
FaceToPatch¶
-
RemoveHolesBuilder.
FaceToPatch
¶ Returns the face to patch
-------------------------------------
Getter Method
Signature
FaceToPatch()
Returns: Return type: NXOpen.ScCollector
New in version NX8.5.0.
License requirements: None.
HoleFace¶
-
RemoveHolesBuilder.
HoleFace
¶ Returns the hole faces
-------------------------------------
Getter Method
Signature
HoleFace()
Returns: Return type: NXOpen.ScCollector
New in version NX8.5.0.
License requirements: None.
MergeOutput¶
-
RemoveHolesBuilder.
MergeOutput
¶ Returns or sets the reduce number of output features setting
-------------------------------------
Getter Method
Signature
MergeOutput()
Returns: Return type: bool New in version NX8.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
MergeOutput(mergeOutput)
Parameters: mergeOutput (bool) – New in version NX8.5.0.
License requirements: prog_die_wizard (“UG/Progressive Die Wizard”)
SelectionType¶
-
RemoveHolesBuilder.
SelectionType
¶ Returns or sets the selection type
-------------------------------------
Getter Method
Signature
SelectionType()
Returns: Return type: NXOpen.Tooling.RemoveHolesBuilderSelectionTypes
New in version NX8.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
SelectionType(selType)
Parameters: selType ( NXOpen.Tooling.RemoveHolesBuilderSelectionTypes
) –New in version NX8.5.0.
License requirements: prog_die_wizard (“UG/Progressive Die Wizard”)
Method Detail¶
AddHolesData¶
-
RemoveHolesBuilder.
AddHolesData
¶ Add the hole data
Signature
AddHolesData(edges, faces)
Parameters: - edges (list of
NXOpen.Edge
) – the edges of the holes information - faces (list of
NXOpen.Face
) – the faces of the holes information
New in version NX8.5.0.
License requirements: prog_die_wizard (“UG/Progressive Die Wizard”)
- edges (list of
ClearHoleData¶
-
RemoveHolesBuilder.
ClearHoleData
¶ Clear all the hole data that was input to the builder.
Signature
ClearHoleData()
New in version NX8.5.0.
License requirements: prog_die_wizard (“UG/Progressive Die Wizard”)
RemoveHoleData¶
-
RemoveHolesBuilder.
RemoveHoleData
¶ Remove the hole from hole data from builder.
Signature
RemoveHoleData(holeName)
Parameters: holeName (str) – the hole name New in version NX8.5.0.
License requirements: prog_die_wizard (“UG/Progressive Die Wizard”)
SetHighlight¶
-
RemoveHolesBuilder.
SetHighlight
¶ Set object highlight or unhighlight.
Signature
SetHighlight(object, highlight)
Parameters: - object (
NXOpen.NXObject
) – the object to highlight or unhighlight. - highlight (bool) – the status to highlight or unhighlight.
New in version NX8.5.0.
License requirements: prog_die_wizard (“UG/Progressive Die Wizard”)
- object (
Validate¶
-
RemoveHolesBuilder.
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.