HoleTableBuilder Class¶
-
class
NXOpen.Annotations.
HoleTableBuilder
¶ Bases:
NXOpen.Builder
Represents a
NXOpen.Annotations.HoleTableBuilder
.This class queries and sets settings specific to holes when creating or editing hole table.
To create a new instance of this class, use
NXOpen.Annotations.HoleTableCollection.CreateHoleTableBuilder()
New in version NX9.0.0.
Properties¶
Property | Description |
---|---|
Baseline | Returns the ordinate baseline |
Inherit | Returns the inherit hole table |
OrdinateOrigin | Returns the Ordinate Origin of the hole table |
Origin | Returns the hole table origin |
SelectedObjects | Returns the list of selected objects. |
Style | Returns the hole table style |
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. |
ResetHoletableOrdinateOrigin | Reset the Ordinate Origin of the hole table |
ResetLabelPosition | Reset all the hole label’s position of hole table |
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¶
Baseline¶
-
HoleTableBuilder.
Baseline
¶ Returns the ordinate baseline
-------------------------------------
Getter Method
Signature
Baseline
Returns: Return type: NXOpen.Annotations.OrdinateBaselineBuilder
New in version NX9.0.0.
License requirements: None.
Inherit¶
-
HoleTableBuilder.
Inherit
¶ Returns the inherit hole table
-------------------------------------
Getter Method
Signature
Inherit
Returns: Return type: NXOpen.SelectDisplayableObject
New in version NX9.0.0.
License requirements: None.
OrdinateOrigin¶
-
HoleTableBuilder.
OrdinateOrigin
¶ Returns the Ordinate Origin of the hole table
-------------------------------------
Getter Method
Signature
OrdinateOrigin
Returns: Return type: NXOpen.SelectDisplayableObject
New in version NX9.0.0.
License requirements: None.
Origin¶
-
HoleTableBuilder.
Origin
¶ Returns the hole table origin
-------------------------------------
Getter Method
Signature
Origin
Returns: Return type: NXOpen.Annotations.OriginBuilder
New in version NX9.0.0.
License requirements: None.
SelectedObjects¶
-
HoleTableBuilder.
SelectedObjects
¶ Returns the list of selected objects.
These object can be of type view, solid_body and/or holes
-------------------------------------
Getter Method
Signature
SelectedObjects
Returns: Return type: NXOpen.SelectNXObjectList
New in version NX9.0.0.
License requirements: None.
Style¶
-
HoleTableBuilder.
Style
¶ Returns the hole table style
-------------------------------------
Getter Method
Signature
Style
Returns: Return type: NXOpen.Annotations.TableStyleBuilder
New in version NX9.0.0.
License requirements: None.
Method Detail¶
ResetHoletableOrdinateOrigin¶
-
HoleTableBuilder.
ResetHoletableOrdinateOrigin
¶ Reset the Ordinate Origin of the hole table
Signature
ResetHoletableOrdinateOrigin()
New in version NX9.0.0.
License requirements: None.
ResetLabelPosition¶
-
HoleTableBuilder.
ResetLabelPosition
¶ Reset all the hole label’s position of hole table
Signature
ResetLabelPosition()
New in version NX9.0.0.
License requirements: None.
Validate¶
-
HoleTableBuilder.
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.