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

Represents the measurement specific mass properties for a set of bodies
Created in NX4.0.0. More...

Inheritance diagram for NXOpen::MeasureBodies:
NXOpen::GenericMeasure NXOpen::TransientObject

List of all members.

Public Types

enum  ActiveValue {
  ActiveValueVolume, ActiveValueArea, ActiveValueMass, ActiveValueRadiusOfGyration,
  ActiveValueWeight, ActiveValueCentroid
}
 Indicates the type of embedded measurement to create. More...
enum  AnalysisUnit {
  AnalysisUnitPoundInch, AnalysisUnitPoundFoot, AnalysisUnitGramMillimeter, AnalysisUnitGramCentimeter,
  AnalysisUnitKilogramMeter, AnalysisUnitKilogramMillimeter, AnalysisUnitCustomUnit
}
 Indicates the family of units used in mass property information listings. More...

Public Member Functions

double Area ()
 Returns the value for area of the measurement
Created in NX4.0.0.
NXOpen::Point3d Centroid ()
 Returns the centroid point of the measurement
Created in NX4.0.0.
NXString CreateEmbedded (NXOpen::MeasureBodies::ActiveValue measurementType)
 Creates and returns an embedded measurement expression.
NXOpen::ScalarCreateEmbeddedObject (NXOpen::MeasureBodies::ActiveValue measurementType, NXString *name)
 Creates an embedded measurement.
NXOpen::MeasureCreateFeature ()
 Creates and returns a measurement feature.
NXOpen::MeasureBodies::AnalysisUnit InformationUnit ()
 Returns the family of units for mass properties in the information window
Created in NX4.0.0.
double Mass ()
 Returns the value for mass of the measurement
Created in NX4.0.0.
double RadiusOfGyration ()
 Returns the value for radius of gyration of the measurement
Created in NX4.0.0.
void SetInformationUnit (NXOpen::MeasureBodies::AnalysisUnit unitValue)
 Sets the family of units for mass properties in the information window
Created in NX4.0.0.
double Volume ()
 Returns the value for volume of the measurement
Created in NX4.0.0.
double Weight ()
 Returns the value for weight of the measurement
Created in NX4.0.0.

Detailed Description

Represents the measurement specific mass properties for a set of bodies
Created in NX4.0.0.



Member Enumeration Documentation

Indicates the type of embedded measurement to create.

Enumerator:
ActiveValueVolume 

volume

ActiveValueArea 

area

ActiveValueMass 

mass

ActiveValueRadiusOfGyration 

radius of gyration

ActiveValueWeight 

weight

ActiveValueCentroid 

centroid

Indicates the family of units used in mass property information listings.

Enumerator:
AnalysisUnitPoundInch 

pound inch

AnalysisUnitPoundFoot 

pound foot

AnalysisUnitGramMillimeter 

gram millimeter

AnalysisUnitGramCentimeter 

gram centimeter

AnalysisUnitKilogramMeter 

kilogram meter

AnalysisUnitKilogramMillimeter 

kilogram millimeter

AnalysisUnitCustomUnit 

custom unit


Member Function Documentation

Returns the value for area of the measurement
Created in NX4.0.0.



License requirements : None

Returns the centroid point of the measurement
Created in NX4.0.0.



License requirements : None

Creates and returns an embedded measurement expression.

Deprecated: Use CreateEmbeddedObject instead

Returns:

Deprecated:
Deprecated in NX5.0.1.


Created in NX4.0.0.

License requirements : solid_modeling ("SOLIDS MODELING")

Parameters:
measurementTypemeasurement type

Creates an embedded measurement.

The name of the measurement can be used in an expression formula.

Returns:
the measurement
Created in NX5.0.1.

License requirements : solid_modeling ("SOLIDS MODELING")
Parameters:
measurementTypemeasurement type
namethe name of the measurement

Creates and returns a measurement feature.

Returns:

Created in NX4.0.0.

License requirements : solid_modeling ("SOLIDS MODELING")

Returns the family of units for mass properties in the information window
Created in NX4.0.0.



License requirements : None

Returns the value for mass of the measurement
Created in NX4.0.0.



License requirements : None

Returns the value for radius of gyration of the measurement
Created in NX4.0.0.



License requirements : None

Sets the family of units for mass properties in the information window
Created in NX4.0.0.



License requirements : None

Parameters:
unitValueunit value

Returns the value for volume of the measurement
Created in NX4.0.0.



License requirements : None

Returns the value for weight of the measurement
Created in NX4.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.