|
NX Open C++ Reference Guide
|
Represents a Features::ShipDesign::Plate builder. More...
Public Types | |
| enum | BodyTypes { BodyTypesSheetBody, BodyTypesSolidBody } |
| Settings to indicate the plate output body type. More... | |
| enum | RegionOptions { RegionOptionsAll, RegionOptionsInsideBody, RegionOptionsOutsideBody } |
| Settings to indicate what areas to create the plate when using body faces as boundaries. More... | |
| enum | TightnessOptions { TightnessOptionsNonTight, TightnessOptionsWaterTight, TightnessOptionsOilTight, TightnessOptionsAirTight } |
| Settings to indicate what tightness to create the plate. More... | |
| enum | Types { TypesCreate, TypesAdopt } |
| Settings to indicate how the plate is generated. More... | |
Public Member Functions | |
| NXOpen::SelectBodyList * | AdoptionBodies () |
| Returns the adoption bodies, which are used to create multiple plates. | |
| NXOpen::ScCollector * | AdoptionBodiesMoldFace () |
| Returns the mold face of adoption bodies. | |
| NXOpen::SelectBodyList * | BodyBoundary () |
| Returns the body boundary, which can be mixed with curve, face and plane to define the plate boundary. | |
| std::vector< NXOpen::Body * > | CreateRegions () |
| Creates regions to output the selected plates. | |
| NXOpen::Section * | CurveBoundary () |
| Returns the curve boundary, which can be a single region or multiple regions. | |
| void | DeleteRegions () |
| Deletes regions Created in NX8.0.0. | |
| double | DistanceTolerance () |
| Returns the distance tolerance. | |
| NXOpen::ExpressionCollectorSetList * | FacePlaneBoundary () |
| Returns the face, plane boundary, which defines a list of trimming objects with offset values. | |
| bool | FlipDirection () |
| Returns the flip direction, which can change the plate thickness direction. | |
| NXOpen::ScCollector * | MoldFace () |
| Returns the mold face, which is used to create the plate body and define the plate placement. | |
| NXOpen::Expression * | MoldFaceOffset () |
| Returns the mold face offset, which defines an offset distance to the mold face. | |
| NXOpen::Features::ShipDesign::PlateStockBuilder * | PlateStock () |
| Returns the plate stock builder, which defines the plate material, grade, thickness, mass density, thicken option and opposite thickness. | |
| NXOpen::GeometricUtilities::ProjectionOptions * | ProjectDirection () |
| Returns the project direction, which is used to project the boundary curves to the plate mold face. | |
| NXOpen::Features::ShipDesign::PlateBuilder::RegionOptions | RegionOption () |
| Returns the region option, which defines the plate areas in case of body faces as plate boundary. | |
| NXOpen::SelectNXObjectList * | Regions () |
| Returns the regions to create plates Created in NX8.0.0. | |
| void | SetDistanceTolerance (double distanceTolerance) |
| Sets the distance tolerance. | |
| void | SetFlipDirection (bool flipDirection) |
| Sets the flip direction, which can change the plate thickness direction. | |
| void | SetKnuckleEdges (const std::vector< NXOpen::Edge * > &knuckleEdges) |
| Sets the knuckle edges, which include edges for both bend and split types. | |
| void | SetRegionOption (NXOpen::Features::ShipDesign::PlateBuilder::RegionOptions regionOption) |
| Sets the region option, which defines the plate areas in case of body faces as plate boundary. | |
| void | SetTightness (NXOpen::Features::ShipDesign::PlateBuilder::TightnessOptions tightness) |
| Sets the tightness, which defines the plate is tight (air tight, oil tight, water tight) or non tight. | |
| void | SetType (NXOpen::Features::ShipDesign::PlateBuilder::Types type) |
| Sets the plate type, which is creation or adoption. | |
| NXOpen::SelectEdgeList * | SplitKnuckleEdges () |
| Returns the split knuckle edges, which are used to split a plate into separate knuckle parts. | |
| NXOpen::Features::ShipDesign::PlateBuilder::TightnessOptions | Tightness () |
| Returns the tightness, which defines the plate is tight (air tight, oil tight, water tight) or non tight. | |
| NXOpen::Features::ShipDesign::PlateBuilder::Types | Type () |
| Returns the plate type, which is creation or adoption. | |
Public Member Functions inherited from NXOpen::Features::FeatureBuilder | |
| 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. | |
Public Member Functions inherited from NXOpen::Builder | |
| 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. | |
Public Member Functions inherited from NXOpen::TaggedObject | |
| 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::Plate builder.
This builder is used to create and edit ship plate feature. The plate feature can be created from construction curves, boundary faces or planes. And also a solid body cab be adopted as a plate.
To create a new instance of this class, use Features::ShipCollection::CreatePlateBuilder
Default values.
| Property | Value |
|---|---|
|
DistanceTolerance |
0.0254 (millimeters part), 0.001 (inches part) |
|
MoldFaceOffset.Value |
0 (millimeters part), 0 (inches part) |
|
PlateStock.KnuckleRatio |
3.0 |
|
PlateStock.KnuckleSmoothAngle |
3.0 |
|
PlateStock.MaterialOption |
0 |
|
PlateStock.OppositeThickness.Value |
0 (millimeters part), 0 (inches part) |
|
PlateStock.RestrictThicknessToMaterial |
true |
|
PlateStock.ThickenOption |
SingleSided |
|
PlateStock.Thickness.Value |
10 (millimeters part), 0.5 (inches part) |
|
PlateStock.ThicknessSourceOption |
List |
|
RegionOption |
OutsideBody |
|
Tightness |
NonTight |
Created in NX8.0.0.
| NXOpen::SelectBodyList* NXOpen::Features::ShipDesign::PlateBuilder::AdoptionBodies | ( | ) |
Returns the adoption bodies, which are used to create multiple plates.
Each plate has a single body.
Created in NX8.0.0.
License requirements : None
| NXOpen::ScCollector* NXOpen::Features::ShipDesign::PlateBuilder::AdoptionBodiesMoldFace | ( | ) |
Returns the mold face of adoption bodies.
Created in NX8.0.0.
License requirements : None
| NXOpen::SelectBodyList* NXOpen::Features::ShipDesign::PlateBuilder::BodyBoundary | ( | ) |
Returns the body boundary, which can be mixed with curve, face and plane to define the plate boundary.
Created in NX8.0.0.
License requirements : None
| std::vector<NXOpen::Body *> NXOpen::Features::ShipDesign::PlateBuilder::CreateRegions | ( | ) |
Creates regions to output the selected plates.
| NXOpen::Section* NXOpen::Features::ShipDesign::PlateBuilder::CurveBoundary | ( | ) |
Returns the curve boundary, which can be a single region or multiple regions.
In case of multiple regions, it creates multiple plates.
Created in NX8.0.0.
License requirements : None
| void NXOpen::Features::ShipDesign::PlateBuilder::DeleteRegions | ( | ) |
Deletes regions
Created in NX8.0.0.
License requirements : nx_ship_detail ("Ship Detail Design")
| double NXOpen::Features::ShipDesign::PlateBuilder::DistanceTolerance | ( | ) |
Returns the distance tolerance.
Created in NX8.0.0.
License requirements : None
| NXOpen::ExpressionCollectorSetList* NXOpen::Features::ShipDesign::PlateBuilder::FacePlaneBoundary | ( | ) |
Returns the face, plane boundary, which defines a list of trimming objects with offset values.
Created in NX8.0.0.
License requirements : None
| bool NXOpen::Features::ShipDesign::PlateBuilder::FlipDirection | ( | ) |
Returns the flip direction, which can change the plate thickness direction.
Created in NX8.0.0.
License requirements : None
| NXOpen::ScCollector* NXOpen::Features::ShipDesign::PlateBuilder::MoldFace | ( | ) |
Returns the mold face, which is used to create the plate body and define the plate placement.
Created in NX8.0.0.
License requirements : None
| NXOpen::Expression* NXOpen::Features::ShipDesign::PlateBuilder::MoldFaceOffset | ( | ) |
Returns the mold face offset, which defines an offset distance to the mold face.
Created in NX8.0.0.
License requirements : None
| NXOpen::Features::ShipDesign::PlateStockBuilder* NXOpen::Features::ShipDesign::PlateBuilder::PlateStock | ( | ) |
Returns the plate stock builder, which defines the plate material, grade, thickness, mass density, thicken option and opposite thickness.
Created in NX8.0.0.
License requirements : None
| NXOpen::GeometricUtilities::ProjectionOptions* NXOpen::Features::ShipDesign::PlateBuilder::ProjectDirection | ( | ) |
Returns the project direction, which is used to project the boundary curves to the plate mold face.
Created in NX8.0.0.
License requirements : None
| NXOpen::Features::ShipDesign::PlateBuilder::RegionOptions NXOpen::Features::ShipDesign::PlateBuilder::RegionOption | ( | ) |
Returns the region option, which defines the plate areas in case of body faces as plate boundary.
Created in NX8.0.0.
License requirements : None
| NXOpen::SelectNXObjectList* NXOpen::Features::ShipDesign::PlateBuilder::Regions | ( | ) |
Returns the regions to create plates
Created in NX8.0.0.
License requirements : None
| void NXOpen::Features::ShipDesign::PlateBuilder::SetDistanceTolerance | ( | double | distanceTolerance | ) |
Sets the distance tolerance.
Created in NX8.0.0.
License requirements : nx_ship_detail ("Ship Detail Design")
| distanceTolerance | distancetolerance |
| void NXOpen::Features::ShipDesign::PlateBuilder::SetFlipDirection | ( | bool | flipDirection | ) |
Sets the flip direction, which can change the plate thickness direction.
Created in NX8.0.0.
License requirements : nx_ship_detail ("Ship Detail Design")
| flipDirection | flipdirection |
| void NXOpen::Features::ShipDesign::PlateBuilder::SetKnuckleEdges | ( | const std::vector< NXOpen::Edge * > & | knuckleEdges | ) |
Sets the knuckle edges, which include edges for both bend and split types.
Created in NX9.0.0.
License requirements : nx_ship_detail ("Ship Detail Design")
| knuckleEdges | G0 edges |
| void NXOpen::Features::ShipDesign::PlateBuilder::SetRegionOption | ( | NXOpen::Features::ShipDesign::PlateBuilder::RegionOptions | regionOption | ) |
Sets the region option, which defines the plate areas in case of body faces as plate boundary.
Created in NX8.0.0.
License requirements : nx_ship_detail ("Ship Detail Design")
| regionOption | regionoption |
| void NXOpen::Features::ShipDesign::PlateBuilder::SetTightness | ( | NXOpen::Features::ShipDesign::PlateBuilder::TightnessOptions | tightness | ) |
Sets the tightness, which defines the plate is tight (air tight, oil tight, water tight) or non tight.
Created in NX9.0.0.
License requirements : nx_ship_detail ("Ship Detail Design")
| tightness | tightness |
| void NXOpen::Features::ShipDesign::PlateBuilder::SetType | ( | NXOpen::Features::ShipDesign::PlateBuilder::Types | type | ) |
Sets the plate type, which is creation or adoption.
Created in NX8.0.0.
License requirements : nx_ship_detail ("Ship Detail Design")
| type | type |
| NXOpen::SelectEdgeList* NXOpen::Features::ShipDesign::PlateBuilder::SplitKnuckleEdges | ( | ) |
Returns the split knuckle edges, which are used to split a plate into separate knuckle parts.
Created in NX9.0.0.
License requirements : None
| NXOpen::Features::ShipDesign::PlateBuilder::TightnessOptions NXOpen::Features::ShipDesign::PlateBuilder::Tightness | ( | ) |
Returns the tightness, which defines the plate is tight (air tight, oil tight, water tight) or non tight.
Created in NX9.0.0.
License requirements : None
| NXOpen::Features::ShipDesign::PlateBuilder::Types NXOpen::Features::ShipDesign::PlateBuilder::Type | ( | ) |
Returns the plate type, which is creation or adoption.
Created in NX8.0.0.
License requirements : None