NX Open C++ Reference Guide
|
Represents a @link Features::ShipDesign::UpdateShipLibrary Features::ShipDesign::UpdateShipLibrary@endlink builder <br> To create a new instance of this class, use @link Features::ShipCollection::CreateUpdateShipLibraryBuilder Features::ShipCollection::CreateUpdateShipLibraryBuilder @endlink <br>
Default values. More...
Public Types | |
enum | ShipLibAssemblyOption { ShipLibAssemblyOptionWorkPart, ShipLibAssemblyOptionWorkPartandComponents, ShipLibAssemblyOptionWorkPartandComponentswithLibraries } |
Assembly update library options. More... | |
enum | ShipLibOptionType { ShipLibOptionTypeProfile, ShipLibOptionTypeBelt, ShipLibOptionTypeCutout, ShipLibOptionTypeEndcut, ShipLibOptionTypeSupport, ShipLibOptionTypeSupportCap, ShipLibOptionTypeWeldOnEdge, ShipLibOptionTypeBracket, ShipLibOptionTypeWeldAlongEdge } |
Ship Library Types Note the weld along edge option is no longer used in NX7.5, and will be removed in NX8. More... | |
Public Member Functions | |
NXOpen::Features::ShipDesign::UpdateShipLibraryBuilder::ShipLibAssemblyOption | AssemblyOptions () |
Returns the assembly scope options. | |
NXString | FileBrowser () |
Returns the file browser Created in NX5.3.0. | |
void | SetAssemblyOptions (NXOpen::Features::ShipDesign::UpdateShipLibraryBuilder::ShipLibAssemblyOption assemblyOptions) |
Sets the assembly scope options. | |
void | SetFileBrowser (const NXString &filename) |
Sets the file browser Created in NX5.3.0. | |
void | SetFileBrowser (const char *filename) |
Sets the file browser Created in NX5.3.0. | |
void | SetShipLibType (NXOpen::Features::ShipDesign::UpdateShipLibraryBuilder::ShipLibOptionType shipLibType) |
Sets the ship lib type Created in NX5.3.0. | |
NXOpen::Features::ShipDesign::UpdateShipLibraryBuilder::ShipLibOptionType | ShipLibType () |
Returns the ship lib type Created in NX5.3.0. | |
![]() | |
NXOpen::Features::Feature * | CommitFeature () |
Commits the feature parameters and creates the feature. | |
NXOpen::Features::Feature * | GetFeature () |
Returns the feature currently being edited by this builder. | |
void | HideInternalParentFeatureAfterEdit (NXOpen::Features::Feature *parentFeature) |
Re-suppress an internal parent feature (a slave feature) after it has been edited. | |
bool | ParentFeatureInternal () |
Returns whether or not the latest timestamped parent feature of this feature should be made internal Created in NX5.0.0. | |
bool | PatchSolutionFlag () |
Returns the patch solution flag Created in NX8.0.1. | |
NXString | PatchSurfaceFilename () |
Returns the patch surface filename Created in NX8.0.1. | |
void | SetParentFeatureInternal (NXOpen::Features::Feature *parentFeature) |
Set the parent features which would be internal or slaves to the feature being created or commited Created in NX6.0.0. | |
void | SetParentFeatureInternal (bool isInternal) |
Sets whether or not the latest timestamped parent feature of this feature should be made internal Created in NX5.0.0. | |
void | SetPatchSolutionFlag (bool optionValue) |
Sets the patch solution flag Created in NX8.0.1. | |
void | SetPatchSurfaceFilename (const NXString &surfaceFilename) |
Sets the patch surface filename Created in NX8.0.1. | |
void | SetPatchSurfaceFilename (const char *surfaceFilename) |
Sets the patch surface filename Created in NX8.0.1. | |
void | SetSurroundingPatchSurfaceFilename (const NXString &surroundingSurfaceFilename) |
Sets the surrounding patch surface filename Created in NX8.0.1. | |
void | SetSurroundingPatchSurfaceFilename (const char *surroundingSurfaceFilename) |
Sets the surrounding patch surface filename Created in NX8.0.1. | |
void | ShowInternalParentFeatureForEdit (NXOpen::Features::Feature *parentFeature) |
Unsuppress an internal parent feature (a slave feature) so it can be edited. | |
NXString | SurroundingPatchSurfaceFilename () |
Returns the surrounding patch surface filename Created in NX8.0.1. | |
void | UnsetParentFeatureInternal (NXOpen::Features::Feature *parentFeature) |
Set the internal parent feature of the feature being edited to external Created in NX6.0.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. | |
Represents a @link Features::ShipDesign::UpdateShipLibrary Features::ShipDesign::UpdateShipLibrary@endlink builder <br> To create a new instance of this class, use @link Features::ShipCollection::CreateUpdateShipLibraryBuilder Features::ShipCollection::CreateUpdateShipLibraryBuilder @endlink <br>
Default values.
Property | Value |
---|---|
AssemblyOptions |
WorkPart |
ShipLibType |
Created in NX5.3.0.
Assembly update library options.
Ship Library Types Note the weld along edge option is no longer used in NX7.5, and will be removed in NX8.
NXOpen::Features::ShipDesign::UpdateShipLibraryBuilder::ShipLibAssemblyOption NXOpen::Features::ShipDesign::UpdateShipLibraryBuilder::AssemblyOptions | ( | ) |
Returns the assembly scope options.
Created in NX7.5.0.
License requirements : None
NXString NXOpen::Features::ShipDesign::UpdateShipLibraryBuilder::FileBrowser | ( | ) |
Returns the file browser
Created in NX5.3.0.
License requirements : None
void NXOpen::Features::ShipDesign::UpdateShipLibraryBuilder::SetAssemblyOptions | ( | NXOpen::Features::ShipDesign::UpdateShipLibraryBuilder::ShipLibAssemblyOption | assemblyOptions | ) |
Sets the assembly scope options.
Created in NX7.5.0.
License requirements : nx_ship_concept ("Ship Concept")
assemblyOptions | assemblyoptions |
void NXOpen::Features::ShipDesign::UpdateShipLibraryBuilder::SetFileBrowser | ( | const NXString & | filename | ) |
Sets the file browser
Created in NX5.3.0.
License requirements : nx_ship_concept ("Ship Concept")
filename | filename |
void NXOpen::Features::ShipDesign::UpdateShipLibraryBuilder::SetFileBrowser | ( | const char * | filename | ) |
Sets the file browser
Created in NX5.3.0.
License requirements : nx_ship_concept ("Ship Concept")
filename | filename |
void NXOpen::Features::ShipDesign::UpdateShipLibraryBuilder::SetShipLibType | ( | NXOpen::Features::ShipDesign::UpdateShipLibraryBuilder::ShipLibOptionType | shipLibType | ) |
Sets the ship lib type
Created in NX5.3.0.
License requirements : nx_ship_concept ("Ship Concept")
shipLibType | shiplibtype |
NXOpen::Features::ShipDesign::UpdateShipLibraryBuilder::ShipLibOptionType NXOpen::Features::ShipDesign::UpdateShipLibraryBuilder::ShipLibType | ( | ) |
Returns the ship lib type
Created in NX5.3.0.
License requirements : None