NX Open C++ Reference Guide
|
This is to create a Features::ShipDesign::TransitionBuilder which is used to create Detail Design elements from Basic Design elements. More...
Public Types | |
enum | TransitionMethods { TransitionMethodsUpdateExisting, TransitionMethodsCreateNew } |
Transition Method. More... | |
enum | TransitionTypes { TransitionTypesSection, TransitionTypesFrame } |
Transition Type. More... | |
Public Member Functions | |
void | SetFrameParts (std::vector< NXString > &framePartFilenames) |
Set frame part names. | |
void | SetSectionBlockParts (std::vector< NXString > §ionParts) |
The section block part file name. | |
void | SetTransitionMethod (NXOpen::Features::ShipDesign::TransitionBuilder::TransitionMethods method) |
Sets the transition method. | |
void | SetTransitionType (NXOpen::Features::ShipDesign::TransitionBuilder::TransitionTypes type) |
Sets the transition type. | |
NXOpen::Features::ShipDesign::TransitionBuilder::TransitionMethods | TransitionMethod () |
Returns the transition method. | |
NXOpen::Features::ShipDesign::TransitionBuilder::TransitionTypes | TransitionType () |
Returns the transition type. | |
![]() | |
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 is to create a Features::ShipDesign::TransitionBuilder which is used to create Detail Design elements from Basic Design elements.
<br> To create a new instance of this class, use @link Features::ShipCollection::CreateTransitionBuilder Features::ShipCollection::CreateTransitionBuilder @endlink <br>
Default values.
Property | Value |
---|---|
TransitionMethod |
UpdateExisting |
TransitionType |
Created in NX8.5.0.
Transition Method.
Create New method means all transition will begin with a scratch Update Existing method means to update previous transitioned result
Transition Type.
Section type means the basic design elements in speicified ship section will be transitioned. Frame type means specified basic design elements will be transitioned.
void NXOpen::Features::ShipDesign::TransitionBuilder::SetFrameParts | ( | std::vector< NXString > & | framePartFilenames | ) |
Set frame part names.
Created in NX8.5.0.
License requirements : nx_ship_basic ("Ship Basic Design")
framePartFilenames | framepartfilenames |
void NXOpen::Features::ShipDesign::TransitionBuilder::SetSectionBlockParts | ( | std::vector< NXString > & | sectionParts | ) |
The section block part file name.
Created in NX8.5.0.
License requirements : nx_ship_basic ("Ship Basic Design")
sectionParts | sectionparts |
void NXOpen::Features::ShipDesign::TransitionBuilder::SetTransitionMethod | ( | NXOpen::Features::ShipDesign::TransitionBuilder::TransitionMethods | method | ) |
Sets the transition method.
Created in NX8.5.0.
License requirements : nx_ship_basic ("Ship Basic Design")
method | method |
void NXOpen::Features::ShipDesign::TransitionBuilder::SetTransitionType | ( | NXOpen::Features::ShipDesign::TransitionBuilder::TransitionTypes | type | ) |
Sets the transition type.
Created in NX8.5.0.
License requirements : nx_ship_basic ("Ship Basic Design")
type | type |
NXOpen::Features::ShipDesign::TransitionBuilder::TransitionMethods NXOpen::Features::ShipDesign::TransitionBuilder::TransitionMethod | ( | ) |
Returns the transition method.
Created in NX8.5.0.
License requirements : None
NXOpen::Features::ShipDesign::TransitionBuilder::TransitionTypes NXOpen::Features::ShipDesign::TransitionBuilder::TransitionType | ( | ) |
Returns the transition type.
Created in NX8.5.0.
License requirements : None