NX Open C++ Reference Guide
|
This class is used to create or edit the information shared among all Ship Design features. More...
Public Types | |
enum | OrientationAngleRuleTypes { OrientationAngleRuleTypesRightHand, OrientationAngleRuleTypesShipOrientation } |
Settings to indicate how angles are to be measured. More... | |
Public Member Functions | |
double | AngleTolerance () |
Returns the tolerance, in degrees, used to determine when angles are zero. | |
NXOpen::Features::ShipDesign::PlaneListBuilder * | CreatePlaneForList () |
Create a Features::ShipDesign::PlaneListBuilder to add a defined plane to a list. | |
double | DistanceTolerance () |
Returns the tolerance used to determine when distances are considered zero. | |
NXOpen::Features::ShipDesign::FeatureParmsBuilder::OrientationAngleRuleTypes | OrientationAngleRule () |
Returns the angle rule to use when measuring angles. | |
void | SetAngleTolerance (double angleTolerance) |
Sets the tolerance, in degrees, used to determine when angles are zero. | |
void | SetDistanceTolerance (double distanceTolerance) |
Sets the tolerance used to determine when distances are considered zero. | |
void | SetOrientationAngleRule (NXOpen::Features::ShipDesign::FeatureParmsBuilder::OrientationAngleRuleTypes angleRule) |
Sets the angle rule to use when measuring angles. | |
![]() | |
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. | |
This class is used to create or edit the information shared among all Ship Design features.
Currently only Basic Design features are utilizing this class.
Cannot create directly.
Created in NX8.0.0.
double NXOpen::Features::ShipDesign::FeatureParmsBuilder::AngleTolerance | ( | ) |
Returns the tolerance, in degrees, used to determine when angles are zero.
Created in NX8.0.0.
License requirements : None
NXOpen::Features::ShipDesign::PlaneListBuilder* NXOpen::Features::ShipDesign::FeatureParmsBuilder::CreatePlaneForList | ( | ) |
Create a Features::ShipDesign::PlaneListBuilder to add a defined plane to a list.
double NXOpen::Features::ShipDesign::FeatureParmsBuilder::DistanceTolerance | ( | ) |
Returns the tolerance used to determine when distances are considered zero.
Created in NX8.0.0.
License requirements : None
NXOpen::Features::ShipDesign::FeatureParmsBuilder::OrientationAngleRuleTypes NXOpen::Features::ShipDesign::FeatureParmsBuilder::OrientationAngleRule | ( | ) |
Returns the angle rule to use when measuring angles.
Created in NX9.0.0.
License requirements : None
void NXOpen::Features::ShipDesign::FeatureParmsBuilder::SetAngleTolerance | ( | double | angleTolerance | ) |
Sets the tolerance, in degrees, used to determine when angles are zero.
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")
angleTolerance | angletolerance |
void NXOpen::Features::ShipDesign::FeatureParmsBuilder::SetDistanceTolerance | ( | double | distanceTolerance | ) |
Sets the tolerance used to determine when distances are considered zero.
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")
distanceTolerance | distancetolerance |
void NXOpen::Features::ShipDesign::FeatureParmsBuilder::SetOrientationAngleRule | ( | NXOpen::Features::ShipDesign::FeatureParmsBuilder::OrientationAngleRuleTypes | angleRule | ) |
Sets the angle rule to use when measuring angles.
Created in NX9.0.0.
License requirements : nx_ship_concept ("Ship Concept") OR nx_ship_basic ("Ship Basic Design") OR nx_ship_detail ("Ship Detail Design")
angleRule | anglerule |