NX Open C++ Reference Guide
|
Edit the geometry references of an existing sketch dimension. More...
Public Types | |
enum | ExpOption { ExpOptionKeepExpression, ExpOptionMeasureGeometry } |
This enum determines the expression behavior when a dimension is attached to new geometry. More... | |
Public Member Functions | |
NXOpen::SketchDimensionBuilder::ExpOption | ExpressionOption () |
Returns the expression option Created in NX5.0.0. | |
NXOpen::SelectNXObject * | FirstGeometry () |
Returns the first geometry Created in NX5.0.0. | |
NXOpen::SelectNXObject * | SecondGeometry () |
Returns the second geometry. | |
void | SetExpressionOption (NXOpen::SketchDimensionBuilder::ExpOption option) |
Sets the expression option Created in NX5.0.0. | |
void | SetSnapRadius (double radius) |
Sets the snap radius. | |
double | SnapRadius () |
Returns the snap radius. |
Edit the geometry references of an existing sketch dimension.
For active dimensions, the driving expression can be kept or reset to the measured value of the new geometry.
To create a new instance of this class, use SketchCollection::CreateDimensionBuilder
Created in NX5.0.0.
Returns the expression option
Created in NX5.0.0.
License requirements : None
Returns the first geometry
Created in NX5.0.0.
License requirements : None
Returns the second geometry.
This will be NULL for Radius or Diameter dimensions.
Created in NX5.0.0.
License requirements : None
void NXOpen::SketchDimensionBuilder::SetExpressionOption | ( | NXOpen::SketchDimensionBuilder::ExpOption | option | ) |
Sets the expression option
Created in NX5.0.0.
License requirements : solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING")
option | option |
void NXOpen::SketchDimensionBuilder::SetSnapRadius | ( | double | radius | ) |
Sets the snap radius.
This is used to determine if the geometry is selected at a control point.
Created in NX5.0.0.
License requirements : solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING")
radius | radius |
double NXOpen::SketchDimensionBuilder::SnapRadius | ( | ) |
Returns the snap radius.
This is used to determine if the geometry is selected at a control point.
Created in NX5.0.0.
License requirements : None