NX Open C++ Reference Guide
Public Types | Public Member Functions
NXOpen::SketchDimensionBuilder Class Reference

Edit the geometry references of an existing sketch dimension. More...

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

List of all members.

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::SelectNXObjectFirstGeometry ()
 Returns the first geometry
Created in NX5.0.0.
NXOpen::SelectNXObjectSecondGeometry ()
 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.

Detailed Description

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.


Member Enumeration Documentation

This enum determines the expression behavior when a dimension is attached to new geometry.

Enumerator:
ExpOptionKeepExpression 

keep expression, adjust geometry

ExpOptionMeasureGeometry 

remove expression, measure geometry


Member Function Documentation

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

Sets the expression option
Created in NX5.0.0.



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

Parameters:
optionoption

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

Parameters:
radiusradius

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


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