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

Represents a NXOpen::SketchAutoDimensionBuilder
To create a new instance of this class, use NXOpen::SketchCollection::CreateAutoDimensionBuilder
Default values. More...

Inheritance diagram for NXOpen::SketchAutoDimensionBuilder:
NXOpen::Builder NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

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::SelectNXObjectListSelectionObject ()
 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::NXObjectCommit ()
 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::NXObjectGetObject ()
 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...
 

Detailed Description

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.

Member Enumeration Documentation

dimension type to be created

Enumerator
DimTypeDriving 

Driving dimension.

DimTypeAutomatic 

Automatic dimension.

Member Function Documentation

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.

Returns
Auto Dimension Rules
Created in NX7.5.0.

License requirements : None
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

Parameters
dimensionTypedimensiontype
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

Parameters
rulesAuto Dimension Rules

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