NXOpen .NET Reference  12.0.0
Public Types | Public Member Functions | Properties | List of all members
NXOpen.MeasureBodies Class Reference

Represents the measurement specific mass properties for a set of bodies More...

Inheritance diagram for NXOpen.MeasureBodies:
NXOpen.GenericMeasure

Public Types

enum  ActiveValue {
  Volume, Area, Mass, RadiusOfGyration,
  Weight, Centroid
}
 Indicates the type of embedded measurement to create More...
 
enum  AnalysisUnit {
  PoundInch, PoundFoot, GramMillimeter, GramCentimeter,
  KilogramMeter, KilogramMillimeter, CustomUnit
}
 Indicates the family of units used in mass property information listings More...
 
- Public Types inherited from NXOpen.GenericMeasure
enum  Type {
  MinimumDistance, LocalMinimumDistance, MaximumDistance, ProjectedDistance,
  RadialDistance, Length, TwoObjectAngle, ThreePointAngle,
  FaceProperties, MassProperties, PointsOnCurves, RoutingPathLength,
  DiameterDistance, PolarRadius, PolarAngle, RectangularExtreme,
  PolarArea, MinimumSmartDistance, MaximumSmartDistance, Point
}
 The types for a measurement More...
 

Public Member Functions

unsafe NXOpen.Measure CreateFeature ()
 Creates and returns a measurement feature to obtain mass properties of solid bodies More...
 
unsafe string CreateEmbedded (NXOpen.MeasureBodies.ActiveValue measurementType)
 Creates and returns an embedded measurement expression. More...
 
unsafe NXOpen.Scalar CreateEmbeddedObject (NXOpen.MeasureBodies.ActiveValue measurementType, out string name)
 Creates an embedded measurement. More...
 
- Public Member Functions inherited from NXOpen.GenericMeasure
unsafe void Information ()
 Display information about a measurement. More...
 

Properties

unsafe double Area [get]
 Returns the value for area of the measurement More...
 
unsafe NXOpen.Point3d Centroid [get]
 Returns the centroid point of the measurement More...
 
unsafe
NXOpen.MeasureBodies.AnalysisUnit 
InformationUnit [get, set]
 Returns or sets the family of units for mass properties in the information window More...
 
unsafe double Mass [get]
 Returns the value for mass of the measurement More...
 
unsafe double RadiusOfGyration [get]
 Returns the value for radius of gyration of the measurement More...
 
unsafe double Volume [get]
 Returns the value for volume of the measurement More...
 
unsafe double Weight [get]
 Returns the value for weight of the measurement More...
 
- Properties inherited from NXOpen.GenericMeasure
unsafe NXOpen.GenericMeasure.Type MeasurementType [get]
 Returns the type of the measurement More...
 

Additional Inherited Members

- Protected Member Functions inherited from NXOpen.GenericMeasure
override void FreeResource ()
 Free resources associated with the measure. More...
 

Detailed Description

Represents the measurement specific mass properties for a set of bodies

To create or edit an instance of this class, use NXOpen.MeasureFaceBuilder

Created in NX4.0.0

Member Enumeration Documentation

Indicates the type of embedded measurement to create

Enumerator
Volume 
Area 
Mass 
RadiusOfGyration 
Weight 
Centroid 

Indicates the family of units used in mass property information listings

Enumerator
PoundInch 
PoundFoot 
GramMillimeter 
GramCentimeter 
KilogramMeter 
KilogramMillimeter 
CustomUnit 

Member Function Documentation

unsafe string NXOpen.MeasureBodies.CreateEmbedded ( NXOpen.MeasureBodies.ActiveValue  measurementType)

Creates and returns an embedded measurement expression.

Deprecated: Use CreateEmbeddedObject instead

Created in NX4.0.0

Deprecated in NX5.0.1. Use NXOpen.MeasureBodies.CreateEmbeddedObject instead.

License requirements: solid_modeling ("SOLIDS MODELING")

Parameters
measurementType
Returns
unsafe NXOpen.Scalar NXOpen.MeasureBodies.CreateEmbeddedObject ( NXOpen.MeasureBodies.ActiveValue  measurementType,
out string  name 
)

Creates an embedded measurement.

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

Created in NX5.0.1

License requirements: solid_modeling ("SOLIDS MODELING")

Parameters
measurementType
namethe name of the measurement
Returns
the measurement
unsafe NXOpen.Measure NXOpen.MeasureBodies.CreateFeature ( )

Creates and returns a measurement feature to obtain mass properties of solid bodies

Created in NX4.0.0

License requirements: solid_modeling ("SOLIDS MODELING")

Returns

Property Documentation

unsafe double NXOpen.MeasureBodies.Area
get

Returns the value for area of the measurement

Created in NX4.0.0

License requirements: None.

unsafe NXOpen.Point3d NXOpen.MeasureBodies.Centroid
get

Returns the centroid point of the measurement

Created in NX4.0.0

License requirements: None.

unsafe NXOpen.MeasureBodies.AnalysisUnit NXOpen.MeasureBodies.InformationUnit
getset

Returns or sets the family of units for mass properties in the information window

Created in NX4.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe double NXOpen.MeasureBodies.Mass
get

Returns the value for mass of the measurement

Created in NX4.0.0

License requirements: None.

unsafe double NXOpen.MeasureBodies.RadiusOfGyration
get

Returns the value for radius of gyration of the measurement

Created in NX4.0.0

License requirements: None.

unsafe double NXOpen.MeasureBodies.Volume
get

Returns the value for volume of the measurement

Created in NX4.0.0

License requirements: None.

unsafe double NXOpen.MeasureBodies.Weight
get

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 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.