HoleReportBuilder Class¶
-
class
NXOpen.Tooling.HoleReportBuilder¶ Bases:
NXOpen.BuilderRepresents a
NXOpen.Tooling.HoleReportBuilderThis class is for Hole Report Design UITo create a new instance of this class, use
NXOpen.Tooling.HoleReportCollection.CreateHoleReportBuilder()Default values.
Property Value QuadrantType PositiveQuadrantI SelectionType ViewSelection New in version NX6.0.0.
Properties¶
| Property | Description |
|---|---|
| CreatedOrdinateOrigin | Returns or sets the created ordinate origin |
| HoleTable | Returns the hole table to edit |
| OrdinateOrigin | Returns the ordinate origin to get the coords in given ordinate |
| QuadrantType | Returns or sets the positive quadrant type |
| SelectionType | Returns or sets the selection type to choose select view or holes in window to create hole report |
| TableAddHole | Returns the holes to add to the table |
| TableHole | Returns the holes in window to create hole report |
| TableOrigin | Returns or sets the table origin |
| TableView | Returns the view to create hole report |
| Tag | Returns the Tag for this object. |
| Type | Returns or sets the type of hole table |
Methods¶
| Method | Description |
|---|---|
| Commit | Commits any edits that have been applied to the builder. |
| CreateOrdinateOrigin | Create Ordinate Origin |
| 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¶
| HoleReportBuilderEnumQuadrantType Enumeration | Specifies the option of which quadrant is positive |
| HoleReportBuilderEnumSelectionType Enumeration | Specifies the option of selection type to create hole table |
| HoleReportBuilderTypes Enumeration | Specifies the option of hole table type |
Property Detail¶
CreatedOrdinateOrigin¶
-
HoleReportBuilder.CreatedOrdinateOrigin¶ Returns or sets the created ordinate origin
-------------------------------------Getter Method
Signature
CreatedOrdinateOriginReturns: Returns the created ordinate origin Return type: NXOpen.TaggedObjectNew in version NX6.0.3.
License requirements: None.
-------------------------------------Setter Method
Signature
CreatedOrdinateOriginParameters: ordinateOriginTag ( NXOpen.TaggedObject) – Sets the created ordinate originNew in version NX6.0.3.
License requirements: None.
HoleTable¶
-
HoleReportBuilder.HoleTable¶ Returns the hole table to edit
-------------------------------------Getter Method
Signature
HoleTableReturns: Returns the hole table to edit Return type: NXOpen.SelectEdgeListNew in version NX6.0.0.
License requirements: None.
OrdinateOrigin¶
-
HoleReportBuilder.OrdinateOrigin¶ Returns the ordinate origin to get the coords in given ordinate
-------------------------------------Getter Method
Signature
OrdinateOriginReturns: Returns the edge in which the ordinate origin is Return type: NXOpen.SelectPointListNew in version NX6.0.0.
License requirements: None.
QuadrantType¶
-
HoleReportBuilder.QuadrantType¶ Returns or sets the positive quadrant type
-------------------------------------Getter Method
Signature
QuadrantTypeReturns: Returns the positive quadrant type Return type: NXOpen.Tooling.HoleReportBuilderEnumQuadrantTypeNew in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
QuadrantTypeParameters: quadrantType ( NXOpen.Tooling.HoleReportBuilderEnumQuadrantType) – Sets the positive quadrant typeNew in version NX6.0.0.
License requirements: None.
SelectionType¶
-
HoleReportBuilder.SelectionType¶ Returns or sets the selection type to choose select view or holes in window to create hole report
-------------------------------------Getter Method
Signature
SelectionTypeReturns: Returns the selection type value Return type: NXOpen.Tooling.HoleReportBuilderEnumSelectionTypeNew in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
SelectionTypeParameters: selectionType ( NXOpen.Tooling.HoleReportBuilderEnumSelectionType) – Sets the selection type valueNew in version NX6.0.0.
License requirements: None.
TableAddHole¶
-
HoleReportBuilder.TableAddHole¶ Returns the holes to add to the table
-------------------------------------Getter Method
Signature
TableAddHoleReturns: Returns the holes to add to the table Return type: NXOpen.SelectEdgeListNew in version NX6.0.0.
License requirements: None.
TableHole¶
-
HoleReportBuilder.TableHole¶ Returns the holes in window to create hole report
-------------------------------------Getter Method
Signature
TableHoleReturns: Returns the holes in window to create hole table Return type: NXOpen.SelectEdgeListNew in version NX6.0.0.
License requirements: None.
TableOrigin¶
-
HoleReportBuilder.TableOrigin¶ Returns or sets the table origin
-------------------------------------Getter Method
Signature
TableOriginReturns: Returns the table origin to create hole table Return type: NXOpen.PointNew in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
TableOriginParameters: tableOrigin ( NXOpen.Point) – Sets the table origin to create hole tableNew in version NX6.0.0.
License requirements: None.
TableView¶
-
HoleReportBuilder.TableView¶ Returns the view to create hole report
-------------------------------------Getter Method
Signature
TableViewReturns: Returns the view to create hole table Return type: NXOpen.Drawings.SelectDraftingViewListNew in version NX6.0.0.
License requirements: None.
Type¶
-
HoleReportBuilder.Type¶ Returns or sets the type of hole table
-------------------------------------Getter Method
Signature
TypeReturns: Return type: NXOpen.Tooling.HoleReportBuilderTypesNew in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
TypeParameters: type ( NXOpen.Tooling.HoleReportBuilderTypes) –New in version NX7.5.0.
License requirements: None.
Method Detail¶
CreateOrdinateOrigin¶
-
HoleReportBuilder.CreateOrdinateOrigin¶ Create Ordinate Origin
Signature
CreateOrdinateOrigin(quadrant, viewTag, pointData)Parameters: - quadrant (int) – value of the positive quadrant
- viewTag (
NXOpen.TaggedObject) – the view - pointData (
NXOpen.Point3d) – data of the cursor point
Returns: the new ordinate
Return type: New in version NX6.0.3.
License requirements: None.
Validate¶
-
HoleReportBuilder.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.