NX Open C++ Reference Guide
|
Represents a NXOpen::SketchAutoDimensionBuilder
To create a new instance of this class, use NXOpen::SketchCollection::CreateAutoDimensionBuilder
Default values.
More...
Public Types | |
enum | DimType { DimTypeDriving, DimTypeAutomatic } |
dimension type to be created More... | |
Public Member Functions | |
NXOpen::SketchAutoDimensionBuilder::DimType | DimensionType () |
Returns the enum dim type Created in NX7.5.0. More... | |
std::vector < NXOpen::Sketch::AutoDimensioningRule > | GetRules () |
Get the auto dimensioning rule list from builder. More... | |
NXOpen::SelectNXObjectList * | SelectionObject () |
Returns the selected sketch curves to auto dimension Created in NX7.5.0. More... | |
void | SetDimensionType (NXOpen::SketchAutoDimensionBuilder::DimType dimensionType) |
Sets the enum dim type Created in NX7.5.0. More... | |
void | SetRules (const std::vector< NXOpen::Sketch::AutoDimensioningRule > &rules) |
Set the auto dimensioning rule list to builder. More... | |
Public Member Functions inherited from NXOpen::Builder | |
NXOpen::NXObject * | Commit () |
Commits any edits that have been applied to the builder. More... | |
void | Destroy () |
Deletes the builder, and cleans up any objects created by the builder. More... | |
std::vector< NXOpen::NXObject * > | GetCommittedObjects () |
For builders that create more than one object, this method returns the objects that are created by commit. More... | |
NXOpen::NXObject * | GetObject () |
Returns the object currently being edited by this builder. More... | |
void | ShowResults () |
Updates the model to reflect the result of an edit to the model for all builders that support showing results. 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... | |
Represents a NXOpen::SketchAutoDimensionBuilder
To create a new instance of this class, use NXOpen::SketchCollection::CreateAutoDimensionBuilder
Default values.
Property | Value |
---|---|
DimensionType |
Automatic |
Created in NX7.5.0.
NXOpen::SketchAutoDimensionBuilder::DimType NXOpen::SketchAutoDimensionBuilder::DimensionType | ( | ) |
Returns the enum dim type
Created in NX7.5.0.
License requirements : None
std::vector<NXOpen::Sketch::AutoDimensioningRule> NXOpen::SketchAutoDimensionBuilder::GetRules | ( | ) |
Get the auto dimensioning rule list from builder.
NXOpen::SelectNXObjectList* NXOpen::SketchAutoDimensionBuilder::SelectionObject | ( | ) |
Returns the selected sketch curves to auto dimension
Created in NX7.5.0.
License requirements : None
void NXOpen::SketchAutoDimensionBuilder::SetDimensionType | ( | NXOpen::SketchAutoDimensionBuilder::DimType | dimensionType | ) |
Sets the enum dim type
Created in NX7.5.0.
License requirements : None
dimensionType | dimensiontype |
void NXOpen::SketchAutoDimensionBuilder::SetRules | ( | const std::vector< NXOpen::Sketch::AutoDimensioningRule > & | rules | ) |
Set the auto dimensioning rule list to builder.
All the rules are expected to be in the list exactly once. Variable count can not be zero or negative.
Created in NX7.5.0.
License requirements : None
rules | Auto Dimension Rules |