NX Open C++ Reference Guide
|
Represents a Annotations::UnitsStyleBuilder . More...
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. | |
![]() | |
tag_t | GetTag () const |
<b>Deprecated</b>:<br> Use Tag instead. | |
tag_t | Tag () const |
Returns the tag of this object. | |
Represents a Annotations::UnitsStyleBuilder .
This class queries and sets units and format preferences when creating or editing a dimension.
Created in NX6.0.0.
NXOpen::Annotations::AngularSuppressZeros NXOpen::Annotations::UnitsStyleBuilder::AngularSuppressZeros | ( | ) |
Returns the angular suppress zeros option
Created in NX6.0.0.
License requirements : None
bool NXOpen::Annotations::UnitsStyleBuilder::ConvertPrimaryTolerance | ( | ) |
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
NXOpen::Annotations::DecimalPointCharacter NXOpen::Annotations::UnitsStyleBuilder::DecimalPointCharacter | ( | ) |
Returns the decimal point character
Created in NX6.0.0.
License requirements : None
NXOpen::Annotations::AngularDimensionFormat NXOpen::Annotations::UnitsStyleBuilder::DimensionAngularFormat | ( | ) |
Returns the dimension angular format and precision
Created in NX6.0.0.
License requirements : None
NXOpen::Annotations::DimensionUnit NXOpen::Annotations::UnitsStyleBuilder::DimensionLinearUnits | ( | ) |
Returns the dimension linear units
Created in NX6.0.0.
License requirements : None
NXOpen::Annotations::TolerancePlacement NXOpen::Annotations::UnitsStyleBuilder::DimensionTolerancePlacement | ( | ) |
Returns the dimension tolerance placement relative to the dimension value
Created in NX6.0.0.
License requirements : None
bool NXOpen::Annotations::UnitsStyleBuilder::DisplayLeadingDimensionZeros | ( | ) |
Returns the display leading dimension zeros setting for linear dimensions and fractional angular dimensions
Created in NX6.0.0.
License requirements : None
bool NXOpen::Annotations::UnitsStyleBuilder::DisplayLeadingToleranceZeros | ( | ) |
Returns the display leading tolerance zeros setting for linear dimensions and fractional angular dimensions
Created in NX6.0.0.
License requirements : None
bool NXOpen::Annotations::UnitsStyleBuilder::DisplayTrailingZeros | ( | ) |
Returns the display trailing zeros setting for linear dimensions and tolerances
Created in NX6.0.0.
License requirements : None
NXOpen::Annotations::DualDimensionPlacement NXOpen::Annotations::UnitsStyleBuilder::DualDimensionFormat | ( | ) |
Returns the dual dimension format.
This specifies both the creation and position of the dual dimension
Created in NX6.0.0.
License requirements : None
NXOpen::Annotations::DimensionUnit NXOpen::Annotations::UnitsStyleBuilder::DualDimensionUnits | ( | ) |
Returns the dual dimension units
Created in NX6.0.0.
License requirements : None
NXOpen::Annotations::DimensionTextFormat NXOpen::Annotations::UnitsStyleBuilder::DualFractionType | ( | ) |
Returns the decimal and fraction format for dual nonmetric dimensions
Created in NX6.0.0.
License requirements : None
bool NXOpen::Annotations::UnitsStyleBuilder::FractionalDisplay | ( | ) |
Returns the fractional display for angular dimension
Created in NX8.0.0.
License requirements : None
NXOpen::Annotations::DimensionTextFormat NXOpen::Annotations::UnitsStyleBuilder::LinearFractionType | ( | ) |
Returns the decimal and fraction text format for nonmetric dimensions
Created in NX6.0.0.
License requirements : None
int NXOpen::Annotations::UnitsStyleBuilder::NumeratorDegrees | ( | ) |
Returns the numerator degrees of fractional display for angular dimension
Created in NX8.0.0.
License requirements : None
double NXOpen::Annotations::UnitsStyleBuilder::NumeratorFraction | ( | ) |
Returns the numerator fractional degrees of fractional display for angular dimension
Created in NX8.0.0.
License requirements : None
int NXOpen::Annotations::UnitsStyleBuilder::NumeratorMinutes | ( | ) |
Returns the numerator minutes of fractional display for angular dimension
Created in NX8.0.0.
License requirements : None
int NXOpen::Annotations::UnitsStyleBuilder::NumeratorSeconds | ( | ) |
Returns the numerator seconds of fractional display for angular dimension
Created in NX8.0.0.
License requirements : None
void NXOpen::Annotations::UnitsStyleBuilder::SetAngularSuppressZeros | ( | NXOpen::Annotations::AngularSuppressZeros | angularSuppressZeros | ) |
Sets the angular suppress zeros option
Created in NX6.0.0.
License requirements : geometric_tol ("GDT") OR drafting ("DRAFTING")
angularSuppressZeros | angularsuppresszeros |
void NXOpen::Annotations::UnitsStyleBuilder::SetConvertPrimaryTolerance | ( | bool | convertPrimaryTolerance | ) |
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")
convertPrimaryTolerance | convertprimarytolerance |
void NXOpen::Annotations::UnitsStyleBuilder::SetDecimalPointCharacter | ( | NXOpen::Annotations::DecimalPointCharacter | decimalPointCharacter | ) |
Sets the decimal point character
Created in NX6.0.0.
License requirements : geometric_tol ("GDT") OR drafting ("DRAFTING")
decimalPointCharacter | decimalpointcharacter |
void NXOpen::Annotations::UnitsStyleBuilder::SetDimensionAngularFormat | ( | NXOpen::Annotations::AngularDimensionFormat | dimensionAngularFormat | ) |
Sets the dimension angular format and precision
Created in NX6.0.0.
License requirements : geometric_tol ("GDT") OR drafting ("DRAFTING")
dimensionAngularFormat | dimensionangularformat |
void NXOpen::Annotations::UnitsStyleBuilder::SetDimensionLinearUnits | ( | NXOpen::Annotations::DimensionUnit | dimensionLinearUnits | ) |
Sets the dimension linear units
Created in NX6.0.0.
License requirements : geometric_tol ("GDT") OR drafting ("DRAFTING")
dimensionLinearUnits | dimensionlinearunits |
void NXOpen::Annotations::UnitsStyleBuilder::SetDimensionTolerancePlacement | ( | NXOpen::Annotations::TolerancePlacement | dimensionTolerancePlacement | ) |
Sets the dimension tolerance placement relative to the dimension value
Created in NX6.0.0.
License requirements : geometric_tol ("GDT") OR drafting ("DRAFTING")
dimensionTolerancePlacement | dimensiontoleranceplacement |
void NXOpen::Annotations::UnitsStyleBuilder::SetDisplayLeadingDimensionZeros | ( | bool | displayLeadingDimensionZeros | ) |
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")
displayLeadingDimensionZeros | displayleadingdimensionzeros |
void NXOpen::Annotations::UnitsStyleBuilder::SetDisplayLeadingToleranceZeros | ( | bool | displayLeadingToleranceZeros | ) |
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")
displayLeadingToleranceZeros | displayleadingtolerancezeros |
void NXOpen::Annotations::UnitsStyleBuilder::SetDisplayTrailingZeros | ( | bool | displayTrailingZeros | ) |
Sets the display trailing zeros setting for linear dimensions and tolerances
Created in NX6.0.0.
License requirements : geometric_tol ("GDT") OR drafting ("DRAFTING")
displayTrailingZeros | displaytrailingzeros |
void NXOpen::Annotations::UnitsStyleBuilder::SetDualDimensionFormat | ( | NXOpen::Annotations::DualDimensionPlacement | dualDimensionFormat | ) |
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")
dualDimensionFormat | dualdimensionformat |
void NXOpen::Annotations::UnitsStyleBuilder::SetDualDimensionUnits | ( | NXOpen::Annotations::DimensionUnit | dualDimensionUnits | ) |
Sets the dual dimension units
Created in NX6.0.0.
License requirements : geometric_tol ("GDT") OR drafting ("DRAFTING")
dualDimensionUnits | dualdimensionunits |
void NXOpen::Annotations::UnitsStyleBuilder::SetDualFractionType | ( | NXOpen::Annotations::DimensionTextFormat | dualFractionType | ) |
Sets the decimal and fraction format for dual nonmetric dimensions
Created in NX6.0.0.
License requirements : geometric_tol ("GDT") OR drafting ("DRAFTING")
dualFractionType | dualfractiontype |
void NXOpen::Annotations::UnitsStyleBuilder::SetFractionalDisplay | ( | bool | fractionalDisplay | ) |
Sets the fractional display for angular dimension
Created in NX8.0.0.
License requirements : geometric_tol ("GDT") OR drafting ("DRAFTING")
fractionalDisplay | fractionaldisplay |
void NXOpen::Annotations::UnitsStyleBuilder::SetLinearFractionType | ( | NXOpen::Annotations::DimensionTextFormat | linearFractionType | ) |
Sets the decimal and fraction text format for nonmetric dimensions
Created in NX6.0.0.
License requirements : geometric_tol ("GDT") OR drafting ("DRAFTING")
linearFractionType | linearfractiontype |
void NXOpen::Annotations::UnitsStyleBuilder::SetNumeratorDegrees | ( | int | numeratorDegrees | ) |
Sets the numerator degrees of fractional display for angular dimension
Created in NX8.0.0.
License requirements : geometric_tol ("GDT") OR drafting ("DRAFTING")
numeratorDegrees | numeratordegrees |
void NXOpen::Annotations::UnitsStyleBuilder::SetNumeratorFraction | ( | double | numeratorFraction | ) |
Sets the numerator fractional degrees of fractional display for angular dimension
Created in NX8.0.0.
License requirements : geometric_tol ("GDT") OR drafting ("DRAFTING")
numeratorFraction | numeratorfraction |
void NXOpen::Annotations::UnitsStyleBuilder::SetNumeratorMinutes | ( | int | numeratorMinutes | ) |
Sets the numerator minutes of fractional display for angular dimension
Created in NX8.0.0.
License requirements : geometric_tol ("GDT") OR drafting ("DRAFTING")
numeratorMinutes | numeratorminutes |
void NXOpen::Annotations::UnitsStyleBuilder::SetNumeratorSeconds | ( | int | numeratorSeconds | ) |
Sets the numerator seconds of fractional display for angular dimension
Created in NX8.0.0.
License requirements : geometric_tol ("GDT") OR drafting ("DRAFTING")
numeratorSeconds | numeratorseconds |
void NXOpen::Annotations::UnitsStyleBuilder::SetToleranceAngularFormat | ( | NXOpen::Annotations::AngularDimensionFormat | toleranceAngularFormat | ) |
Sets the tolerance angular format and precision
Created in NX6.0.0.
License requirements : geometric_tol ("GDT") OR drafting ("DRAFTING")
toleranceAngularFormat | toleranceangularformat |
NXOpen::Annotations::AngularDimensionFormat NXOpen::Annotations::UnitsStyleBuilder::ToleranceAngularFormat | ( | ) |
Returns the tolerance angular format and precision
Created in NX6.0.0.
License requirements : None
|
virtual |
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.
Implements NXOpen::GeometricUtilities::IComponentBuilder.