NX Open C++ Reference Guide
|
This class is used to convert/upgrade legacy Ship Design features. More...
Public Types | |
enum | PartScope { PartScopeWorkPart, PartScopeWorkPartandComponents } |
Settings for the conversion scope. More... | |
Public Member Functions | |
int | NumCandidateFeatures () |
Returns the number of candidate features. | |
int | NumConvertedFeatures () |
Returns the number of converted features. | |
NXOpen::Features::ShipDesign::ShipFeatureConverter::PartScope | Scope () |
Returns the conversion scope Created in NX7.5.0. | |
void | SetScope (NXOpen::Features::ShipDesign::ShipFeatureConverter::PartScope scope) |
Sets the conversion scope Created in NX7.5.0. | |
![]() | |
NXOpen::NXObject * | Commit () |
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::NXObject * | GetObject () |
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. | |
![]() | |
tag_t | GetTag () const |
<b>Deprecated</b>:<br> Use Tag instead. | |
tag_t | Tag () const |
Returns the tag of this object. | |
This class is used to convert/upgrade legacy Ship Design features.
It currently supports the conversion of KF Steel Features into non-KF Steel features.
To create a new instance of this class, use Features::ShipCollection::CreateShipFeatureConverter
Default values.
Property | Value |
---|---|
Scope |
WorkPart |
Created in NX7.5.0.
int NXOpen::Features::ShipDesign::ShipFeatureConverter::NumCandidateFeatures | ( | ) |
Returns the number of candidate features.
This is only set after committing the converter.
Created in NX7.5.0.
License requirements : None
int NXOpen::Features::ShipDesign::ShipFeatureConverter::NumConvertedFeatures | ( | ) |
Returns the number of converted features.
This is only set after committing the converter.
Created in NX7.5.0.
License requirements : None
NXOpen::Features::ShipDesign::ShipFeatureConverter::PartScope NXOpen::Features::ShipDesign::ShipFeatureConverter::Scope | ( | ) |
Returns the conversion scope
Created in NX7.5.0.
License requirements : None
void NXOpen::Features::ShipDesign::ShipFeatureConverter::SetScope | ( | NXOpen::Features::ShipDesign::ShipFeatureConverter::PartScope | scope | ) |
Sets the conversion scope
Created in NX7.5.0.
License requirements : nx_ship_concept ("Ship Concept")
scope | scope |