NXOpen .NET Reference  12.0.0
Public Types | Properties | List of all members
NXOpen.SketchDimensionBuilder Class Reference

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

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

Public Types

enum  ExpOption { KeepExpression, MeasureGeometry }
 This enum determines the expression behavior when a dimension is attached to new geometry More...
 

Properties

unsafe
NXOpen.SketchDimensionBuilder.ExpOption 
ExpressionOption [get, set]
 Returns or sets the expression option More...
 
unsafe NXOpen.SelectNXObject FirstGeometry [get]
 Returns the first geometry More...
 
unsafe NXOpen.SelectNXObject SecondGeometry [get]
 Returns the second geometry. More...
 
unsafe double SnapRadius [get, set]
 Returns or sets the snap radius. More...
 

Additional Inherited Members

- Public Member Functions inherited from NXOpen.Builder
unsafe NXOpen.NXObject Commit ()
 Commits any edits that have been applied to the builder. More...
 
unsafe void Destroy ()
 Deletes the builder, and cleans up any objects created by the builder. More...
 
unsafe NXOpen.NXObject[] GetCommittedObjects ()
 For builders that create more than one object, this method returns the objects that are created by commit. More...
 
unsafe NXOpen.NXObject GetObject ()
 Returns the object currently being edited by this builder. More...
 
unsafe void ShowResults ()
 Updates the model to reflect the result of an edit to the model for all builders that support showing results. More...
 
unsafe bool Validate ()
 Validate whether the inputs to the component are sufficient for commit to be called. More...
 

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 NXOpen.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
KeepExpression 

keep expression, adjust geometry

MeasureGeometry 

remove expression, measure geometry

Property Documentation

unsafe NXOpen.SketchDimensionBuilder.ExpOption NXOpen.SketchDimensionBuilder.ExpressionOption
getset

Returns or sets the expression option

Created in NX5.0.0

License requirements to get this property: None.

License requirements to set this property: solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING")

unsafe NXOpen.SelectNXObject NXOpen.SketchDimensionBuilder.FirstGeometry
get

Returns the first geometry

Created in NX5.0.0

License requirements: None.

unsafe NXOpen.SelectNXObject NXOpen.SketchDimensionBuilder.SecondGeometry
get

Returns the second geometry.

This will be NULL for Radius or Diameter dimensions.

Created in NX5.0.0

License requirements: None.

unsafe double NXOpen.SketchDimensionBuilder.SnapRadius
getset

Returns or 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 to get this property: None.

License requirements to set this property: solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING")


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