NX Open C++ Reference Guide
Public Types | Public Member Functions | List of all members
NXOpen::GeometricAnalysis::SolidDensity Class Reference

 Represents a @link GeometricAnalysis::SolidDensity GeometricAnalysis::SolidDensity@endlink 
 <br> To create a new instance of this class, use @link GeometricAnalysis::AnalysisManager::CreateSolidDensityObject  GeometricAnalysis::AnalysisManager::CreateSolidDensityObject @endlink  <br> 


Created in NX5.0.0. More...

Inheritance diagram for NXOpen::GeometricAnalysis::SolidDensity:
NXOpen::Builder NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

Public Types

enum  UnitsType { UnitsTypePoundsPerCubicInches, UnitsTypePoundsPerCubicFeet, UnitsTypeGramsPerCubicCentimeters, UnitsTypeKilogramsPerCubicMeters }
 Types of units for solid density. More...
 

Public Member Functions

double Density ()
 Returns the Solid Density.
 
void SetDensity (double density)
 Sets the Solid Density.
 
void SetUnits (NXOpen::GeometricAnalysis::SolidDensity::UnitsType units)
 Sets the density units for GeometricAnalysis::SolidDensity .
 
NXOpen::SelectObjectListSolids ()
 Returns the solids to set density for
Created in NX5.0.0.
 
NXOpen::GeometricAnalysis::SolidDensity::UnitsType Units ()
 Returns the density units for GeometricAnalysis::SolidDensity .
 
- Public Member Functions inherited from NXOpen::Builder
NXOpen::NXObjectCommit ()
 Commits any edits that have been applied to the builder.
 
void Destroy ()
 Deletes the builder, and cleans up any objects created by the builder.
 
std::vector< NXOpen::NXObject * > GetCommittedObjects ()
 For builders that create more than one object, this method returns the objects that are created by commit.
 
NXOpen::NXObjectGetObject ()
 Returns the object currently being edited by this builder.
 
void ShowResults ()
 Updates the model to reflect the result of an edit to the model for all builders that support showing results.
 
virtual bool Validate ()
 Validate whether the inputs to the component are sufficient for commit to be called.
 
- Public Member Functions inherited from NXOpen::TaggedObject
tag_t GetTag () const
 
<b>Deprecated</b>:<br>

   Use Tag instead.

 
tag_t Tag () const
 Returns the tag of this object.
 

Detailed Description

 Represents a @link GeometricAnalysis::SolidDensity GeometricAnalysis::SolidDensity@endlink 
 <br> To create a new instance of this class, use @link GeometricAnalysis::AnalysisManager::CreateSolidDensityObject  GeometricAnalysis::AnalysisManager::CreateSolidDensityObject @endlink  <br> 


Created in NX5.0.0.


Member Enumeration Documentation

Types of units for solid density.

Enumerator:
UnitsTypePoundsPerCubicInches 

Lbs/Cubic Inches.

UnitsTypePoundsPerCubicFeet 

Lbs/Cubic Feet.

UnitsTypeGramsPerCubicCentimeters 

Grams/Cubic Centimeters.

UnitsTypeKilogramsPerCubicMeters 

Kilograms/Cubic Meters.

Member Function Documentation

double NXOpen::GeometricAnalysis::SolidDensity::Density ( )

Returns the Solid Density.

Units and SetUnits must be specified before specifying the density. When Units and SetUnits is changed, Density and SetDensity value is recomputed to reflect the change in units. Set Units and SetUnits first, then Density and SetDensity to set specify the density along with its units.
Created in NX5.0.0.

License requirements : None

void NXOpen::GeometricAnalysis::SolidDensity::SetDensity ( double  density)

Sets the Solid Density.

Units and SetUnits must be specified before specifying the density. When Units and SetUnits is changed, Density and SetDensity value is recomputed to reflect the change in units. Set Units and SetUnits first, then Density and SetDensity to set specify the density along with its units.
Created in NX5.0.0.

License requirements : None

Parameters
densitydensity
void NXOpen::GeometricAnalysis::SolidDensity::SetUnits ( NXOpen::GeometricAnalysis::SolidDensity::UnitsType  units)

Sets the density units for GeometricAnalysis::SolidDensity .

     When @link Units Units @endlink and @link SetUnits SetUnits @endlink  is changed, @link Density Density @endlink and @link SetDensity SetDensity @endlink 
     value is recomputed to reflect the change in units. Set
     @link Units Units @endlink and @link SetUnits SetUnits @endlink  first, then
     @link Density Density @endlink and @link SetDensity SetDensity @endlink  to set specify the density with
     units. 


Created in NX5.0.0.

License requirements : None

Parameters
unitsType of Units
NXOpen::SelectObjectList* NXOpen::GeometricAnalysis::SolidDensity::Solids ( )

Returns the solids to set density for
Created in NX5.0.0.



License requirements : None

NXOpen::GeometricAnalysis::SolidDensity::UnitsType NXOpen::GeometricAnalysis::SolidDensity::Units ( )

Returns the density units for GeometricAnalysis::SolidDensity .

     When @link Units Units @endlink and @link SetUnits SetUnits @endlink  is changed, @link Density Density @endlink and @link SetDensity SetDensity @endlink 
     value is recomputed to reflect the change in units. Set
     @link Units Units @endlink and @link SetUnits SetUnits @endlink  first, then
     @link Density Density @endlink and @link SetDensity SetDensity @endlink  to set specify the density with
     units. 


Created in NX5.0.0.

License requirements : None


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