NX Open C++ Reference Guide
Public Member Functions
NXOpen::Annotations::DimensionData Class Reference

Represents dimension data
Created in NX4.0.0. More...

Inheritance diagram for NXOpen::Annotations::DimensionData:
NXOpen::TransientObject

List of all members.

Public Member Functions

NXOpen::Annotations::AngularToleranceGetAngularTolerance ()
 Returns the angular tolerances.
NXOpen::Annotations::AppendedTextGetAppendedText ()
 Returns the appended text.
std::vector
< NXOpen::Annotations::Associativity * > 
GetAssociativity (int associativityIndex)
 Returns the associativity at specified index.
NXOpen::Annotations::DimensionPreferencesGetDimensionPreferences ()
 Returns the dimension preferences.
NXOpen::XformGetInferredPlane (NXOpen::Annotations::PmiDefaultPlane jaDefaultPlane, NXOpen::Annotations::DimensionType dimType)
 Get inferred annotation plane.
NXOpen::Annotations::LetteringPreferencesGetLetteringPreferences ()
 Returns the lettering preferences.
NXOpen::Annotations::LineAndArrowPreferencesGetLineAndArrowPreferences ()
 Returns the line and arrow preferences.
NXOpen::Annotations::LinearToleranceGetLinearTolerance ()
 Returns the linear tolerances.
NXOpen::Annotations::UserSymbolPreferencesGetUserSymbolPreferences ()
 Returns the user defined symbol preferences.
NXOpen::Annotations::LeaderOrientation LeaderOrientation ()
 Returns the leader orientation for the dimension
Created in NX4.0.0.
NXOpen::DirectionMeasurementDirection ()
 Returns the measurement direction
Created in NX7.5.0.
NXOpen::ViewMeasurementDirectionView ()
 Returns the measurement direction view
Created in NX7.5.0.
void SetAngularTolerance (NXOpen::Annotations::AngularTolerance *tolerance)
 Sets the angular tolerances
Created in NX4.0.0.
void SetAppendedText (NXOpen::Annotations::AppendedText *appendedText)
 Sets the appended text
Created in NX4.0.0.
void SetAssociativity (int associativityIndex, const std::vector< NXOpen::Annotations::Associativity * > &associativity)
 Sets the associativity at specified index.
void SetDimensionPreferences (NXOpen::Annotations::DimensionPreferences *preferences)
 Sets the dimension preferences
Created in NX4.0.0.
void SetLeaderOrientation (NXOpen::Annotations::LeaderOrientation leaderOrientation)
 Sets the leader orientation for the dimension
Created in NX4.0.0.
void SetLetteringPreferences (NXOpen::Annotations::LetteringPreferences *letteringPrefs)
 Sets the lettering preferences
Created in NX4.0.0.
void SetLineAndArrowPreferences (NXOpen::Annotations::LineAndArrowPreferences *prefs)
 Sets the line and arrow preferences
Created in NX4.0.0.
void SetLinearTolerance (NXOpen::Annotations::LinearTolerance *tolerance)
 Sets the linear tolerances
Created in NX4.0.0.
void SetMeasurementDirection (NXOpen::Direction *vector)
 Sets the measurement direction
Created in NX7.5.0.
void SetMeasurementDirectionView (NXOpen::View *view)
 Sets the measurement direction view
Created in NX7.5.0.
void SetUserSymbolPreferences (NXOpen::Annotations::UserSymbolPreferences *userSymbolPrefs)
 Sets the user defined symbol preferences
Created in NX4.0.0.
virtual ~DimensionData ()
 Frees the object from memory.

Detailed Description

Represents dimension data
Created in NX4.0.0.



Constructor & Destructor Documentation

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


Member Function Documentation

Returns the angular tolerances.

Returns:
Angular tolerance
Created in NX4.0.0.

License requirements : None

Returns the appended text.

Returns:
Appended text
Created in NX4.0.0.

License requirements : None

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 data.


The associativity at index 3 stores the following -

1. Fold location for the folded radius dimension

2. Margin data for the ordinate dimensions

Returns:
List of associativity objects
Created in NX4.0.0.

License requirements : None
Parameters:
associativityIndexAssociativity index

Returns the dimension preferences.

Returns:
Dimension preferences
Created in NX4.0.0.

License requirements : None

Get inferred annotation plane.

Before calling this method, you must fill in the associativities for the Dimension by calling 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.

Returns:

Created in NX4.0.0.

License requirements : None
Parameters:
jaDefaultPlaneja default plane
dimTypedim type

Returns the lettering preferences.

Returns:
Lettering preferences
Created in NX4.0.0.

License requirements : None

Returns the line and arrow preferences.

Returns:
Line and arrow preferences
Created in NX4.0.0.

License requirements : None

Returns the linear tolerances.

Returns:
Linear tolerance
Created in NX4.0.0.

License requirements : None

Returns the user defined symbol preferences.

Returns:
User symbol preferences
Created in NX4.0.0.

License requirements : None

Returns the leader orientation for the dimension
Created in NX4.0.0.



License requirements : None

Returns the measurement direction
Created in NX7.5.0.



License requirements : None

Returns the measurement direction view
Created in NX7.5.0.



License requirements : None

Sets the angular tolerances
Created in NX4.0.0.



License requirements : None

Parameters:
toleranceNew angular tolerance

Sets the appended text
Created in NX4.0.0.



License requirements : None

Parameters:
appendedTextNew appended text
void NXOpen::Annotations::DimensionData::SetAssociativity ( int  associativityIndex,
const std::vector< 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

Sets the dimension preferences
Created in NX4.0.0.



License requirements : None

Parameters:
preferencesNew dimension preferences

Sets the leader orientation for the dimension
Created in NX4.0.0.



License requirements : None

Parameters:
leaderOrientationNew leader orientation

Sets the lettering preferences
Created in NX4.0.0.



License requirements : None

Parameters:
letteringPrefsNew lettering preferences

Sets the line and arrow preferences
Created in NX4.0.0.



License requirements : None

Parameters:
prefsNew line and arrow preferences

Sets the linear tolerances
Created in NX4.0.0.



License requirements : None

Parameters:
toleranceNew linear tolerance

Sets the measurement direction
Created in NX7.5.0.



License requirements : None

Parameters:
vectorDirection

Sets the measurement direction view
Created in NX7.5.0.



License requirements : None

Parameters:
viewMeasurement direction view

Sets the user defined symbol preferences
Created in NX4.0.0.



License requirements : None

Parameters:
userSymbolPrefsNew user symbol preferences

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