NX Open C++ Reference Guide
|
Represents a Features::ShipDesign::EndCut builder. More...
Public Types | |
enum | ConnectionTypes { ConnectionTypesConnected, ConnectionTypesFlangeFree, ConnectionTypesSniped } |
This enum defines the different ways a limiting geometry can connect to the endcut face. More... | |
enum | DraftTypes { DraftTypesTrim, DraftTypesExtend } |
This enum defines the types of draft to be applied. More... | |
enum | LimitTypes { LimitTypesValue, LimitTypesPlane, LimitTypesNeatTrim } |
This enum defines the different ways users can trim the ends of a profile or a plate. More... | |
enum | SelectionTypes { SelectionTypesFacesWithAttributes, SelectionTypesFaceAndEdge } |
This enum defines the Placement Face and Placement Edge Selection Type. More... | |
Public Member Functions | |
NXOpen::Features::ShipDesign::EndCutBuilder::ConnectionTypes | ConnectionType () |
Returns the connection type. | |
NXOpen::Expression * | DraftAngle () |
Returns the draft angle Created in NX8.0.0. | |
NXOpen::Expression * | DraftOffset () |
Returns the draft offset. | |
NXOpen::Features::ShipDesign::EndCutBuilder::DraftTypes | DraftType () |
Returns the draft type. | |
NXOpen::Features::ShipDesign::SteelFeatureSpreadsheetBuilder * | FlangeSketchData () |
Returns the flange sketch data. | |
void | InheritParametersFromEndcutFace (NXOpen::Face *endcutFace) |
Copy the parameters from the endcut face to this endcut. | |
NXOpen::SelectDisplayableObject * | LimitGeometry () |
Returns the limit geometry. | |
NXOpen::Features::ShipDesign::EndCutBuilder::LimitTypes | LimitType () |
Returns the limit type. | |
NXOpen::Expression * | Offset () |
Returns the offset. | |
NXOpen::SelectEdge * | PlacementEdge () |
Returns the select placement edges. | |
NXOpen::SelectFaceList * | PlacementFaces () |
Returns the select placement faces. | |
NXOpen::Plane * | Plane () |
Returns the plane. | |
NXOpen::Features::ShipDesign::EndCutBuilder::SelectionTypes | SelectionType () |
Returns the selection type. | |
void | SetConnectionType (NXOpen::Features::ShipDesign::EndCutBuilder::ConnectionTypes connectionType) |
Sets the connection type. | |
void | SetDraftType (NXOpen::Features::ShipDesign::EndCutBuilder::DraftTypes draftType) |
Sets the draft type. | |
void | SetLimitType (NXOpen::Features::ShipDesign::EndCutBuilder::LimitTypes limitType) |
Sets the limit type. | |
void | SetPlane (NXOpen::Plane *plane) |
Sets the plane. | |
void | SetSelectionType (NXOpen::Features::ShipDesign::EndCutBuilder::SelectionTypes selectionType) |
Sets the selection type. | |
NXOpen::Expression * | ShearAngle () |
Returns the shear angle. | |
NXOpen::Expression * | TiltAngle () |
Returns the tilt angle Created in NX8.0.0. | |
NXOpen::Features::ShipDesign::SteelFeatureSpreadsheetBuilder * | ToeSketchData () |
Returns the toe sketch data. | |
NXOpen::Features::ShipDesign::SteelFeatureSpreadsheetBuilder * | WebSketchData () |
Returns the web sketch data. | |
![]() | |
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::EndCut builder.
<br> To create a new instance of this class, use @link Features::ShipCollection::CreateEndCutBuilder Features::ShipCollection::CreateEndCutBuilder @endlink <br>
Default values.
Property | Value |
---|---|
ConnectionType |
Connected |
DraftAngle.Value |
0 |
DraftOffset.Value |
0 (millimeters part), 0 (inches part) |
DraftType |
Trim |
LimitType |
Value |
Offset.Value |
0 (millimeters part), 0 (inches part) |
SelectionType |
FacesWithAttributes |
ShearAngle.Value |
0 |
TiltAngle.Value |
0 |
Created in NX8.0.0.
This enum defines the different ways a limiting geometry can connect to the endcut face.
This value can be used in rules to control the available section types for the flange, web or toe cuts. These values are applicable only when the Limit Type is NeatTrim.
This enum defines the different ways users can trim the ends of a profile or a plate.
LimitTypesValue |
If this Limit Type is set, the values of Tilt Angle and Shear Angle expressions will be used. |
LimitTypesPlane |
If this Limit Type is set, a Plane needs to be specified and the Tilt and Shear angles will be inferred from the intersection of Datum Plane with the body on which EndCut will be applied. |
LimitTypesNeatTrim |
If this Limit Type is set, a datum plane feature, a face or a profile/plate body needs to be selected and the endcut will be trimmed to the selected geometry. |
This enum defines the Placement Face and Placement Edge Selection Type.
SelectionTypesFacesWithAttributes |
If this Selection Type is set, just faces need to be specifed and placement edges will be inferred automatically.
|
SelectionTypesFaceAndEdge |
If this Selection Type is set, then a single pair of a Face (Placement Face) and an edge(Placement Edge) needs to be specified. |
NXOpen::Features::ShipDesign::EndCutBuilder::ConnectionTypes NXOpen::Features::ShipDesign::EndCutBuilder::ConnectionType | ( | ) |
Returns the connection type.
<br> If the Limit Type is @link Features::ShipDesign::EndCutBuilder::LimitTypesNeatTrim Features::ShipDesign::EndCutBuilder::LimitTypesNeatTrim@endlink , users can define the connection type between the endcut face and the limiting geometry. Users can control the available flange, web or toe section types using the connection type in the rules. <br>
Created in NX9.0.0.
License requirements : None
NXOpen::Expression* NXOpen::Features::ShipDesign::EndCutBuilder::DraftAngle | ( | ) |
Returns the draft angle
Created in NX8.0.0.
License requirements : None
NXOpen::Expression* NXOpen::Features::ShipDesign::EndCutBuilder::DraftOffset | ( | ) |
NXOpen::Features::ShipDesign::EndCutBuilder::DraftTypes NXOpen::Features::ShipDesign::EndCutBuilder::DraftType | ( | ) |
NXOpen::Features::ShipDesign::SteelFeatureSpreadsheetBuilder* NXOpen::Features::ShipDesign::EndCutBuilder::FlangeSketchData | ( | ) |
Returns the flange sketch data.
<br> Users can specify the EndCut using upto three sketches. The sketch type and its parameters are controlled by the @link Features::ShipDesign::SteelFeatureSpreadsheetBuilder Features::ShipDesign::SteelFeatureSpreadsheetBuilder@endlink . <br>
Created in NX9.0.0.
License requirements : None
void NXOpen::Features::ShipDesign::EndCutBuilder::InheritParametersFromEndcutFace | ( | NXOpen::Face * | endcutFace | ) |
Copy the parameters from the endcut face to this endcut.
The input face must belong to an endcut feature and should have all the attributes. All the builder parameters will be replaced with copies of parameters from the input face. If any change is made after this call, the copied parameter value will be overwritten.
Created in NX8.0.0.
License requirements : nx_ship_detail ("Ship Detail Design")
endcutFace | endcutface |
NXOpen::SelectDisplayableObject* NXOpen::Features::ShipDesign::EndCutBuilder::LimitGeometry | ( | ) |
Returns the limit geometry.
<br> This input is required when the Limit Type is @link Features::ShipDesign::EndCutBuilder::LimitTypesNeatTrim Features::ShipDesign::EndCutBuilder::LimitTypesNeatTrim@endlink . Valid types are Plane, Face or a Body. If a Body is specified, it must have at least one face with MK_TYPE=MOLDINGLINE and one face with MK_TYPE=OPPOSINGMOLDINGLINE attributes. <br>
Created in NX8.0.0.
License requirements : None
NXOpen::Features::ShipDesign::EndCutBuilder::LimitTypes NXOpen::Features::ShipDesign::EndCutBuilder::LimitType | ( | ) |
Returns the limit type.
The Tilt and Shear angles can be supplied as expressions or can be inferred from a Plane. Users can also limit the ends using a face or a body.
Created in NX8.0.0.
License requirements : None
NXOpen::Expression* NXOpen::Features::ShipDesign::EndCutBuilder::Offset | ( | ) |
Returns the offset.
The Offset is always applied after the Tilt and Shear Angles.
Created in NX8.0.0.
License requirements : None
NXOpen::SelectEdge* NXOpen::Features::ShipDesign::EndCutBuilder::PlacementEdge | ( | ) |
Returns the select placement edges.
<br> This input is only required when the Selection Type is @link Features::ShipDesign::EndCutBuilder::SelectionTypesFaceAndEdge Features::ShipDesign::EndCutBuilder::SelectionTypesFaceAndEdge@endlink . This edge must belong to the face specified as Placement Face. <br>
Created in NX8.0.0.
License requirements : None
NXOpen::SelectFaceList* NXOpen::Features::ShipDesign::EndCutBuilder::PlacementFaces | ( | ) |
Returns the select placement faces.
<br> If the Selection Type is @link Features::ShipDesign::EndCutBuilder::SelectionTypesFacesWithAttributes Features::ShipDesign::EndCutBuilder::SelectionTypesFacesWithAttributes@endlink this list can contain multiple faces and each face must be a valid endcut face, i.e. faces with SAW_SIZE and SAW_SIZE2 attributes whose value is same as the Perpendicular EndCut Name defined in the customer defaults. If the Selection Type is @link Features::ShipDesign::EndCutBuilder::SelectionTypesFaceAndEdge Features::ShipDesign::EndCutBuilder::SelectionTypesFaceAndEdge@endlink , this list must contain a single face. Each face will result in a separate EndCut feature. If an existing EndCut feature is queried, it will contain a single face in this list. <br>
Created in NX8.0.0.
License requirements : None
NXOpen::Plane* NXOpen::Features::ShipDesign::EndCutBuilder::Plane | ( | ) |
Returns the plane.
If the Limit Type is Features::ShipDesign::EndCutBuilder::LimitTypesPlane , the Tilt and Shear angle will be inferred automatically from this plane.
Created in NX8.0.0.
License requirements : None
NXOpen::Features::ShipDesign::EndCutBuilder::SelectionTypes NXOpen::Features::ShipDesign::EndCutBuilder::SelectionType | ( | ) |
Returns the selection type.
Users can provide a set of faces where the edge can be inferred automatically or specify a single pair of a Face and an edge(Placement Edge).
Created in NX8.0.0.
License requirements : None
void NXOpen::Features::ShipDesign::EndCutBuilder::SetConnectionType | ( | NXOpen::Features::ShipDesign::EndCutBuilder::ConnectionTypes | connectionType | ) |
Sets the connection type.
<br> If the Limit Type is @link Features::ShipDesign::EndCutBuilder::LimitTypesNeatTrim Features::ShipDesign::EndCutBuilder::LimitTypesNeatTrim@endlink , users can define the connection type between the endcut face and the limiting geometry. Users can control the available flange, web or toe section types using the connection type in the rules. <br>
Created in NX9.0.0.
License requirements : nx_ship_detail ("Ship Detail Design")
connectionType | connectiontype |
void NXOpen::Features::ShipDesign::EndCutBuilder::SetDraftType | ( | NXOpen::Features::ShipDesign::EndCutBuilder::DraftTypes | draftType | ) |
void NXOpen::Features::ShipDesign::EndCutBuilder::SetLimitType | ( | NXOpen::Features::ShipDesign::EndCutBuilder::LimitTypes | limitType | ) |
Sets the limit type.
The Tilt and Shear angles can be supplied as expressions or can be inferred from a Plane. Users can also limit the ends using a face or a body.
Created in NX8.0.0.
License requirements : nx_ship_detail ("Ship Detail Design")
limitType | limittype |
void NXOpen::Features::ShipDesign::EndCutBuilder::SetPlane | ( | NXOpen::Plane * | plane | ) |
Sets the plane.
If the Limit Type is Features::ShipDesign::EndCutBuilder::LimitTypesPlane , the Tilt and Shear angle will be inferred automatically from this plane.
Created in NX8.0.0.
License requirements : nx_ship_detail ("Ship Detail Design")
plane | plane |
void NXOpen::Features::ShipDesign::EndCutBuilder::SetSelectionType | ( | NXOpen::Features::ShipDesign::EndCutBuilder::SelectionTypes | selectionType | ) |
Sets the selection type.
Users can provide a set of faces where the edge can be inferred automatically or specify a single pair of a Face and an edge(Placement Edge).
Created in NX8.0.0.
License requirements : nx_ship_detail ("Ship Detail Design")
selectionType | selectiontype |
NXOpen::Expression* NXOpen::Features::ShipDesign::EndCutBuilder::ShearAngle | ( | ) |
Returns the shear angle.
The Shear Angle is always applied after the Tilt Angle.
Created in NX8.0.0.
License requirements : None
NXOpen::Expression* NXOpen::Features::ShipDesign::EndCutBuilder::TiltAngle | ( | ) |
Returns the tilt angle
Created in NX8.0.0.
License requirements : None
NXOpen::Features::ShipDesign::SteelFeatureSpreadsheetBuilder* NXOpen::Features::ShipDesign::EndCutBuilder::ToeSketchData | ( | ) |
Returns the toe sketch data.
<br> Users can specify the EndCut using upto three sketches. The sketch type and its parameters are controlled by the @link Features::ShipDesign::SteelFeatureSpreadsheetBuilder Features::ShipDesign::SteelFeatureSpreadsheetBuilder@endlink . <br>
Created in NX8.0.0.
License requirements : None
NXOpen::Features::ShipDesign::SteelFeatureSpreadsheetBuilder* NXOpen::Features::ShipDesign::EndCutBuilder::WebSketchData | ( | ) |
Returns the web sketch data.
<br> Users can specify the EndCut using upto three sketches. The sketch type and its parameters are controlled by the @link Features::ShipDesign::SteelFeatureSpreadsheetBuilder Features::ShipDesign::SteelFeatureSpreadsheetBuilder@endlink . <br>
Created in NX8.0.0.
License requirements : None