NX Open C++ Reference Guide
|
Represents a Features::ShipDesign::MainDimensions builder. More...
Public Member Functions | |
NXOpen::Expression * | AftPerpendicular () |
Returns the expression containing the position value of Aft Perpendicular along the X axis. | |
NXOpen::Expression * | Baseline () |
Returns the expression containing the position value of baseline along the Z axis. | |
NXOpen::Expression * | ForwardPerpendicular () |
Returns the expression containing the position value of forward Perpendicular along the X axis. | |
NXString | GridID () |
Returns the unique "Grid ID" for each ship. | |
NXOpen::Expression * | Midship () |
Returns the expression containing the position value of midship along the X axis. | |
void | SetGridID (const NXString &gridID) |
Sets the unique "Grid ID" for each ship. | |
void | SetGridID (const char *gridID) |
Sets the unique "Grid ID" for each ship. | |
NXOpen::SelectBody * | ShipBody () |
Returns the ship body. | |
NXOpen::Expression * | Waterline () |
Returns the expression containing the position value of waterline along the Z axis. | |
NXOpen::Expression * | XMax () |
Returns the expression containing the x max value. | |
NXOpen::Expression * | XMin () |
Returns the expression containing the x min value. | |
NXOpen::Expression * | YMax () |
Returns the expression containing the y max value. | |
NXOpen::Expression * | ZMax () |
Returns the expression containing the z max value. | |
NXOpen::Expression * | ZMin () |
Returns the expression containing the z min value. | |
![]() | |
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 Features::ShipDesign::MainDimensions builder.
<br> To create a new instance of this class, use @link Features::ShipCollection::CreateMainDimensionsBuilder Features::ShipCollection::CreateMainDimensionsBuilder @endlink <br>
Default values.
Property | Value |
---|---|
AftPerpendicular.Value |
0 (millimeters part), 0 (inches part) |
Baseline.Value |
0 (millimeters part), 0 (inches part) |
ForwardPerpendicular.Value |
0 (millimeters part), 0 (inches part) |
Midship.Value |
0 (millimeters part), 0 (inches part) |
Waterline.Value |
0 (millimeters part), 0 (inches part) |
XMax.Value |
25000 (millimeters part), 1000 (inches part) |
XMin.Value |
0 (millimeters part), 0 (inches part) |
YMax.Value |
2500 (millimeters part), 100 (inches part) |
ZMax.Value |
2500 (millimeters part), 100 (inches part) |
ZMin.Value |
0 (millimeters part), 0 (inches part) |
Created in NX5.0.0.
NXOpen::Expression* NXOpen::Features::ShipDesign::MainDimensionsBuilder::AftPerpendicular | ( | ) |
Returns the expression containing the position value of Aft Perpendicular along the X axis.
Created in NX8.0.0.
License requirements : None
NXOpen::Expression* NXOpen::Features::ShipDesign::MainDimensionsBuilder::Baseline | ( | ) |
Returns the expression containing the position value of baseline along the Z axis.
Created in NX8.0.0.
License requirements : None
NXOpen::Expression* NXOpen::Features::ShipDesign::MainDimensionsBuilder::ForwardPerpendicular | ( | ) |
Returns the expression containing the position value of forward Perpendicular along the X axis.
Created in NX8.0.0.
License requirements : None
NXString NXOpen::Features::ShipDesign::MainDimensionsBuilder::GridID | ( | ) |
Returns the unique "Grid ID" for each ship.
Created in NX8.0.0.
License requirements : None
NXOpen::Expression* NXOpen::Features::ShipDesign::MainDimensionsBuilder::Midship | ( | ) |
Returns the expression containing the position value of midship along the X axis.
Created in NX8.0.0.
License requirements : None
void NXOpen::Features::ShipDesign::MainDimensionsBuilder::SetGridID | ( | const NXString & | gridID | ) |
Sets the unique "Grid ID" for each ship.
Created in NX8.0.0.
License requirements : nx_ship_concept ("Ship Concept") OR nx_ship_basic ("Ship Basic Design") OR nx_ship_detail ("Ship Detail Design")
gridID | gridid |
void NXOpen::Features::ShipDesign::MainDimensionsBuilder::SetGridID | ( | const char * | gridID | ) |
Sets the unique "Grid ID" for each ship.
Created in NX8.0.0.
License requirements : nx_ship_concept ("Ship Concept") OR nx_ship_basic ("Ship Basic Design") OR nx_ship_detail ("Ship Detail Design")
gridID | gridid |
NXOpen::SelectBody* NXOpen::Features::ShipDesign::MainDimensionsBuilder::ShipBody | ( | ) |
Returns the ship body.
Created in NX5.0.0.
License requirements : None
NXOpen::Expression* NXOpen::Features::ShipDesign::MainDimensionsBuilder::Waterline | ( | ) |
Returns the expression containing the position value of waterline along the Z axis.
Created in NX8.0.0.
License requirements : None
NXOpen::Expression* NXOpen::Features::ShipDesign::MainDimensionsBuilder::XMax | ( | ) |
Returns the expression containing the x max value.
Created in NX8.0.0.
License requirements : None
NXOpen::Expression* NXOpen::Features::ShipDesign::MainDimensionsBuilder::XMin | ( | ) |
Returns the expression containing the x min value.
Created in NX8.0.0.
License requirements : None
NXOpen::Expression* NXOpen::Features::ShipDesign::MainDimensionsBuilder::YMax | ( | ) |
Returns the expression containing the y max value.
Created in NX8.0.0.
License requirements : None
NXOpen::Expression* NXOpen::Features::ShipDesign::MainDimensionsBuilder::ZMax | ( | ) |
Returns the expression containing the z max value.
Created in NX8.0.0.
License requirements : None
NXOpen::Expression* NXOpen::Features::ShipDesign::MainDimensionsBuilder::ZMin | ( | ) |
Returns the expression containing the z min value.
Created in NX8.0.0.
License requirements : None