NX Open C++ Reference Guide
|
Represents the class Features.ShipDesign.WeightAndCGBuilder which is used to calculate the weight and cg information. More...
Public Types | |
enum | SelectionMethods { SelectionMethodsVolume, SelectionMethodsFrame } |
Settings to indicate how the objects are selected. More... | |
Public Member Functions | |
NXOpen::Features::ShipDesign::WeightAndCGBuilder::SelectionMethods | SelectionMethod () |
Returns the selection method. More... | |
NXOpen::Part * | SetFrameParts (int nPartCount) |
Sets the selected frame parts. More... | |
void | SetSelectionMethod (NXOpen::Features::ShipDesign::WeightAndCGBuilder::SelectionMethods enumSelectionType) |
Sets the selection method. More... | |
NXOpen::SelectBody * | VolumeBody () |
Returns the selected volume body. 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 the class Features.ShipDesign.WeightAndCGBuilder which is used to calculate the weight and cg information.
To create a new instance of this class, use NXOpen::Features::ShipCollection::CreateWeightAndCgBuilder
Default values.
Property | Value |
---|---|
SelectionMethod |
Volume |
Created in NX10.0.0.
NXOpen::Features::ShipDesign::WeightAndCGBuilder::SelectionMethods NXOpen::Features::ShipDesign::WeightAndCGBuilder::SelectionMethod | ( | ) |
Returns the selection method.
Created in NX10.0.0.
License requirements : nx_ship_basic ("Ship Basic Design")
NXOpen::Part* NXOpen::Features::ShipDesign::WeightAndCGBuilder::SetFrameParts | ( | int | nPartCount | ) |
Sets the selected frame parts.
nPartCount | npartcount |
void NXOpen::Features::ShipDesign::WeightAndCGBuilder::SetSelectionMethod | ( | NXOpen::Features::ShipDesign::WeightAndCGBuilder::SelectionMethods | enumSelectionType | ) |
Sets the selection method.
Created in NX10.0.0.
License requirements : nx_ship_basic ("Ship Basic Design")
enumSelectionType | enumselectiontype |
NXOpen::SelectBody* NXOpen::Features::ShipDesign::WeightAndCGBuilder::VolumeBody | ( | ) |
Returns the selected volume body.
Created in NX10.0.0.
License requirements : nx_ship_basic ("Ship Basic Design")