NX Open C++ Reference Guide
|
This class is used to create or edit a Features::ShipDesign::Hull feature. More...
Public Types | |
enum | Types { TypesSheetBody, TypesFaces } |
Indicates the method that is being used to define the mold face of the hull. More... | |
![]() | |
enum | StiffenerDirectionType { StiffenerDirectionTypeFwdPortToInUp, StiffenerDirectionTypeAftStbdFrOutDn, StiffenerDirectionTypeFwdPortToInCtr, StiffenerDirectionTypeAftStbdFrOutCtr } |
Settings used to indicate the default primary and secondary stiffener direction. More... | |
![]() | |
enum | OrientationAngleRuleTypes { OrientationAngleRuleTypesRightHand, OrientationAngleRuleTypesShipOrientation } |
Settings to indicate how angles are to be measured. More... | |
Public Member Functions | |
NXOpen::ScCollector * | MoldFaces () |
Returns the faces selected that defines the overall shape of the hull. | |
NXOpen::SelectBody * | MoldFaceSheet () |
Returns the sheet body selected that defines the overall shape of the hull. | |
void | SetType (NXOpen::Features::ShipDesign::HullBuilder::Types type) |
Sets the method used to define the mold face of the hull. | |
NXOpen::Features::ShipDesign::HullBuilder::Types | Type () |
Returns the method used to define the mold face of the hull. | |
![]() | |
NXOpen::Plane * | BoundaryPlane () |
Returns the plane defined to indicate the boundary of the plate system. | |
NXOpen::Section * | BoundarySection () |
Returns the section containing curves that define the boundary of the plate system. | |
NXOpen::SelectNXObjectList * | BoundarySheets () |
Returns the sheet bodies or datum planes selected, or a face collector used to define the boundary of the plate system. | |
void | CleanUpTemporaryCurves () |
Cleans up the temp curves. | |
NXOpen::Body * | CreateRegionBody () |
Create the region body that has the inscribed boundaries. | |
void | DeletePreviewBody (bool bDelete) |
Deletes the preview body. | |
void | DeleteRegionBody () |
Delete the current region body. | |
NXOpen::Expression * | Offset () |
Returns the offset to apply to the selected mold face to produce the desired mold face. | |
NXOpen::Features::ShipDesign::PlateSystemBuilder::StiffenerDirectionType | Primary () |
Returns the primary stiffener direction. | |
NXOpen::Features::ShipDesign::PlateSystemBuilder::StiffenerDirectionType | PrimaryOnReference () |
Returns the primary stiffener direction when the plate system is located on a midship reference. | |
NXOpen::GeometricUtilities::ProjectionOptions * | ProjectionDirection () |
Returns the direction used to project the boundary section curves onto the mold face. | |
NXOpen::RegionPointList * | Regions () |
Returns the regions selected from the sheet, that has the inscribed boundaries, to keep for the final plate system shape. | |
NXOpen::Features::ShipDesign::PlateSystemBuilder::StiffenerDirectionType | Secondary1 () |
Returns the direction of the stiffener flange. | |
NXOpen::Features::ShipDesign::PlateSystemBuilder::StiffenerDirectionType | Secondary1OnReference () |
Returns the direction of the stiffener flange when the stiffener is located on a midship reference. | |
NXOpen::Features::ShipDesign::PlateSystemBuilder::StiffenerDirectionType | Secondary2 () |
Returns the direction of the stiffener flange. | |
NXOpen::Features::ShipDesign::PlateSystemBuilder::StiffenerDirectionType | Secondary2OnReference () |
Returns the direction of the stiffener flange when the stiffener is located on a midship reference. | |
void | SetBoundaryPlane (NXOpen::Plane *boundaryPlane) |
Sets the plane defined to indicate the boundary of the plate system. | |
void | SetKnuckleEdges (const std::vector< NXOpen::TaggedObject * > &knuckleEdges) |
Sets the knuckle edges, which includes edges for both bend and split types. | |
void | SetPreviewOption (bool bPreview) |
Sets the preview option. | |
void | SetPrimary (NXOpen::Features::ShipDesign::PlateSystemBuilder::StiffenerDirectionType primary) |
Sets the primary stiffener direction. | |
void | SetPrimaryOnReference (NXOpen::Features::ShipDesign::PlateSystemBuilder::StiffenerDirectionType primaryOnReference) |
Sets the primary stiffener direction when the plate system is located on a midship reference. | |
void | SetRegionIndex (const std::vector< int > &indexArray) |
Sets the region index. | |
void | SetRegionPoints (const std::vector< NXOpen::Point3d > ®ionPoints) |
Set the points derived from the regions of the sheet, that has the inscribed boundaries, to keep for the final plate system shape. | |
void | SetSecondary1 (NXOpen::Features::ShipDesign::PlateSystemBuilder::StiffenerDirectionType secondary1) |
Sets the direction of the stiffener flange. | |
void | SetSecondary1OnReference (NXOpen::Features::ShipDesign::PlateSystemBuilder::StiffenerDirectionType secondary1OnReference) |
Sets the direction of the stiffener flange when the stiffener is located on a midship reference. | |
void | SetSecondary2 (NXOpen::Features::ShipDesign::PlateSystemBuilder::StiffenerDirectionType secondary2) |
Sets the direction of the stiffener flange. | |
void | SetSecondary2OnReference (NXOpen::Features::ShipDesign::PlateSystemBuilder::StiffenerDirectionType secondary2OnReference) |
Sets the direction of the stiffener flange when the stiffener is located on a midship reference. | |
void | SetSplitEdgeUpdateFlag (bool isSplitEdgeUpdate) |
Sets the flag to indicate that split knuckle edges are out of date and need to update. | |
void | SetTightness (int tightness) |
Sets the tightness desired for the plate system. | |
NXOpen::SelectNXObjectList * | SplitKnuckleEdges () |
Returns the split knuckle edges, which are used to create seam feature to split a plate system into plate subsystem. | |
NXOpen::Features::ShipDesign::PlateStockBuilder * | Stock () |
Returns the plate stock builder, used to define the plate material, grade, thickness, mass density, and thicken option. | |
NXOpen::Features::ShipDesign::ThicknessDirectionBuilder * | ThicknessDirection () |
Returns the thickness direction builder, used to specify the thickness direction from the mold face. | |
int | Tightness () |
Returns the tightness desired for the plate system. | |
NXOpen::Weld::CharacteristicsBuilder * | Weld () |
Returns the welding characteristics builder, used to assign welding characteristics to the outermost edges of a plate system. | |
![]() | |
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 a Features::ShipDesign::Hull feature.
<br> To create a new instance of this class, use @link Features::ShipCollection::CreateHullBuilder Features::ShipCollection::CreateHullBuilder @endlink <br>
Default values.
Property | Value |
---|---|
Offset.Value |
0 (millimeters part), 0 (inches part) |
Primary |
FwdPortToInUp |
PrimaryOnReference |
FwdPortToInUp |
Secondary1 |
FwdPortToInUp |
Secondary1OnReference |
FwdPortToInUp |
Secondary2 |
FwdPortToInUp |
Secondary2OnReference |
FwdPortToInUp |
Created in NX8.0.0.
NXOpen::ScCollector* NXOpen::Features::ShipDesign::HullBuilder::MoldFaces | ( | ) |
Returns the faces selected that defines the overall shape of the hull.
This is only used if the Features::ShipDesign::HullBuilder::TypesFaces is set.
Created in NX8.0.0.
License requirements : None
NXOpen::SelectBody* NXOpen::Features::ShipDesign::HullBuilder::MoldFaceSheet | ( | ) |
Returns the sheet body selected that defines the overall shape of the hull.
This is only used if the Features::ShipDesign::HullBuilder::TypesSheetBody is set.
Created in NX8.0.0.
License requirements : None
void NXOpen::Features::ShipDesign::HullBuilder::SetType | ( | NXOpen::Features::ShipDesign::HullBuilder::Types | type | ) |
Sets the method used to define the mold face of the hull.
Created in NX8.0.0.
License requirements : nx_ship_basic ("Ship Basic Design")
type | type |
NXOpen::Features::ShipDesign::HullBuilder::Types NXOpen::Features::ShipDesign::HullBuilder::Type | ( | ) |
Returns the method used to define the mold face of the hull.
Created in NX8.0.0.
License requirements : None