NX Open C++ Reference Guide
Public Types | Public Member Functions
NXOpen::Drawings::ViewScaleBuilder Class Reference

Represents the View Scale (Drawings.ViewScaleBuilder) More...

Inheritance diagram for NXOpen::Drawings::ViewScaleBuilder:
NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

List of all members.

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::ExpressionExpression ()
 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.

Detailed Description

Represents the View Scale (Drawings.ViewScaleBuilder)


Created in NX6.0.0.


Member Enumeration Documentation

The view scale type.

Enumerator:
TypeRatio 

determine scale from numerator / denominator

TypeExpression 

determine scale from expression


Member Function Documentation

Returns the scale denominator
Created in NX6.0.0.



License requirements : None

Returns the scale expression
Created in NX6.0.0.



License requirements : None

Returns the scale numerator
Created in NX6.0.0.



License requirements : None

Returns the scale type
Created in NX6.0.0.



License requirements : None

Sets the scale denominator
Created in NX6.0.0.



License requirements : drafting ("DRAFTING")

Parameters:
denominatorsets the denominator for the view's scale

Sets the scale expression
Created in NX6.0.0.



License requirements : drafting ("DRAFTING")

Parameters:
expressionsets the expression used to determine the view scale. It will only be used if type is set to Drawings::ViewScaleBuilder::TypeExpression .

Sets the scale numerator
Created in NX6.0.0.



License requirements : drafting ("DRAFTING")

Parameters:
numeratorsets the numerator for the view's scale

Sets the scale type
Created in NX6.0.0.



License requirements : drafting ("DRAFTING")

Parameters:
typesets the scale type.

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.