NX Open C++ Reference Guide
Public Member Functions | List of all members
NXOpen::Annotations::OrdinateStyleBuilder Class Reference

Represents a NXOpen::Annotations::OrdinateStyleBuilder . More...

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

Public Member Functions

bool AlignSymbolWithBaseline ()
 Returns the align symbol with baseline preference
Created in NX6.0.0. More...
 
NXOpen::Annotations::OrdinateLineArrowDisplayOption DisplayDimensionLine ()
 Returns the display dimension line preference for an ordinate set
Created in NX6.0.0. More...
 
NXOpen::Annotations::OrdinateOriginDisplayOption DisplayNameStyle ()
 Returns the name display style for an ordinate set
Created in NX6.0.0. More...
 
bool DisplayZeroAtBaseline ()
 Returns the display zero at baseline flag. More...
 
double DoglegAngle ()
 Returns the dogleg angle. More...
 
NXOpen::Annotations::OrdinateDoglegCreationOption DoglegCreationOption ()
 Returns the dogleg creation option
Created in NX6.0.0. More...
 
double DoglegEndOffset ()
 Returns the dogleg end offset. More...
 
NXOpen::Annotations::OrdinateDoglegDefinition DoglegSetting ()
 Returns the dogleg setting. More...
 
double DoglegStartOffset ()
 Returns the dogleg start offset. More...
 
double MarginFirstOffset ()
 Returns the distance from the baseline to the first margin. More...
 
double MarginSpacing ()
 Returns the interval distance between successive margins
Created in NX6.0.0. More...
 
int NumberOfMargins ()
 Returns the number of margins to create. More...
 
double OrdinateTextAngle ()
 Returns the ordinate text angle
Created in NX6.0.0. More...
 
NXOpen::Annotations::TextOrientation OrdinateTextOrientation ()
 Returns the ordinate text orientation
Created in NX6.0.0. More...
 
NXOpen::Annotations::OrdinatePositiveDirection PositiveDirection ()
 Returns the positive direction of measurement for an ordinate set
Created in NX6.0.0. More...
 
void SetAlignSymbolWithBaseline (bool alignSymbolWithBaseline)
 Sets the align symbol with baseline preference
Created in NX6.0.0. More...
 
void SetDisplayDimensionLine (NXOpen::Annotations::OrdinateLineArrowDisplayOption displayDimensionLine)
 Sets the display dimension line preference for an ordinate set
Created in NX6.0.0. More...
 
void SetDisplayNameStyle (NXOpen::Annotations::OrdinateOriginDisplayOption displayNameStyle)
 Sets the name display style for an ordinate set
Created in NX6.0.0. More...
 
void SetDisplayZeroAtBaseline (bool zeroTextsDisplay)
 Sets the display zero at baseline flag. More...
 
void SetDoglegAngle (double doglegAngle)
 Sets the dogleg angle. More...
 
void SetDoglegCreationOption (NXOpen::Annotations::OrdinateDoglegCreationOption doglegCreationOption)
 Sets the dogleg creation option
Created in NX6.0.0. More...
 
void SetDoglegEndOffset (double doglegEndOffset)
 Sets the dogleg end offset. More...
 
void SetDoglegSetting (NXOpen::Annotations::OrdinateDoglegDefinition doglegSetting)
 Sets the dogleg setting. More...
 
void SetDoglegStartOffset (double doglegStartOffset)
 Sets the dogleg start offset. More...
 
void SetMarginFirstOffset (double marginFirstOffset)
 Sets the distance from the baseline to the first margin. More...
 
void SetMarginSpacing (double marginSpacing)
 Sets the interval distance between successive margins
Created in NX6.0.0. More...
 
void SetNumberOfMargins (int numberOfMargins)
 Sets the number of margins to create. More...
 
void SetOrdinateTextAngle (double ordinateTextAngle)
 Sets the ordinate text angle
Created in NX6.0.0. More...
 
void SetOrdinateTextOrientation (NXOpen::Annotations::TextOrientation ordinateTextOrientation)
 Sets the ordinate text orientation
Created in NX6.0.0. More...
 
void SetPositiveDirection (NXOpen::Annotations::OrdinatePositiveDirection positiveDirection)
 Sets the positive direction of measurement for an ordinate set
Created in NX6.0.0. More...
 
void SetSymbolAngle (double symbolAngle)
 Sets the symbol angle in degress with respect to the baseline. More...
 
void SetSymbolAspectRatio (double symbolAspectRatio)
 Sets the symbol aspect ratio
Created in NX6.0.0. More...
 
void SetSymbolHeight (double symbolHeight)
 Sets the symbol height
Created in NX6.0.0. More...
 
void SetSymbolLength (double symbolLength)
 Sets the symbol length
Created in NX6.0.0. More...
 
void SetSymbolScale (double symbolScale)
 Sets the symbol scale
Created in NX6.0.0. More...
 
void SetUserDefinedText (const NXString &userDefinedText)
 Sets the ordinate origin user defined text
Created in NX6.0.0. More...
 
void SetUserDefinedText (const char *userDefinedText)
 Sets the ordinate origin user defined text
Created in NX6.0.0. More...
 
double SymbolAngle ()
 Returns the symbol angle in degress with respect to the baseline. More...
 
double SymbolAspectRatio ()
 Returns the symbol aspect ratio
Created in NX6.0.0. More...
 
double SymbolHeight ()
 Returns the symbol height
Created in NX6.0.0. More...
 
double SymbolLength ()
 Returns the symbol length
Created in NX6.0.0. More...
 
double SymbolScale ()
 Returns the symbol scale
Created in NX6.0.0. More...
 
NXString UserDefinedText ()
 Returns the ordinate origin user defined text
Created in NX6.0.0. More...
 
virtual bool Validate ()
 Validate whether the inputs to the component are sufficient for commit to be called. More...
 
- Public Member Functions inherited from NXOpen::TaggedObject
tag_t Tag () const
 Returns the tag of this object. More...
 

Detailed Description

Represents a NXOpen::Annotations::OrdinateStyleBuilder .

This class queries and sets ordinate specific preferences when creating or editing an ordinate set or ordinate dimension.


Created in NX6.0.0.

Member Function Documentation

bool NXOpen::Annotations::OrdinateStyleBuilder::AlignSymbolWithBaseline ( )

Returns the align symbol with baseline preference
Created in NX6.0.0.



License requirements : None

NXOpen::Annotations::OrdinateLineArrowDisplayOption NXOpen::Annotations::OrdinateStyleBuilder::DisplayDimensionLine ( )

Returns the display dimension line preference for an ordinate set
Created in NX6.0.0.



License requirements : None

NXOpen::Annotations::OrdinateOriginDisplayOption NXOpen::Annotations::OrdinateStyleBuilder::DisplayNameStyle ( )

Returns the name display style for an ordinate set
Created in NX6.0.0.



License requirements : None

bool NXOpen::Annotations::OrdinateStyleBuilder::DisplayZeroAtBaseline ( )

Returns the display zero at baseline flag.

If this is true, then ordinate set will have zero text displayed at extension lines.


Created in NX12.0.0.

License requirements : None

double NXOpen::Annotations::OrdinateStyleBuilder::DoglegAngle ( )

Returns the dogleg angle.

The valid range is greater than zero and less than or equal to 90 degrees
Created in NX6.0.0.

License requirements : None

NXOpen::Annotations::OrdinateDoglegCreationOption NXOpen::Annotations::OrdinateStyleBuilder::DoglegCreationOption ( )

Returns the dogleg creation option
Created in NX6.0.0.



License requirements : None

double NXOpen::Annotations::OrdinateStyleBuilder::DoglegEndOffset ( )

Returns the dogleg end offset.

This is the offset between the dimension line and the end position of the dogleg. This value must be greater than or equal to zero and less than or equal to the start offset
Created in NX6.0.0.

License requirements : None

NXOpen::Annotations::OrdinateDoglegDefinition NXOpen::Annotations::OrdinateStyleBuilder::DoglegSetting ( )

Returns the dogleg setting.

This specifies which options are used to specify the dogleg
Created in NX6.0.0.

License requirements : None

double NXOpen::Annotations::OrdinateStyleBuilder::DoglegStartOffset ( )

Returns the dogleg start offset.

This is the offset between the dimension line and the start position of the dogleg. The value must be greater than or equal to zero
Created in NX6.0.0.

License requirements : None

double NXOpen::Annotations::OrdinateStyleBuilder::MarginFirstOffset ( )

Returns the distance from the baseline to the first margin.

This can be a positive or negative number. The positive direction is away from the view's center
Created in NX6.0.0.

License requirements : None

double NXOpen::Annotations::OrdinateStyleBuilder::MarginSpacing ( )

Returns the interval distance between successive margins
Created in NX6.0.0.



License requirements : None

int NXOpen::Annotations::OrdinateStyleBuilder::NumberOfMargins ( )

Returns the number of margins to create.

The maximum is 32
Created in NX6.0.0.

License requirements : None

double NXOpen::Annotations::OrdinateStyleBuilder::OrdinateTextAngle ( )

Returns the ordinate text angle
Created in NX6.0.0.



License requirements : None

NXOpen::Annotations::TextOrientation NXOpen::Annotations::OrdinateStyleBuilder::OrdinateTextOrientation ( )

Returns the ordinate text orientation
Created in NX6.0.0.



License requirements : None

NXOpen::Annotations::OrdinatePositiveDirection NXOpen::Annotations::OrdinateStyleBuilder::PositiveDirection ( )

Returns the positive direction of measurement for an ordinate set
Created in NX6.0.0.



License requirements : None

void NXOpen::Annotations::OrdinateStyleBuilder::SetAlignSymbolWithBaseline ( bool  alignSymbolWithBaseline)

Sets the align symbol with baseline preference
Created in NX6.0.0.



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

Parameters
alignSymbolWithBaselinealignsymbolwithbaseline
void NXOpen::Annotations::OrdinateStyleBuilder::SetDisplayDimensionLine ( NXOpen::Annotations::OrdinateLineArrowDisplayOption  displayDimensionLine)

Sets the display dimension line preference for an ordinate set
Created in NX6.0.0.



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

Parameters
displayDimensionLinedisplaydimensionline
void NXOpen::Annotations::OrdinateStyleBuilder::SetDisplayNameStyle ( NXOpen::Annotations::OrdinateOriginDisplayOption  displayNameStyle)

Sets the name display style for an ordinate set
Created in NX6.0.0.



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

Parameters
displayNameStyledisplaynamestyle
void NXOpen::Annotations::OrdinateStyleBuilder::SetDisplayZeroAtBaseline ( bool  zeroTextsDisplay)

Sets the display zero at baseline flag.

If this is true, then ordinate set will have zero text displayed at extension lines.


Created in NX12.0.0.

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

Parameters
zeroTextsDisplayzerotextsdisplay
void NXOpen::Annotations::OrdinateStyleBuilder::SetDoglegAngle ( double  doglegAngle)

Sets the dogleg angle.

The valid range is greater than zero and less than or equal to 90 degrees
Created in NX6.0.0.

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

Parameters
doglegAngledoglegangle
void NXOpen::Annotations::OrdinateStyleBuilder::SetDoglegCreationOption ( NXOpen::Annotations::OrdinateDoglegCreationOption  doglegCreationOption)

Sets the dogleg creation option
Created in NX6.0.0.



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

Parameters
doglegCreationOptiondoglegcreationoption
void NXOpen::Annotations::OrdinateStyleBuilder::SetDoglegEndOffset ( double  doglegEndOffset)

Sets the dogleg end offset.

This is the offset between the dimension line and the end position of the dogleg. This value must be greater than or equal to zero and less than or equal to the start offset
Created in NX6.0.0.

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

Parameters
doglegEndOffsetdoglegendoffset
void NXOpen::Annotations::OrdinateStyleBuilder::SetDoglegSetting ( NXOpen::Annotations::OrdinateDoglegDefinition  doglegSetting)

Sets the dogleg setting.

This specifies which options are used to specify the dogleg
Created in NX6.0.0.

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

Parameters
doglegSettingdoglegsetting
void NXOpen::Annotations::OrdinateStyleBuilder::SetDoglegStartOffset ( double  doglegStartOffset)

Sets the dogleg start offset.

This is the offset between the dimension line and the start position of the dogleg. The value must be greater than or equal to zero
Created in NX6.0.0.

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

Parameters
doglegStartOffsetdoglegstartoffset
void NXOpen::Annotations::OrdinateStyleBuilder::SetMarginFirstOffset ( double  marginFirstOffset)

Sets the distance from the baseline to the first margin.

This can be a positive or negative number. The positive direction is away from the view's center
Created in NX6.0.0.

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

Parameters
marginFirstOffsetmarginfirstoffset
void NXOpen::Annotations::OrdinateStyleBuilder::SetMarginSpacing ( double  marginSpacing)

Sets the interval distance between successive margins
Created in NX6.0.0.



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

Parameters
marginSpacingmarginspacing
void NXOpen::Annotations::OrdinateStyleBuilder::SetNumberOfMargins ( int  numberOfMargins)

Sets the number of margins to create.

The maximum is 32
Created in NX6.0.0.

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

Parameters
numberOfMarginsnumberofmargins
void NXOpen::Annotations::OrdinateStyleBuilder::SetOrdinateTextAngle ( double  ordinateTextAngle)

Sets the ordinate text angle
Created in NX6.0.0.



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

Parameters
ordinateTextAngleordinatetextangle
void NXOpen::Annotations::OrdinateStyleBuilder::SetOrdinateTextOrientation ( NXOpen::Annotations::TextOrientation  ordinateTextOrientation)

Sets the ordinate text orientation
Created in NX6.0.0.



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

Parameters
ordinateTextOrientationordinatetextorientation
void NXOpen::Annotations::OrdinateStyleBuilder::SetPositiveDirection ( NXOpen::Annotations::OrdinatePositiveDirection  positiveDirection)

Sets the positive direction of measurement for an ordinate set
Created in NX6.0.0.



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

Parameters
positiveDirectionpositivedirection
void NXOpen::Annotations::OrdinateStyleBuilder::SetSymbolAngle ( double  symbolAngle)

Sets the symbol angle in degress with respect to the baseline.

This option only applies if the name display style is User-Defined and the the value of the Align Symbol with Baseline preference is false
Created in NX6.0.0.

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

Parameters
symbolAnglesymbolangle
void NXOpen::Annotations::OrdinateStyleBuilder::SetSymbolAspectRatio ( double  symbolAspectRatio)

Sets the symbol aspect ratio
Created in NX6.0.0.



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

Parameters
symbolAspectRatiosymbolaspectratio
void NXOpen::Annotations::OrdinateStyleBuilder::SetSymbolHeight ( double  symbolHeight)

Sets the symbol height
Created in NX6.0.0.



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

Parameters
symbolHeightsymbolheight
void NXOpen::Annotations::OrdinateStyleBuilder::SetSymbolLength ( double  symbolLength)

Sets the symbol length
Created in NX6.0.0.



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

Parameters
symbolLengthsymbollength
void NXOpen::Annotations::OrdinateStyleBuilder::SetSymbolScale ( double  symbolScale)

Sets the symbol scale
Created in NX6.0.0.



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

Parameters
symbolScalesymbolscale
void NXOpen::Annotations::OrdinateStyleBuilder::SetUserDefinedText ( const NXString userDefinedText)

Sets the ordinate origin user defined text
Created in NX6.0.0.



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

Parameters
userDefinedTextuserdefinedtext
void NXOpen::Annotations::OrdinateStyleBuilder::SetUserDefinedText ( const char *  userDefinedText)

Sets the ordinate origin user defined text
Created in NX6.0.0.



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

Parameters
userDefinedTextuserdefinedtext
double NXOpen::Annotations::OrdinateStyleBuilder::SymbolAngle ( )

Returns the symbol angle in degress with respect to the baseline.

This option only applies if the name display style is User-Defined and the the value of the Align Symbol with Baseline preference is false
Created in NX6.0.0.

License requirements : None

double NXOpen::Annotations::OrdinateStyleBuilder::SymbolAspectRatio ( )

Returns the symbol aspect ratio
Created in NX6.0.0.



License requirements : None

double NXOpen::Annotations::OrdinateStyleBuilder::SymbolHeight ( )

Returns the symbol height
Created in NX6.0.0.



License requirements : None

double NXOpen::Annotations::OrdinateStyleBuilder::SymbolLength ( )

Returns the symbol length
Created in NX6.0.0.



License requirements : None

double NXOpen::Annotations::OrdinateStyleBuilder::SymbolScale ( )

Returns the symbol scale
Created in NX6.0.0.



License requirements : None

NXString NXOpen::Annotations::OrdinateStyleBuilder::UserDefinedText ( )

Returns the ordinate origin user defined text
Created in NX6.0.0.



License requirements : None

virtual bool NXOpen::Annotations::OrdinateStyleBuilder::Validate ( )
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.

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 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.