NX Open C++ Reference Guide
|
Represents the View Scale (Drawings.ViewScaleBuilder) More...
Public Types | |
enum | Type { TypeRatio, TypeExpression } |
The view scale type. More... | |
Public Member Functions | |
double | Denominator () |
Returns the scale denominator Created in NX6.0.0. | |
NXOpen::Expression * | Expression () |
Returns the scale expression Created in NX6.0.0. | |
double | Numerator () |
Returns the scale numerator Created in NX6.0.0. | |
NXOpen::Drawings::ViewScaleBuilder::Type | ScaleType () |
Returns the scale type Created in NX6.0.0. | |
void | SetDenominator (double denominator) |
Sets the scale denominator Created in NX6.0.0. | |
void | SetExpression (NXOpen::Expression *expression) |
Sets the scale expression Created in NX6.0.0. | |
void | SetNumerator (double numerator) |
Sets the scale numerator Created in NX6.0.0. | |
void | SetScaleType (NXOpen::Drawings::ViewScaleBuilder::Type type) |
Sets the scale type 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 the View Scale (Drawings.ViewScaleBuilder)
Created in NX6.0.0.
double NXOpen::Drawings::ViewScaleBuilder::Denominator | ( | ) |
Returns the scale denominator
Created in NX6.0.0.
License requirements : None
NXOpen::Expression* NXOpen::Drawings::ViewScaleBuilder::Expression | ( | ) |
Returns the scale expression
Created in NX6.0.0.
License requirements : None
double NXOpen::Drawings::ViewScaleBuilder::Numerator | ( | ) |
Returns the scale numerator
Created in NX6.0.0.
License requirements : None
NXOpen::Drawings::ViewScaleBuilder::Type NXOpen::Drawings::ViewScaleBuilder::ScaleType | ( | ) |
Returns the scale type
Created in NX6.0.0.
License requirements : None
void NXOpen::Drawings::ViewScaleBuilder::SetDenominator | ( | double | denominator | ) |
Sets the scale denominator
Created in NX6.0.0.
License requirements : drafting ("DRAFTING")
denominator | sets the denominator for the view's scale |
void NXOpen::Drawings::ViewScaleBuilder::SetExpression | ( | NXOpen::Expression * | expression | ) |
Sets the scale expression
Created in NX6.0.0.
License requirements : drafting ("DRAFTING")
expression | sets the expression used to determine the view scale. It will only be used if type is set to Drawings::ViewScaleBuilder::TypeExpression . |
void NXOpen::Drawings::ViewScaleBuilder::SetNumerator | ( | double | numerator | ) |
Sets the scale numerator
Created in NX6.0.0.
License requirements : drafting ("DRAFTING")
numerator | sets the numerator for the view's scale |
void NXOpen::Drawings::ViewScaleBuilder::SetScaleType | ( | NXOpen::Drawings::ViewScaleBuilder::Type | type | ) |
Sets the scale type
Created in NX6.0.0.
License requirements : drafting ("DRAFTING")
type | sets the scale type. |
|
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.