|
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. | |
Public Member Functions inherited from NXOpen::Builder | |
| NXOpen::NXObject * | Commit () |
| Commits any edits that have been applied to the builder. | |
| void | Destroy () |
| Deletes the builder, and cleans up any objects created by the builder. | |
| std::vector< NXOpen::NXObject * > | GetCommittedObjects () |
| For builders that create more than one object, this method returns the objects that are created by commit. | |
| NXOpen::NXObject * | GetObject () |
| Returns the object currently being edited by this builder. | |
| void | ShowResults () |
| Updates the model to reflect the result of an edit to the model for all builders that support showing results. | |
| virtual bool | Validate () |
| Validate whether the inputs to the component are sufficient for commit to be called. | |
Public Member Functions inherited from NXOpen::TaggedObject | |
| tag_t | GetTag () const |
<b>Deprecated</b>:<br> Use Tag instead. | |
| tag_t | Tag () const |
| Returns the tag of this object. | |
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.
| NXOpen::SketchDimensionBuilder::ExpOption NXOpen::SketchDimensionBuilder::ExpressionOption | ( | ) |
Returns the expression option
Created in NX5.0.0.
License requirements : None
| NXOpen::SelectNXObject* NXOpen::SketchDimensionBuilder::FirstGeometry | ( | ) |
Returns the first geometry
Created in NX5.0.0.
License requirements : None
| NXOpen::SelectNXObject* NXOpen::SketchDimensionBuilder::SecondGeometry | ( | ) |
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