NXOpen .NET Reference  12.0.0
Public Member Functions | Protected Member Functions | Properties | List of all members
NXOpen.Annotations.DimensionData Class Reference

Represents dimension data More...

Inheritance diagram for NXOpen.Annotations.DimensionData:

Public Member Functions

unsafe
NXOpen.Annotations.Associativity[] 
GetAssociativity (int associativityIndex)
 Returns the associativity at specified index. More...
 
unsafe void SetAssociativity (int associativityIndex, NXOpen.Annotations.Associativity[] associativity)
 Sets the associativity at specified index. More...
 
unsafe
NXOpen.Annotations.DimensionPreferences 
GetDimensionPreferences ()
 Returns the dimension preferences More...
 
unsafe void SetDimensionPreferences (NXOpen.Annotations.DimensionPreferences preferences)
 Sets the dimension preferences More...
 
unsafe
NXOpen.Annotations.LineAndArrowPreferences 
GetLineAndArrowPreferences ()
 Returns the line and arrow preferences More...
 
unsafe void SetLineAndArrowPreferences (NXOpen.Annotations.LineAndArrowPreferences prefs)
 Sets the line and arrow preferences More...
 
unsafe
NXOpen.Annotations.LetteringPreferences 
GetLetteringPreferences ()
 Returns the lettering preferences More...
 
unsafe void SetLetteringPreferences (NXOpen.Annotations.LetteringPreferences letteringPrefs)
 Sets the lettering preferences More...
 
unsafe
NXOpen.Annotations.UserSymbolPreferences 
GetUserSymbolPreferences ()
 Returns the user defined symbol preferences More...
 
unsafe void SetUserSymbolPreferences (NXOpen.Annotations.UserSymbolPreferences userSymbolPrefs)
 Sets the user defined symbol preferences More...
 
unsafe
NXOpen.Annotations.AppendedText 
GetAppendedText ()
 Returns the appended text More...
 
unsafe void SetAppendedText (NXOpen.Annotations.AppendedText appendedText)
 Sets the appended text More...
 
unsafe NXOpen.Xform GetInferredPlane (NXOpen.Annotations.PmiDefaultPlane jaDefaultPlane, NXOpen.Annotations.DimensionType dimType)
 Get inferred annotation plane. More...
 
unsafe
NXOpen.Annotations.LinearTolerance 
GetLinearTolerance ()
 Returns the linear tolerances More...
 
unsafe void SetLinearTolerance (NXOpen.Annotations.LinearTolerance tolerance)
 Sets the linear tolerances More...
 
unsafe
NXOpen.Annotations.AngularTolerance 
GetAngularTolerance ()
 Returns the angular tolerances More...
 
unsafe void SetAngularTolerance (NXOpen.Annotations.AngularTolerance tolerance)
 Sets the angular tolerances More...
 

Protected Member Functions

override void FreeResource ()
 Frees the object from memory. More...
 

Properties

unsafe
NXOpen.Annotations.LeaderOrientation 
LeaderOrientation [get, set]
 Returns or sets the leader orientation for the dimension More...
 
unsafe NXOpen.Direction MeasurementDirection [get, set]
 Returns or sets the measurement direction More...
 
unsafe NXOpen.View MeasurementDirectionView [get, set]
 Returns or sets the measurement direction view More...
 

Detailed Description

Represents dimension data

Created in NX4.0.0

Member Function Documentation

override void NXOpen.Annotations.DimensionData.FreeResource ( )
protected

Frees the object from memory.

After this method is called, it is illegal to use the object. In .NET, this method is automatically called when the object is deleted by the garbage collector.

Created in NX4.0.0

License requirements: None.

unsafe NXOpen.Annotations.AngularTolerance NXOpen.Annotations.DimensionData.GetAngularTolerance ( )

Returns the angular tolerances

Created in NX4.0.0

License requirements: None.

Returns
Angular tolerance
unsafe NXOpen.Annotations.AppendedText NXOpen.Annotations.DimensionData.GetAppendedText ( )

Returns the appended text

Created in NX4.0.0

License requirements: None.

Returns
Appended text
unsafe NXOpen.Annotations.Associativity [] NXOpen.Annotations.DimensionData.GetAssociativity ( int  associativityIndex)

Returns the associativity at specified index.

Valid index values are {1, 2, 3}.

For ordinate dimensions, -

the associativity at index 1 stores the ordinate origin dimension associativity data. -

the associativity at index 2 stores the ordinate dimension associativity data.

The associativity at index 3 stores the following -

1. Fold location for the folded radius dimension

2. Margin data for the ordinate dimensions

Created in NX4.0.0

License requirements: None.

Parameters
associativityIndexAssociativity index
Returns
List of associativity objects
unsafe NXOpen.Annotations.DimensionPreferences NXOpen.Annotations.DimensionData.GetDimensionPreferences ( )

Returns the dimension preferences

Created in NX4.0.0

License requirements: None.

Returns
Dimension preferences
unsafe NXOpen.Xform NXOpen.Annotations.DimensionData.GetInferredPlane ( NXOpen.Annotations.PmiDefaultPlane  jaDefaultPlane,
NXOpen.Annotations.DimensionType  dimType 
)

Get inferred annotation plane.

Before calling this method, you must fill in the associativities for the Dimension by calling NXOpen.Annotations.DimensionData.SetAssociativity for the correct number of objects based on the type of Dimension you wish to create.

Also, you must specify the particular type of Dimension to be created as the inferred Dimension plane depends on the type of the Dimension as well as the geometry being measured.

Created in NX4.0.0

License requirements: None.

Parameters
jaDefaultPlane
dimType
Returns
unsafe NXOpen.Annotations.LetteringPreferences NXOpen.Annotations.DimensionData.GetLetteringPreferences ( )

Returns the lettering preferences

Created in NX4.0.0

License requirements: None.

Returns
Lettering preferences
unsafe NXOpen.Annotations.LineAndArrowPreferences NXOpen.Annotations.DimensionData.GetLineAndArrowPreferences ( )

Returns the line and arrow preferences

Created in NX4.0.0

License requirements: None.

Returns
Line and arrow preferences
unsafe NXOpen.Annotations.LinearTolerance NXOpen.Annotations.DimensionData.GetLinearTolerance ( )

Returns the linear tolerances

Created in NX4.0.0

License requirements: None.

Returns
Linear tolerance
unsafe NXOpen.Annotations.UserSymbolPreferences NXOpen.Annotations.DimensionData.GetUserSymbolPreferences ( )

Returns the user defined symbol preferences

Created in NX4.0.0

License requirements: None.

Returns
User symbol preferences
unsafe void NXOpen.Annotations.DimensionData.SetAngularTolerance ( NXOpen.Annotations.AngularTolerance  tolerance)

Sets the angular tolerances

Created in NX4.0.0

License requirements: None.

Parameters
toleranceNew angular tolerance
unsafe void NXOpen.Annotations.DimensionData.SetAppendedText ( NXOpen.Annotations.AppendedText  appendedText)

Sets the appended text

Created in NX4.0.0

License requirements: None.

Parameters
appendedTextNew appended text
unsafe void NXOpen.Annotations.DimensionData.SetAssociativity ( int  associativityIndex,
NXOpen.Annotations.Associativity[]  associativity 
)

Sets the associativity at specified index.

Valid index values are {1, 2, 3}.

For ordinate dimensions, the associativity at index 1 stores the ordinate origin data.

The associativity at index 3 stores the following -

1. Fold location for the folded radius dimension

2. Margin data for the ordinate dimensions

Created in NX4.0.0

License requirements: None.

Parameters
associativityIndexAssociativity index
associativityList of new associativity objects
unsafe void NXOpen.Annotations.DimensionData.SetDimensionPreferences ( NXOpen.Annotations.DimensionPreferences  preferences)

Sets the dimension preferences

Created in NX4.0.0

License requirements: None.

Parameters
preferencesNew dimension preferences
unsafe void NXOpen.Annotations.DimensionData.SetLetteringPreferences ( NXOpen.Annotations.LetteringPreferences  letteringPrefs)

Sets the lettering preferences

Created in NX4.0.0

License requirements: None.

Parameters
letteringPrefsNew lettering preferences
unsafe void NXOpen.Annotations.DimensionData.SetLineAndArrowPreferences ( NXOpen.Annotations.LineAndArrowPreferences  prefs)

Sets the line and arrow preferences

Created in NX4.0.0

License requirements: None.

Parameters
prefsNew line and arrow preferences
unsafe void NXOpen.Annotations.DimensionData.SetLinearTolerance ( NXOpen.Annotations.LinearTolerance  tolerance)

Sets the linear tolerances

Created in NX4.0.0

License requirements: None.

Parameters
toleranceNew linear tolerance
unsafe void NXOpen.Annotations.DimensionData.SetUserSymbolPreferences ( NXOpen.Annotations.UserSymbolPreferences  userSymbolPrefs)

Sets the user defined symbol preferences

Created in NX4.0.0

License requirements: None.

Parameters
userSymbolPrefsNew user symbol preferences

Property Documentation

unsafe NXOpen.Annotations.LeaderOrientation NXOpen.Annotations.DimensionData.LeaderOrientation
getset

Returns or sets the leader orientation for the dimension

Created in NX4.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe NXOpen.Direction NXOpen.Annotations.DimensionData.MeasurementDirection
getset

Returns or sets the measurement direction

Created in NX7.5.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe NXOpen.View NXOpen.Annotations.DimensionData.MeasurementDirectionView
getset

Returns or sets the measurement direction view

Created in NX7.5.0

License requirements to get this property: None.

License requirements to set this property: None.


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