NX Open C++ Reference Guide
|
Represents the measurement specific mass properties for a set of bodies
Created in NX4.0.0.
More...
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::Scalar * | CreateEmbeddedObject (NXOpen::MeasureBodies::ActiveValue measurementType, NXString *name) |
Creates an embedded measurement. | |
NXOpen::Measure * | CreateFeature () |
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. |
Represents the measurement specific mass properties for a set of bodies
Created in NX4.0.0.
Indicates the family of units used in mass property information listings.
double NXOpen::MeasureBodies::Area | ( | ) |
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
NXString NXOpen::MeasureBodies::CreateEmbedded | ( | NXOpen::MeasureBodies::ActiveValue | measurementType | ) |
Creates and returns an embedded measurement expression.
Deprecated: Use CreateEmbeddedObject instead
Created in NX4.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
measurementType | measurement type |
NXOpen::Scalar* NXOpen::MeasureBodies::CreateEmbeddedObject | ( | NXOpen::MeasureBodies::ActiveValue | measurementType, |
NXString * | name | ||
) |
Creates an embedded measurement.
The name of the measurement can be used in an expression formula.
measurementType | measurement type |
name | the name of the measurement |
Creates and returns a measurement feature.
Returns the family of units for mass properties in the information window
Created in NX4.0.0.
License requirements : None
double NXOpen::MeasureBodies::Mass | ( | ) |
Returns the value for mass of the measurement
Created in NX4.0.0.
License requirements : None
double NXOpen::MeasureBodies::RadiusOfGyration | ( | ) |
Returns the value for radius of gyration of the measurement
Created in NX4.0.0.
License requirements : None
void NXOpen::MeasureBodies::SetInformationUnit | ( | NXOpen::MeasureBodies::AnalysisUnit | unitValue | ) |
Sets the family of units for mass properties in the information window
Created in NX4.0.0.
License requirements : None
unitValue | unit value |
double NXOpen::MeasureBodies::Volume | ( | ) |
Returns the value for volume of the measurement
Created in NX4.0.0.
License requirements : None
double NXOpen::MeasureBodies::Weight | ( | ) |
Returns the value for weight of the measurement
Created in NX4.0.0.
License requirements : None