DrivingValueBuilder Class¶
-
class
NXOpen.Annotations.
DrivingValueBuilder
¶ Bases:
NXOpen.TaggedObject
,NXOpen.GeometricUtilities.IComponentBuilder
New 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
DrivingMethod()
Returns: Return type: NXOpen.Annotations.DrivingValueBuilderDrivingValueMethod
New in version NX9.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
DrivingMethod(drivingMethod)
Parameters: 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
ExpressionMode()
Returns: Return type: NXOpen.Annotations.DrivingValueBuilderDrivingExpressionMode
New in version NX9.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
ExpressionMode(expressionMode)
Parameters: 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
ExpressionName()
Returns: Return type: str New in version NX9.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
ExpressionName(expressionName)
Parameters: 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
ExpressionValue()
Returns: Return type: NXOpen.Expression
New 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
Reference()
Returns: Return type: bool New in version NX9.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
Reference(reference)
Parameters: 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.