DimensionMeasurementBuilder Class¶
-
class
NXOpen.Annotations.
DimensionMeasurementBuilder
¶ Bases:
NXOpen.TaggedObject
,NXOpen.GeometricUtilities.IComponentBuilder
Represents a
NXOpen.Annotations.DimensionMeasurementBuilder
This is a sub-builder class and cannot be directly instantiated
New in version NX9.0.0.
Properties¶
Property | Description |
---|---|
Direction | Returns or sets the measurement direction when using NXOpen.Annotations.DimensionMeasurementBuilderMeasurementMethod.PointToPoint (optional) |
DirectionView | Returns or sets the measurement direction view when using NXOpen.Annotations.DimensionMeasurementBuilderMeasurementMethod.PointToPoint (optional) |
Method | Returns or sets the measurement method for the size of the dimension |
PartOccurrence | Returns or sets the measurement part occurrence |
Tag | Returns the Tag for this object. |
Methods¶
Method | Description |
---|---|
Validate | Validate whether the inputs to the component are sufficient for commit to be called. |
Enumerations¶
DimensionMeasurementBuilderMeasurementMethod Enumeration | measurement method for the dimensions |
Property Detail¶
Direction¶
-
DimensionMeasurementBuilder.
Direction
¶ Returns or sets the measurement direction when using
NXOpen.Annotations.DimensionMeasurementBuilderMeasurementMethod.PointToPoint
(optional)-------------------------------------
Getter Method
Signature
Direction()
Returns: Return type: NXOpen.Direction
New in version NX9.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
Direction(direction)
Parameters: direction ( NXOpen.Direction
) –New in version NX9.0.0.
License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”) OR solid_modeling (“SOLIDS MODELING”)
DirectionView¶
-
DimensionMeasurementBuilder.
DirectionView
¶ Returns or sets the measurement direction view when using
NXOpen.Annotations.DimensionMeasurementBuilderMeasurementMethod.PointToPoint
(optional)-------------------------------------
Getter Method
Signature
DirectionView()
Returns: Return type: NXOpen.View
New in version NX9.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
DirectionView(directionView)
Parameters: directionView ( NXOpen.View
) –New in version NX9.0.0.
License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”) OR solid_modeling (“SOLIDS MODELING”)
Method¶
-
DimensionMeasurementBuilder.
Method
¶ Returns or sets the measurement method for the size of the dimension
-------------------------------------
Getter Method
Signature
Method()
Returns: Return type: NXOpen.Annotations.DimensionMeasurementBuilderMeasurementMethod
New in version NX9.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
Method(method)
Parameters: method ( NXOpen.Annotations.DimensionMeasurementBuilderMeasurementMethod
) –New in version NX9.0.0.
License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”) OR solid_modeling (“SOLIDS MODELING”)
PartOccurrence¶
-
DimensionMeasurementBuilder.
PartOccurrence
¶ Returns or sets the measurement part occurrence
-------------------------------------
Getter Method
Signature
PartOccurrence()
Returns: Return type: NXOpen.Assemblies.Component
New in version NX9.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
PartOccurrence(partOccurrence)
Parameters: partOccurrence ( NXOpen.Assemblies.Component
) –New in version NX9.0.0.
License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”) OR solid_modeling (“SOLIDS MODELING”)
Method Detail¶
Validate¶
-
DimensionMeasurementBuilder.
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.