NXOpen C++ Reference Guide
|
Created in NX9.0.0.
More...
Public Types | |
enum | DrivingExpressionMode { DrivingExpressionModeMeasureGeometry, DrivingExpressionModeKeepExpression } |
the driving expression mode More... | |
enum | DrivingValueMethod { DrivingValueMethodInferred, DrivingValueMethodDriving, DrivingValueMethodReference } |
the driving value method More... | |
Public Member Functions | |
NXOpen::Annotations::DrivingValueBuilder::DrivingValueMethod | DrivingMethod () |
Returns the driving method Created in NX9.0.0. More... | |
NXOpen::Annotations::DrivingValueBuilder::DrivingExpressionMode | ExpressionMode () |
Returns the expression mode Created in NX9.0.0. More... | |
NXString | ExpressionName () |
Returns the expression name More... | |
NXOpen::Expression * | ExpressionValue () |
Returns the expression to get or set the driving value or the expression name. More... | |
bool | Reference () |
Returns the reference dimension toggle used to create the dimension as reference instead of driving. More... | |
void | SetDrivingMethod (NXOpen::Annotations::DrivingValueBuilder::DrivingValueMethod drivingMethod) |
Sets the driving method Created in NX9.0.0. More... | |
void | SetExpressionMode (NXOpen::Annotations::DrivingValueBuilder::DrivingExpressionMode expressionMode) |
Sets the expression mode Created in NX9.0.0. More... | |
void | SetExpressionName (const NXString &expressionName) |
Sets the expression name More... | |
void | SetExpressionName (const char *expressionName) |
Sets the expression name More... | |
void | SetReference (bool reference) |
Sets the reference dimension toggle used to create the dimension as reference instead of driving. More... | |
virtual bool | Validate () |
Validate whether the inputs to the component are sufficient for commit to be called. More... | |
Public Member Functions inherited from NXOpen::TaggedObject | |
tag_t | Tag () const |
Returns the tag of this object. More... | |
Created in NX9.0.0.
NXOpen::Annotations::DrivingValueBuilder::DrivingValueMethod NXOpen::Annotations::DrivingValueBuilder::DrivingMethod | ( | ) |
Returns the driving method
Created in NX9.0.0.
License requirements : None
NXOpen::Annotations::DrivingValueBuilder::DrivingExpressionMode NXOpen::Annotations::DrivingValueBuilder::ExpressionMode | ( | ) |
Returns the expression mode
Created in NX9.0.0.
License requirements : None
NXString NXOpen::Annotations::DrivingValueBuilder::ExpressionName | ( | ) |
Returns the expression name
Use NXOpen::Annotations::DrivingValueBuilder::ExpressionValue to get the expression.
Created in NX9.0.0.
License requirements : None
NXOpen::Expression* NXOpen::Annotations::DrivingValueBuilder::ExpressionValue | ( | ) |
Returns the expression to get or set the driving value or the expression name.
Created in NX9.0.0.
License requirements : None
bool NXOpen::Annotations::DrivingValueBuilder::Reference | ( | ) |
Returns the reference dimension toggle used to create the dimension as reference instead of driving.
Created in NX9.0.0.
License requirements : None
void NXOpen::Annotations::DrivingValueBuilder::SetDrivingMethod | ( | NXOpen::Annotations::DrivingValueBuilder::DrivingValueMethod | drivingMethod | ) |
Sets the driving method
Created in NX9.0.0.
License requirements : solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING") OR geometric_tol ("GDT")
drivingMethod | drivingmethod |
void NXOpen::Annotations::DrivingValueBuilder::SetExpressionMode | ( | NXOpen::Annotations::DrivingValueBuilder::DrivingExpressionMode | expressionMode | ) |
Sets the expression mode
Created in NX9.0.0.
License requirements : solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING") OR geometric_tol ("GDT")
expressionMode | expressionmode |
void NXOpen::Annotations::DrivingValueBuilder::SetExpressionName | ( | const NXString & | expressionName | ) |
Sets the expression name
Use NXOpen::Annotations::DrivingValueBuilder::ExpressionValue to get the expression and NXOpen::ExpressionCollection::Rename .
Created in NX9.0.0.
License requirements : solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING") OR geometric_tol ("GDT")
expressionName | expressionname |
void NXOpen::Annotations::DrivingValueBuilder::SetExpressionName | ( | const char * | expressionName | ) |
Sets the expression name
Use NXOpen::Annotations::DrivingValueBuilder::ExpressionValue to get the expression and NXOpen::ExpressionCollection::Rename .
Created in NX9.0.0.
License requirements : solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING") OR geometric_tol ("GDT")
expressionName | expressionname |
void NXOpen::Annotations::DrivingValueBuilder::SetReference | ( | bool | reference | ) |
Sets the reference dimension toggle used to create the dimension as reference instead of driving.
Created in NX9.0.0.
License requirements : solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING") OR geometric_tol ("GDT")
reference | reference |
|
virtual |
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.
Implements NXOpen::GeometricUtilities::IComponentBuilder.