NXOpen .NET Reference
12.0.0
|
Represents dimension data 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... | |
Represents dimension data
Created in NX4.0.0
|
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.
unsafe NXOpen.Annotations.AppendedText NXOpen.Annotations.DimensionData.GetAppendedText | ( | ) |
Returns the appended text
Created in NX4.0.0
License requirements: None.
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.
associativityIndex | Associativity index |
unsafe NXOpen.Annotations.DimensionPreferences NXOpen.Annotations.DimensionData.GetDimensionPreferences | ( | ) |
Returns the dimension preferences
Created in NX4.0.0
License requirements: None.
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.
jaDefaultPlane | |
dimType |
unsafe NXOpen.Annotations.LetteringPreferences NXOpen.Annotations.DimensionData.GetLetteringPreferences | ( | ) |
Returns the lettering preferences
Created in NX4.0.0
License requirements: None.
unsafe NXOpen.Annotations.LineAndArrowPreferences NXOpen.Annotations.DimensionData.GetLineAndArrowPreferences | ( | ) |
Returns the line and arrow preferences
Created in NX4.0.0
License requirements: None.
unsafe NXOpen.Annotations.LinearTolerance NXOpen.Annotations.DimensionData.GetLinearTolerance | ( | ) |
Returns the linear tolerances
Created in NX4.0.0
License requirements: None.
unsafe NXOpen.Annotations.UserSymbolPreferences NXOpen.Annotations.DimensionData.GetUserSymbolPreferences | ( | ) |
Returns the user defined symbol preferences
Created in NX4.0.0
License requirements: None.
unsafe void NXOpen.Annotations.DimensionData.SetAngularTolerance | ( | NXOpen.Annotations.AngularTolerance | tolerance | ) |
Sets the angular tolerances
Created in NX4.0.0
License requirements: None.
tolerance | New angular tolerance |
unsafe void NXOpen.Annotations.DimensionData.SetAppendedText | ( | NXOpen.Annotations.AppendedText | appendedText | ) |
Sets the appended text
Created in NX4.0.0
License requirements: None.
appendedText | New 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.
associativityIndex | Associativity index |
associativity | List 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.
preferences | New dimension preferences |
unsafe void NXOpen.Annotations.DimensionData.SetLetteringPreferences | ( | NXOpen.Annotations.LetteringPreferences | letteringPrefs | ) |
Sets the lettering preferences
Created in NX4.0.0
License requirements: None.
letteringPrefs | New 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.
prefs | New 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.
tolerance | New 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.
userSymbolPrefs | New user symbol preferences |
|
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.
|
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.
|
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.