NX Open C++ Reference Guide
Public Types | Public Member Functions | List of all members
NXOpen::Annotations::DrivingValueBuilder Class Reference


Created in NX9.0.0. More...

Inheritance diagram for NXOpen::Annotations::DrivingValueBuilder:
NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

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
Created in NX9.0.0. More...
 
NXOpen::ExpressionExpressionValue ()
 Returns the expression value
Created in NX9.0.0. 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
Created in NX9.0.0. More...
 
void SetExpressionName (const char *expressionName)
 Sets the expression name
Created in NX9.0.0. 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...
 

Detailed Description


Created in NX9.0.0.


Member Enumeration Documentation

the driving expression mode

Enumerator
DrivingExpressionModeMeasureGeometry 

measure geometry

DrivingExpressionModeKeepExpression 

keep expression

the driving value method

Enumerator
DrivingValueMethodInferred 

inferred

DrivingValueMethodDriving 

driving

DrivingValueMethodReference 

reference

Member Function Documentation

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
Created in NX9.0.0.



License requirements : None

NXOpen::Expression* NXOpen::Annotations::DrivingValueBuilder::ExpressionValue ( )

Returns the expression value
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")

Parameters
drivingMethoddrivingmethod
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")

Parameters
expressionModeexpressionmode
void NXOpen::Annotations::DrivingValueBuilder::SetExpressionName ( const NXString expressionName)

Sets the expression name
Created in NX9.0.0.



License requirements : solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING") OR geometric_tol ("GDT")

Parameters
expressionNameexpressionname
void NXOpen::Annotations::DrivingValueBuilder::SetExpressionName ( const char *  expressionName)

Sets the expression name
Created in NX9.0.0.



License requirements : solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING") OR geometric_tol ("GDT")

Parameters
expressionNameexpressionname
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")

Parameters
referencereference
virtual bool NXOpen::Annotations::DrivingValueBuilder::Validate ( )
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.

Returns
Was self validation successful
Created in NX3.0.1.

License requirements : None

Implements NXOpen::GeometricUtilities::IComponentBuilder.


The documentation for this class was generated from the following file:
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.