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

Represents a scalar. More...

Inheritance diagram for NXOpen::Scalar:
NXOpen::SmartObject NXOpen::DisplayableObject NXOpen::NXObject NXOpen::IFitTo NXOpen::TaggedObject NXOpen::INXObject NXOpen::INXObject

List of all members.

Public Types

enum  DimensionalityType {
  DimensionalityTypeNone, DimensionalityTypeLength, DimensionalityTypeArea, DimensionalityTypeVolume,
  DimensionalityTypeMass, DimensionalityTypeAngle, DimensionalityTypeForce
}
 Specifies the dimensionality of the scalar. More...

Public Member Functions

NXOpen::Scalar::DimensionalityType Dimensionality ()
 Returns the dimensionality of a scalar.
NXString MeasurementName ()
 Returns the measurement name, if the scalar represents a measurement.
void SetValue (double scalarValue)
 Sets the value of a scalar.
double Value ()
 Returns the value of a scalar.

Detailed Description

Represents a scalar.


To create a new instance of this class, use ScalarCollection::CreateScalar

Created in NX3.0.0.


Member Enumeration Documentation

Specifies the dimensionality of the scalar.

Enumerator:
DimensionalityTypeNone 

none

DimensionalityTypeLength 

length

DimensionalityTypeArea 

area

DimensionalityTypeVolume 

volume

DimensionalityTypeMass 

mass

DimensionalityTypeAngle 

angle

DimensionalityTypeForce 

force


Member Function Documentation

Returns the dimensionality of a scalar.


Created in NX3.0.0.

License requirements : None

Returns the measurement name, if the scalar represents a measurement.

For more information on measurements, see MeasureManager .
Created in NX5.0.1.

License requirements : None

void NXOpen::Scalar::SetValue ( double  scalarValue)

Sets the value of a scalar.


Created in NX5.0.0.

License requirements : None

Parameters:
scalarValuescalarvalue

Returns the value of a scalar.


Created in NX3.0.0.

License requirements : None


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