NX Open C++ Reference Guide
|
This class defines the top level object for use in definining the orientation of stiffeners and edge reinforcements. More...
Public Types | |
enum | MeasureAngleTypes { MeasureAngleTypesNormaltoCurve, MeasureAngleTypesOrthogonal } |
Settings to indicate how angles are measured in all orientation objects. More... | |
enum | PlacementSideTypes { PlacementSideTypesSameAsNormal, PlacementSideTypesOppositeNormal } |
Settings to indicate which side of the placement faces the stiffener is to be placed. More... | |
Public Member Functions | |
double | AngleTolerance () |
Returns the angle tolerance used in the orientation objects to determine if vectors are parallel. | |
NXOpen::Features::ShipDesign::OrientationRegionItemBuilder * | CreateNewRegion (NXOpen::NXObject *regionPoint) |
Creates a new region on the landing curve to allow you to change the orientation for this area of the landing curve. | |
void | CreatePathCurve (const std::vector< NXOpen::NXObject * > &curves) |
Sets the landing curve that is being processed into the builder. | |
void | CreateRegionsAtFrames (std::vector< NXOpen::Features::ShipDesign::OrientationRegionItemBuilder * > ®ions) |
Will create new regions at each frame. | |
void | DeleteRegion (NXOpen::Features::ShipDesign::OrientationRegionItemBuilder *region) |
Deletes a previously created region. | |
double | DistanceTolerance () |
Returns the distance tolerance used in the orientation objects to determine if locations are coincident. | |
NXOpen::Features::ShipDesign::OrientationRegionItemBuilder * | GetNextRegion (NXOpen::Features::ShipDesign::OrientationRegionItemBuilder *region) |
Gets the next region to the current one. | |
NXOpen::Features::ShipDesign::OrientationDefinitionBuilder::MeasureAngleTypes | MeasureAngles () |
Returns the method in which to measure angles in the orientation objects. | |
NXOpen::SelectNXObject * | NewRegionPoint () |
Returns the new region point or datum that will be used for the boundary of the new region. | |
NXOpen::Features::ShipDesign::OrientationDefinitionBuilder::PlacementSideTypes | PlacementSide () |
Returns the side of the placement faces the stiffener is to be placed upon. | |
NXOpen::Features::ShipDesign::OrientationRegionItemBuilder * | RegionItemData () |
Returns the regionItem builder. | |
NXOpen::Features::ShipDesign::OrientationRegionItemBuilderList * | RegionList () |
Returns the list containing all the defined regions. | |
void | SetAnglesNormal (const std::vector< NXOpen::Features::ShipDesign::OrientationRegionItemBuilder * > ®ions) |
Will set all angle values of input regions so that web is normal to surface. | |
void | SetAngleTolerance (double tolerance) |
Sets the angle tolerance used in the orientation objects to determine if vectors are parallel. | |
void | SetDistanceTolerance (double tolerance) |
Sets the distance tolerance used in the orientation objects to determine if locations are coincident. | |
void | SetMeasureAngles (NXOpen::Features::ShipDesign::OrientationDefinitionBuilder::MeasureAngleTypes measureAngles) |
Sets the method in which to measure angles in the orientation objects. | |
void | SetPlacementFaces (const std::vector< NXOpen::DisplayableObject * > &faces) |
Sets the faces or datum that are being processed into the builder. | |
void | SetPlacementSide (NXOpen::Features::ShipDesign::OrientationDefinitionBuilder::PlacementSideTypes placementSide) |
Sets the side of the placement faces the stiffener is to be placed upon. | |
void | SetShowSurfaceAngles (bool showSurfaceAngles) |
Sets the indication if the surface angles analysis display is on or off. | |
void | SetShowTwistRate (bool showTwistRate) |
Sets the indication if the twist rate analysis display is on or off. | |
void | SetShowWebAngles (bool showWebAngles) |
Sets the indication if the web angle analysis display is on or off. | |
bool | ShowSurfaceAngles () |
Returns the indication if the surface angles analysis display is on or off. | |
bool | ShowTwistRate () |
Returns the indication if the twist rate analysis display is on or off. | |
bool | ShowWebAngles () |
Returns the indication if the web angle analysis display is on or off. | |
![]() | |
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 defines the top level object for use in definining the orientation of stiffeners and edge reinforcements.
This object allows you to define regions of a profile and allows you to define a different method of orientation for each region.
To create a new instance of this class, use Features::ShipCollection::CreateOrientationDefinitionBuilder
Default values.
Property | Value |
---|---|
MeasureAngles |
NormaltoCurve |
ShowSurfaceAngles |
0 |
ShowTwistRate |
0 |
ShowWebAngles |
0 |
Created in NX9.0.0.
Settings to indicate which side of the placement faces the stiffener is to be placed.
double NXOpen::Features::ShipDesign::OrientationDefinitionBuilder::AngleTolerance | ( | ) |
Returns the angle tolerance used in the orientation objects to determine if vectors are parallel.
Created in NX9.0.0.
License requirements : None
NXOpen::Features::ShipDesign::OrientationRegionItemBuilder* NXOpen::Features::ShipDesign::OrientationDefinitionBuilder::CreateNewRegion | ( | NXOpen::NXObject * | regionPoint | ) |
Creates a new region on the landing curve to allow you to change the orientation for this area of the landing curve.
regionPoint | New region boundary point |
void NXOpen::Features::ShipDesign::OrientationDefinitionBuilder::CreatePathCurve | ( | const std::vector< NXOpen::NXObject * > & | curves | ) |
Sets the landing curve that is being processed into the builder.
If regions have already been defined the closest point on this new curve to the region boundaries will be used for the new region boundaries when the boundary has been defined by a specified point otherwise the boundary definition will be reevaluated for this new curve and the boundary set appropriately.
Created in NX9.0.0.
License requirements : nx_ship_basic ("Ship Basic Design") OR nx_ship_detail ("Ship Detail Design")
curves | The curves defining the path of the profile that is being oriented. |
void NXOpen::Features::ShipDesign::OrientationDefinitionBuilder::CreateRegionsAtFrames | ( | std::vector< NXOpen::Features::ShipDesign::OrientationRegionItemBuilder * > & | regions | ) |
Will create new regions at each frame.
Created in NX9.0.0.
License requirements : nx_ship_basic ("Ship Basic Design") OR nx_ship_detail ("Ship Detail Design")
regions | The regions created. |
void NXOpen::Features::ShipDesign::OrientationDefinitionBuilder::DeleteRegion | ( | NXOpen::Features::ShipDesign::OrientationRegionItemBuilder * | region | ) |
Deletes a previously created region.
The deleted region will be combined with the previous region.
Created in NX9.0.0.
License requirements : nx_ship_basic ("Ship Basic Design") OR nx_ship_detail ("Ship Detail Design")
region | region |
double NXOpen::Features::ShipDesign::OrientationDefinitionBuilder::DistanceTolerance | ( | ) |
Returns the distance tolerance used in the orientation objects to determine if locations are coincident.
Created in NX9.0.0.
License requirements : None
NXOpen::Features::ShipDesign::OrientationRegionItemBuilder* NXOpen::Features::ShipDesign::OrientationDefinitionBuilder::GetNextRegion | ( | NXOpen::Features::ShipDesign::OrientationRegionItemBuilder * | region | ) |
Gets the next region to the current one.
region | region |
NXOpen::Features::ShipDesign::OrientationDefinitionBuilder::MeasureAngleTypes NXOpen::Features::ShipDesign::OrientationDefinitionBuilder::MeasureAngles | ( | ) |
Returns the method in which to measure angles in the orientation objects.
Created in NX9.0.0.
License requirements : None
NXOpen::SelectNXObject* NXOpen::Features::ShipDesign::OrientationDefinitionBuilder::NewRegionPoint | ( | ) |
Returns the new region point or datum that will be used for the boundary of the new region.
Created in NX9.0.0.
License requirements : None
NXOpen::Features::ShipDesign::OrientationDefinitionBuilder::PlacementSideTypes NXOpen::Features::ShipDesign::OrientationDefinitionBuilder::PlacementSide | ( | ) |
Returns the side of the placement faces the stiffener is to be placed upon.
Created in NX9.0.0.
License requirements : None
NXOpen::Features::ShipDesign::OrientationRegionItemBuilder* NXOpen::Features::ShipDesign::OrientationDefinitionBuilder::RegionItemData | ( | ) |
Returns the regionItem builder.
Created in NX9.0.0.
License requirements : None
NXOpen::Features::ShipDesign::OrientationRegionItemBuilderList* NXOpen::Features::ShipDesign::OrientationDefinitionBuilder::RegionList | ( | ) |
Returns the list containing all the defined regions.
Created in NX9.0.0.
License requirements : None
void NXOpen::Features::ShipDesign::OrientationDefinitionBuilder::SetAnglesNormal | ( | const std::vector< NXOpen::Features::ShipDesign::OrientationRegionItemBuilder * > & | regions | ) |
Will set all angle values of input regions so that web is normal to surface.
Created in NX9.0.0.
License requirements : nx_ship_basic ("Ship Basic Design") OR nx_ship_detail ("Ship Detail Design")
regions | The regions to process. |
void NXOpen::Features::ShipDesign::OrientationDefinitionBuilder::SetAngleTolerance | ( | double | tolerance | ) |
Sets the angle tolerance used in the orientation objects to determine if vectors are parallel.
Created in NX9.0.0.
License requirements : nx_ship_basic ("Ship Basic Design") OR nx_ship_detail ("Ship Detail Design")
tolerance | tolerance |
void NXOpen::Features::ShipDesign::OrientationDefinitionBuilder::SetDistanceTolerance | ( | double | tolerance | ) |
Sets the distance tolerance used in the orientation objects to determine if locations are coincident.
Created in NX9.0.0.
License requirements : nx_ship_basic ("Ship Basic Design") OR nx_ship_detail ("Ship Detail Design")
tolerance | tolerance |
void NXOpen::Features::ShipDesign::OrientationDefinitionBuilder::SetMeasureAngles | ( | NXOpen::Features::ShipDesign::OrientationDefinitionBuilder::MeasureAngleTypes | measureAngles | ) |
Sets the method in which to measure angles in the orientation objects.
Created in NX9.0.0.
License requirements : nx_ship_basic ("Ship Basic Design") OR nx_ship_detail ("Ship Detail Design")
measureAngles | measureangles |
void NXOpen::Features::ShipDesign::OrientationDefinitionBuilder::SetPlacementFaces | ( | const std::vector< NXOpen::DisplayableObject * > & | faces | ) |
Sets the faces or datum that are being processed into the builder.
Created in NX9.0.0.
License requirements : nx_ship_basic ("Ship Basic Design") OR nx_ship_detail ("Ship Detail Design")
faces | The faces/datums defining the placement of the profile that is being oriented. |
void NXOpen::Features::ShipDesign::OrientationDefinitionBuilder::SetPlacementSide | ( | NXOpen::Features::ShipDesign::OrientationDefinitionBuilder::PlacementSideTypes | placementSide | ) |
Sets the side of the placement faces the stiffener is to be placed upon.
Created in NX9.0.0.
License requirements : nx_ship_basic ("Ship Basic Design") OR nx_ship_detail ("Ship Detail Design")
placementSide | placementside |
void NXOpen::Features::ShipDesign::OrientationDefinitionBuilder::SetShowSurfaceAngles | ( | bool | showSurfaceAngles | ) |
Sets the indication if the surface angles analysis display is on or off.
Created in NX9.0.0.
License requirements : nx_ship_basic ("Ship Basic Design") OR nx_ship_detail ("Ship Detail Design")
showSurfaceAngles | showsurfaceangles |
void NXOpen::Features::ShipDesign::OrientationDefinitionBuilder::SetShowTwistRate | ( | bool | showTwistRate | ) |
Sets the indication if the twist rate analysis display is on or off.
Created in NX9.0.0.
License requirements : nx_ship_basic ("Ship Basic Design") OR nx_ship_detail ("Ship Detail Design")
showTwistRate | showtwistrate |
void NXOpen::Features::ShipDesign::OrientationDefinitionBuilder::SetShowWebAngles | ( | bool | showWebAngles | ) |
Sets the indication if the web angle analysis display is on or off.
Created in NX9.0.0.
License requirements : nx_ship_basic ("Ship Basic Design") OR nx_ship_detail ("Ship Detail Design")
showWebAngles | showwebangles |
bool NXOpen::Features::ShipDesign::OrientationDefinitionBuilder::ShowSurfaceAngles | ( | ) |
Returns the indication if the surface angles analysis display is on or off.
Created in NX9.0.0.
License requirements : None
bool NXOpen::Features::ShipDesign::OrientationDefinitionBuilder::ShowTwistRate | ( | ) |
Returns the indication if the twist rate analysis display is on or off.
Created in NX9.0.0.
License requirements : None
bool NXOpen::Features::ShipDesign::OrientationDefinitionBuilder::ShowWebAngles | ( | ) |
Returns the indication if the web angle analysis display is on or off.
Created in NX9.0.0.
License requirements : None