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

Represents a NXOpen::GeometricAnalysis::SolidDensity
To create a new instance of this class, use NXOpen::GeometricAnalysis::AnalysisManager::CreateSolidDensityObject

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

Detailed Description

Represents a NXOpen::GeometricAnalysis::SolidDensity
To create a new instance of this class, use NXOpen::GeometricAnalysis::AnalysisManager::CreateSolidDensityObject

Created in NX5.0.0.


Member Enumeration Documentation

Types of units for solid density.

Enumerator
UnitsTypePoundsPerCubicInches 

lbm/in^3

UnitsTypePoundsPerCubicFeet 

lbm/ft^3

UnitsTypeGramsPerCubicCentimeters 

g/cm^3

UnitsTypeKilogramsPerCubicMeters 

kg/m^3

Member Function Documentation

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

Returns the Solid Density.

NXOpen::GeometricAnalysis::SolidDensity::SetUnits must be specified before specifying the density. When NXOpen::GeometricAnalysis::SolidDensity::SetUnits is changed, NXOpen::GeometricAnalysis::SolidDensity::Density value is recomputed to reflect the change in units. Set NXOpen::GeometricAnalysis::SolidDensity::SetUnits first, then NXOpen::GeometricAnalysis::SolidDensity::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.

NXOpen::GeometricAnalysis::SolidDensity::SetUnits must be specified before specifying the density. When NXOpen::GeometricAnalysis::SolidDensity::SetUnits is changed, NXOpen::GeometricAnalysis::SolidDensity::Density value is recomputed to reflect the change in units. Set NXOpen::GeometricAnalysis::SolidDensity::SetUnits first, then NXOpen::GeometricAnalysis::SolidDensity::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 NXOpen::GeometricAnalysis::SolidDensity .

When NXOpen::GeometricAnalysis::SolidDensity::SetUnits is changed, NXOpen::GeometricAnalysis::SolidDensity::Density value is recomputed to reflect the change in units. Set NXOpen::GeometricAnalysis::SolidDensity::SetUnits first, then NXOpen::GeometricAnalysis::SolidDensity::SetDensity 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 NXOpen::GeometricAnalysis::SolidDensity .

When NXOpen::GeometricAnalysis::SolidDensity::SetUnits is changed, NXOpen::GeometricAnalysis::SolidDensity::Density value is recomputed to reflect the change in units. Set NXOpen::GeometricAnalysis::SolidDensity::SetUnits first, then NXOpen::GeometricAnalysis::SolidDensity::SetDensity 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 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.