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

Represents a Annotations::UnitsStyleBuilder . More...

Inheritance diagram for NXOpen::Annotations::UnitsStyleBuilder:
NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

List of all members.

Public Member Functions

NXOpen::Annotations::AngularSuppressZeros AngularSuppressZeros ()
 Returns the angular suppress zeros option
Created in NX6.0.0.
bool ConvertPrimaryTolerance ()
 Returns the convert primary tolerance option.
NXOpen::Annotations::DecimalPointCharacter DecimalPointCharacter ()
 Returns the decimal point character
Created in NX6.0.0.
NXOpen::Annotations::AngularDimensionFormat DimensionAngularFormat ()
 Returns the dimension angular format and precision
Created in NX6.0.0.
NXOpen::Annotations::DimensionUnit DimensionLinearUnits ()
 Returns the dimension linear units
Created in NX6.0.0.
NXOpen::Annotations::TolerancePlacement DimensionTolerancePlacement ()
 Returns the dimension tolerance placement relative to the dimension value
Created in NX6.0.0.
bool DisplayLeadingDimensionZeros ()
 Returns the display leading dimension zeros setting for linear dimensions and fractional angular dimensions
Created in NX6.0.0.
bool DisplayLeadingToleranceZeros ()
 Returns the display leading tolerance zeros setting for linear dimensions and fractional angular dimensions
Created in NX6.0.0.
bool DisplayTrailingZeros ()
 Returns the display trailing zeros setting for linear dimensions and tolerances
Created in NX6.0.0.
NXOpen::Annotations::DualDimensionPlacement DualDimensionFormat ()
 Returns the dual dimension format.
NXOpen::Annotations::DimensionUnit DualDimensionUnits ()
 Returns the dual dimension units
Created in NX6.0.0.
NXOpen::Annotations::DimensionTextFormat DualFractionType ()
 Returns the decimal and fraction format for dual nonmetric dimensions
Created in NX6.0.0.
bool FractionalDisplay ()
 Returns the fractional display for angular dimension
Created in NX8.0.0.
NXOpen::Annotations::DimensionTextFormat LinearFractionType ()
 Returns the decimal and fraction text format for nonmetric dimensions
Created in NX6.0.0.
int NumeratorDegrees ()
 Returns the numerator degrees of fractional display for angular dimension
Created in NX8.0.0.
double NumeratorFraction ()
 Returns the numerator fractional degrees of fractional display for angular dimension
Created in NX8.0.0.
int NumeratorMinutes ()
 Returns the numerator minutes of fractional display for angular dimension
Created in NX8.0.0.
int NumeratorSeconds ()
 Returns the numerator seconds of fractional display for angular dimension
Created in NX8.0.0.
void SetAngularSuppressZeros (NXOpen::Annotations::AngularSuppressZeros angularSuppressZeros)
 Sets the angular suppress zeros option
Created in NX6.0.0.
void SetConvertPrimaryTolerance (bool convertPrimaryTolerance)
 Sets the convert primary tolerance option.
void SetDecimalPointCharacter (NXOpen::Annotations::DecimalPointCharacter decimalPointCharacter)
 Sets the decimal point character
Created in NX6.0.0.
void SetDimensionAngularFormat (NXOpen::Annotations::AngularDimensionFormat dimensionAngularFormat)
 Sets the dimension angular format and precision
Created in NX6.0.0.
void SetDimensionLinearUnits (NXOpen::Annotations::DimensionUnit dimensionLinearUnits)
 Sets the dimension linear units
Created in NX6.0.0.
void SetDimensionTolerancePlacement (NXOpen::Annotations::TolerancePlacement dimensionTolerancePlacement)
 Sets the dimension tolerance placement relative to the dimension value
Created in NX6.0.0.
void SetDisplayLeadingDimensionZeros (bool displayLeadingDimensionZeros)
 Sets the display leading dimension zeros setting for linear dimensions and fractional angular dimensions
Created in NX6.0.0.
void SetDisplayLeadingToleranceZeros (bool displayLeadingToleranceZeros)
 Sets the display leading tolerance zeros setting for linear dimensions and fractional angular dimensions
Created in NX6.0.0.
void SetDisplayTrailingZeros (bool displayTrailingZeros)
 Sets the display trailing zeros setting for linear dimensions and tolerances
Created in NX6.0.0.
void SetDualDimensionFormat (NXOpen::Annotations::DualDimensionPlacement dualDimensionFormat)
 Sets the dual dimension format.
void SetDualDimensionUnits (NXOpen::Annotations::DimensionUnit dualDimensionUnits)
 Sets the dual dimension units
Created in NX6.0.0.
void SetDualFractionType (NXOpen::Annotations::DimensionTextFormat dualFractionType)
 Sets the decimal and fraction format for dual nonmetric dimensions
Created in NX6.0.0.
void SetFractionalDisplay (bool fractionalDisplay)
 Sets the fractional display for angular dimension
Created in NX8.0.0.
void SetLinearFractionType (NXOpen::Annotations::DimensionTextFormat linearFractionType)
 Sets the decimal and fraction text format for nonmetric dimensions
Created in NX6.0.0.
void SetNumeratorDegrees (int numeratorDegrees)
 Sets the numerator degrees of fractional display for angular dimension
Created in NX8.0.0.
void SetNumeratorFraction (double numeratorFraction)
 Sets the numerator fractional degrees of fractional display for angular dimension
Created in NX8.0.0.
void SetNumeratorMinutes (int numeratorMinutes)
 Sets the numerator minutes of fractional display for angular dimension
Created in NX8.0.0.
void SetNumeratorSeconds (int numeratorSeconds)
 Sets the numerator seconds of fractional display for angular dimension
Created in NX8.0.0.
void SetToleranceAngularFormat (NXOpen::Annotations::AngularDimensionFormat toleranceAngularFormat)
 Sets the tolerance angular format and precision
Created in NX6.0.0.
NXOpen::Annotations::AngularDimensionFormat ToleranceAngularFormat ()
 Returns the tolerance angular format and precision
Created in NX6.0.0.
virtual bool Validate ()
 Validate whether the inputs to the component are sufficient for commit to be called.

Detailed Description

Represents a Annotations::UnitsStyleBuilder .

This class queries and sets units and format preferences when creating or editing a dimension.
Created in NX6.0.0.


Member Function Documentation

Returns the angular suppress zeros option
Created in NX6.0.0.



License requirements : None

Returns the convert primary tolerance option.

A value of True means that the dual dimension tolerance is automatically set by converting the primary dimension tolerance value to the dual dimension units
Created in NX6.0.0.

License requirements : None

Returns the decimal point character
Created in NX6.0.0.



License requirements : None

Returns the dimension angular format and precision
Created in NX6.0.0.



License requirements : None

Returns the dimension linear units
Created in NX6.0.0.



License requirements : None

Returns the dimension tolerance placement relative to the dimension value
Created in NX6.0.0.



License requirements : None

Returns the display leading dimension zeros setting for linear dimensions and fractional angular dimensions
Created in NX6.0.0.



License requirements : None

Returns the display leading tolerance zeros setting for linear dimensions and fractional angular dimensions
Created in NX6.0.0.



License requirements : None

Returns the display trailing zeros setting for linear dimensions and tolerances
Created in NX6.0.0.



License requirements : None

Returns the dual dimension format.

This specifies both the creation and position of the dual dimension
Created in NX6.0.0.

License requirements : None

Returns the dual dimension units
Created in NX6.0.0.



License requirements : None

Returns the decimal and fraction format for dual nonmetric dimensions
Created in NX6.0.0.



License requirements : None

Returns the fractional display for angular dimension
Created in NX8.0.0.



License requirements : None

Returns the decimal and fraction text format for nonmetric dimensions
Created in NX6.0.0.



License requirements : None

Returns the numerator degrees of fractional display for angular dimension
Created in NX8.0.0.



License requirements : None

Returns the numerator fractional degrees of fractional display for angular dimension
Created in NX8.0.0.



License requirements : None

Returns the numerator minutes of fractional display for angular dimension
Created in NX8.0.0.



License requirements : None

Returns the numerator seconds of fractional display for angular dimension
Created in NX8.0.0.



License requirements : None

Sets the angular suppress zeros option
Created in NX6.0.0.



License requirements : geometric_tol ("GDT") OR drafting ("DRAFTING")

Parameters:
angularSuppressZerosangularsuppresszeros

Sets the convert primary tolerance option.

A value of True means that the dual dimension tolerance is automatically set by converting the primary dimension tolerance value to the dual dimension units
Created in NX6.0.0.

License requirements : geometric_tol ("GDT") OR drafting ("DRAFTING")

Parameters:
convertPrimaryToleranceconvertprimarytolerance

Sets the decimal point character
Created in NX6.0.0.



License requirements : geometric_tol ("GDT") OR drafting ("DRAFTING")

Parameters:
decimalPointCharacterdecimalpointcharacter

Sets the dimension angular format and precision
Created in NX6.0.0.



License requirements : geometric_tol ("GDT") OR drafting ("DRAFTING")

Parameters:
dimensionAngularFormatdimensionangularformat

Sets the dimension linear units
Created in NX6.0.0.



License requirements : geometric_tol ("GDT") OR drafting ("DRAFTING")

Parameters:
dimensionLinearUnitsdimensionlinearunits

Sets the dimension tolerance placement relative to the dimension value
Created in NX6.0.0.



License requirements : geometric_tol ("GDT") OR drafting ("DRAFTING")

Parameters:
dimensionTolerancePlacementdimensiontoleranceplacement

Sets the display leading dimension zeros setting for linear dimensions and fractional angular dimensions
Created in NX6.0.0.



License requirements : geometric_tol ("GDT") OR drafting ("DRAFTING")

Parameters:
displayLeadingDimensionZerosdisplayleadingdimensionzeros

Sets the display leading tolerance zeros setting for linear dimensions and fractional angular dimensions
Created in NX6.0.0.



License requirements : geometric_tol ("GDT") OR drafting ("DRAFTING")

Parameters:
displayLeadingToleranceZerosdisplayleadingtolerancezeros

Sets the display trailing zeros setting for linear dimensions and tolerances
Created in NX6.0.0.



License requirements : geometric_tol ("GDT") OR drafting ("DRAFTING")

Parameters:
displayTrailingZerosdisplaytrailingzeros

Sets the dual dimension format.

This specifies both the creation and position of the dual dimension
Created in NX6.0.0.

License requirements : geometric_tol ("GDT") OR drafting ("DRAFTING")

Parameters:
dualDimensionFormatdualdimensionformat

Sets the dual dimension units
Created in NX6.0.0.



License requirements : geometric_tol ("GDT") OR drafting ("DRAFTING")

Parameters:
dualDimensionUnitsdualdimensionunits

Sets the decimal and fraction format for dual nonmetric dimensions
Created in NX6.0.0.



License requirements : geometric_tol ("GDT") OR drafting ("DRAFTING")

Parameters:
dualFractionTypedualfractiontype

Sets the fractional display for angular dimension
Created in NX8.0.0.



License requirements : geometric_tol ("GDT") OR drafting ("DRAFTING")

Parameters:
fractionalDisplayfractionaldisplay

Sets the decimal and fraction text format for nonmetric dimensions
Created in NX6.0.0.



License requirements : geometric_tol ("GDT") OR drafting ("DRAFTING")

Parameters:
linearFractionTypelinearfractiontype

Sets the numerator degrees of fractional display for angular dimension
Created in NX8.0.0.



License requirements : geometric_tol ("GDT") OR drafting ("DRAFTING")

Parameters:
numeratorDegreesnumeratordegrees

Sets the numerator fractional degrees of fractional display for angular dimension
Created in NX8.0.0.



License requirements : geometric_tol ("GDT") OR drafting ("DRAFTING")

Parameters:
numeratorFractionnumeratorfraction

Sets the numerator minutes of fractional display for angular dimension
Created in NX8.0.0.



License requirements : geometric_tol ("GDT") OR drafting ("DRAFTING")

Parameters:
numeratorMinutesnumeratorminutes

Sets the numerator seconds of fractional display for angular dimension
Created in NX8.0.0.



License requirements : geometric_tol ("GDT") OR drafting ("DRAFTING")

Parameters:
numeratorSecondsnumeratorseconds

Sets the tolerance angular format and precision
Created in NX6.0.0.



License requirements : geometric_tol ("GDT") OR drafting ("DRAFTING")

Parameters:
toleranceAngularFormattoleranceangularformat

Returns the tolerance angular format and precision
Created in NX6.0.0.



License requirements : None

Validate whether the inputs to the component are sufficient for commit to be called.

If the component is not in a state to commit then an exception is thrown. For example, if the component requires you to set some property, this method will throw an exception if you haven't set it. This method throws a not-yet-implemented NXException for some components.

Returns:
Was self validation successful
Created in NX3.0.1.

License requirements : None

Implements NXOpen::GeometricUtilities::IComponentBuilder.


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