Class MeasureBodies
Inheritance
System.Object
    System.MarshalByRefObject
    
    
    
    MeasureBodies
  Implements
System.Runtime.Remoting.Messaging.IMessageSink
    System.IDisposable
  Inherited Members
      System.MarshalByRefObject.CreateObjRef(System.Type)
    
    
      System.MarshalByRefObject.GetLifetimeService()
    
    
      System.MarshalByRefObject.InitializeLifetimeService()
    
    
      System.MarshalByRefObject.MemberwiseClone(System.Boolean)
    
    
      System.Object.Equals(System.Object)
    
    
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.GetHashCode()
    
    
      System.Object.GetType()
    
    
      System.Object.MemberwiseClone()
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
  Namespace: NXOpen
Assembly: NXOpen.dll
Syntax
public class MeasureBodies : GenericMeasure, IMessageSink, IDisposable
  Constructors
MeasureBodies(IntPtr)
Declaration
protected MeasureBodies(IntPtr ptr)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.IntPtr | ptr | 
Properties
Area
Declaration
public double Area { get; }
  Property Value
| Type | Description | 
|---|---|
| System.Double | 
Centroid
Declaration
public Point3d Centroid { get; }
  Property Value
| Type | Description | 
|---|---|
| Point3d | 
InformationUnit
Declaration
public MeasureBodies.AnalysisUnit InformationUnit { get; set; }
  Property Value
| Type | Description | 
|---|---|
| MeasureBodies.AnalysisUnit | 
Mass
Declaration
public double Mass { get; }
  Property Value
| Type | Description | 
|---|---|
| System.Double | 
RadiusOfGyration
Declaration
public double RadiusOfGyration { get; }
  Property Value
| Type | Description | 
|---|---|
| System.Double | 
Volume
Declaration
public double Volume { get; }
  Property Value
| Type | Description | 
|---|---|
| System.Double | 
Weight
Declaration
public double Weight { get; }
  Property Value
| Type | Description | 
|---|---|
| System.Double | 
Methods
CreateEmbedded(MeasureBodies.ActiveValue)
Declaration
[Obsolete("Deprecated in NX5.0.1.  Use NXOpen.MeasureBodies.CreateEmbeddedObject instead.")]
public string CreateEmbedded(MeasureBodies.ActiveValue measurementType)
  Parameters
| Type | Name | Description | 
|---|---|---|
| MeasureBodies.ActiveValue | measurementType | 
Returns
| Type | Description | 
|---|---|
| System.String | 
CreateEmbeddedObject(MeasureBodies.ActiveValue, out String)
Declaration
public Scalar CreateEmbeddedObject(MeasureBodies.ActiveValue measurementType, out string name)
  Parameters
| Type | Name | Description | 
|---|---|---|
| MeasureBodies.ActiveValue | measurementType | |
| System.String | name | 
Returns
| Type | Description | 
|---|---|
| Scalar | 
CreateFeature()
Declaration
public Measure CreateFeature()
  Returns
| Type | Description | 
|---|---|
| Measure | 
Implements
      System.Runtime.Remoting.Messaging.IMessageSink
  
  
      System.IDisposable