DrivingValueBuilder Class¶
-
class
NXOpen.Annotations.DrivingValueBuilder¶ Bases:
NXOpen.TaggedObject,NXOpen.GeometricUtilities.IComponentBuilderNew in version NX9.0.0.
Properties¶
| Property | Description |
|---|---|
| DrivingMethod | Returns or sets the driving method |
| ExpressionMode | Returns or sets the expression mode |
| ExpressionName | Returns or sets the expression name |
| ExpressionValue | Returns the expression value |
| Reference | Returns or sets the reference dimension toggle used to create the dimension as reference instead of driving. |
| 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¶
| DrivingValueBuilderDrivingExpressionMode Enumeration | the driving expression mode |
| DrivingValueBuilderDrivingValueMethod Enumeration | the driving value method |
Property Detail¶
DrivingMethod¶
-
DrivingValueBuilder.DrivingMethod¶ Returns or sets the driving method
-------------------------------------Getter Method
Signature
DrivingMethodReturns: Return type: NXOpen.Annotations.DrivingValueBuilderDrivingValueMethodNew in version NX9.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
DrivingMethodParameters: drivingMethod ( NXOpen.Annotations.DrivingValueBuilderDrivingValueMethod) –New in version NX9.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR drafting (“DRAFTING”) OR geometric_tol (“GDT”)
ExpressionMode¶
-
DrivingValueBuilder.ExpressionMode¶ Returns or sets the expression mode
-------------------------------------Getter Method
Signature
ExpressionModeReturns: Return type: NXOpen.Annotations.DrivingValueBuilderDrivingExpressionModeNew in version NX9.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ExpressionModeParameters: expressionMode ( NXOpen.Annotations.DrivingValueBuilderDrivingExpressionMode) –New in version NX9.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR drafting (“DRAFTING”) OR geometric_tol (“GDT”)
ExpressionName¶
-
DrivingValueBuilder.ExpressionName¶ Returns or sets the expression name
-------------------------------------Getter Method
Signature
ExpressionNameReturns: Return type: str New in version NX9.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ExpressionNameParameters: expressionName (str) – New in version NX9.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR drafting (“DRAFTING”) OR geometric_tol (“GDT”)
ExpressionValue¶
-
DrivingValueBuilder.ExpressionValue¶ Returns the expression value
-------------------------------------Getter Method
Signature
ExpressionValueReturns: Return type: NXOpen.ExpressionNew in version NX9.0.0.
License requirements: None.
Reference¶
-
DrivingValueBuilder.Reference¶ Returns or sets the reference dimension toggle used to create the dimension as reference instead of driving.
-------------------------------------Getter Method
Signature
ReferenceReturns: Return type: bool New in version NX9.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ReferenceParameters: reference (bool) – New in version NX9.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR drafting (“DRAFTING”) OR geometric_tol (“GDT”)
Method Detail¶
Validate¶
-
DrivingValueBuilder.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.