NX Open C++ Reference Guide
|
Represents a NXOpen::GeometricAnalysis::SolidDensity
To create a new instance of this class, use NXOpen::GeometricAnalysis::AnalysisManager::CreateSolidDensityObject
Created in NX5.0.0.
More...
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::SelectObjectList * | Solids () |
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::NXObject * | Commit () |
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::NXObject * | GetObject () |
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... | |
Represents a NXOpen::GeometricAnalysis::SolidDensity
To create a new instance of this class, use NXOpen::GeometricAnalysis::AnalysisManager::CreateSolidDensityObject
Created in NX5.0.0.
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
density | density |
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
units | Type 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