NX Open C++ Reference Guide
Public Types | Public Member Functions | List of all members
NXOpen::Features::ShipDesign::StandardPartItemBuilder Class Reference

Represents the ship standard part item builder. More...

Inheritance diagram for NXOpen::Features::ShipDesign::StandardPartItemBuilder:
NXOpen::Builder NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

Public Types

enum  Direction {
  DirectionFore, DirectionAft, DirectionUp, DirectionDown,
  DirectionPort, DirectionStarboard, DirectionIn, DirectionOut,
  DirectionCenter
}
 Represents the ship standard part installation direction and thickness direction. More...
 

Public Member Functions

void AddAcrossObject (NXOpen::DisplayableObject *acrossObject)
 Adds the specific object to the across object list. More...
 
void AddDeselectedAcrossObject (NXOpen::DisplayableObject *acrossObject)
 Adds the specific object to the deselected across object list. More...
 
bool CheckScallopSize ()
 Checks the scallop size by enabling the predefined requirement check inside the standard part, and resets to original state afterwards. More...
 
void ConvertReferenceGeometry (int index, NXOpen::DisplayableObject *selObj)
 Converts the selected reference geometry. More...
 
NXOpen::SelectDisplayableObjectFifthObject ()
 Returns the fifth selected object. More...
 
NXOpen::ScCollectorFirstAdoptionCurve ()
 Returns the first adoption curve. More...
 
NXOpen::Features::ShipDesign::StandardPartItemBuilder::Direction FirstChainInstallDirection ()
 Returns the flag to indicate whether to flip the direction of the first selected chain object or not. More...
 
NXOpen::ScCollectorFirstChainObject ()
 Returns the first chain selected object. More...
 
NXOpen::SelectDisplayableObjectFirstObject ()
 Returns the first selected object. More...
 
NXOpen::SelectDisplayableObjectFirstPlane ()
 Returns the first selected plane. More...
 
NXOpen::SelectDisplayableObjectFourthObject ()
 Returns the fourth selected object. More...
 
NXOpen::Features::ShipDesign::StandardPartItemBuilder::Direction InstallFifthDirection ()
 Returns the flag to indicate whether to flip the direction of the fifth selected object or not. More...
 
NXOpen::Features::ShipDesign::StandardPartItemBuilder::Direction InstallFirstDirection ()
 Returns the flag to indicate whether to flip the direction of the first selected object or not. More...
 
NXOpen::Features::ShipDesign::StandardPartItemBuilder::Direction InstallFourthDirection ()
 Returns the flag to indicate whether to flip the direction of the fourth selected object or not. More...
 
NXOpen::Features::ShipDesign::StandardPartItemBuilder::Direction InstallSecondDirection ()
 Returns the flag to indicate whether to flip the direction of the second selected object or not. More...
 
NXOpen::Features::ShipDesign::StandardPartItemBuilder::Direction InstallThirdDirection ()
 Returns the flag to indicate whether to flip the direction of the third selected object or not. More...
 
NXString LookupRegistration ()
 Checks the registration context string when an object is selected. More...
 
void RemoveAcrossObject (NXOpen::DisplayableObject *acrossObject)
 Removes the specific object from the across object list. More...
 
void RemoveDeselectedAcrossObject (NXOpen::DisplayableObject *acrossObject)
 Removes the specific object from the deselected across object list. More...
 
void ResetItem ()
 Resets the standard part item builder to its intial state. More...
 
NXOpen::ScCollectorSecondAdoptionCurve ()
 Returns the second adoption curve. More...
 
NXOpen::Features::ShipDesign::StandardPartItemBuilder::Direction SecondChainInstallDirection ()
 Returns the flag to indicate whether to flip the direction of the second selected chain object or not. More...
 
NXOpen::ScCollectorSecondChainObject ()
 Returns the second chain selected object. More...
 
NXOpen::SelectDisplayableObjectSecondObject ()
 Returns the second selected object. More...
 
NXOpen::SelectDisplayableObjectSecondPlane ()
 Returns the second selected plane. More...
 
void SetFirstChainInstallDirection (NXOpen::Features::ShipDesign::StandardPartItemBuilder::Direction firstChainInstallDirection)
 Sets the flag to indicate whether to flip the direction of the first selected chain object or not. More...
 
void SetInstallFifthDirection (NXOpen::Features::ShipDesign::StandardPartItemBuilder::Direction fifthDirectionInstall)
 Sets the flag to indicate whether to flip the direction of the fifth selected object or not. More...
 
void SetInstallFirstDirection (NXOpen::Features::ShipDesign::StandardPartItemBuilder::Direction firstDirectionInstall)
 Sets the flag to indicate whether to flip the direction of the first selected object or not. More...
 
void SetInstallFourthDirection (NXOpen::Features::ShipDesign::StandardPartItemBuilder::Direction fourthDirectionInstall)
 Sets the flag to indicate whether to flip the direction of the fourth selected object or not. More...
 
void SetInstallSecondDirection (NXOpen::Features::ShipDesign::StandardPartItemBuilder::Direction secondDirectionInstall)
 Sets the flag to indicate whether to flip the direction of the second selected object or not. More...
 
void SetInstallThirdDirection (NXOpen::Features::ShipDesign::StandardPartItemBuilder::Direction thirdDirectionInstall)
 Sets the flag to indicate whether to flip the direction of the third selected object or not. More...
 
void SetOptionalGeometry (NXOpen::DisplayableObject *selectedGeometry)
 Sets one geometry for input selection which has multiple options. More...
 
void SetSecondChainInstallDirection (NXOpen::Features::ShipDesign::StandardPartItemBuilder::Direction secondChainInstallDirection)
 Sets the flag to indicate whether to flip the direction of the second selected chain object or not. More...
 
void SetTransitionGeometry (int index, NXOpen::DisplayableObject *transitionGeometry)
 Sets the transition geometry given the index. More...
 
NXOpen::SelectDisplayableObjectThirdObject ()
 Returns the third selected object. More...
 
void UpdateReferences (bool bToUpdateGeometry)
 Updates and relinks the external references. More...
 
- Public Member Functions inherited from NXOpen::Builder
NXOpen::NXObjectCommit ()
 Commits any edits that have been applied to the builder. More...
 
void Destroy ()
 Deletes the builder, and cleans up any objects created by the builder. More...
 
std::vector< NXOpen::NXObject * > GetCommittedObjects ()
 For builders that create more than one object, this method returns the objects that are created by commit. More...
 
NXOpen::NXObjectGetObject ()
 Returns the object currently being edited by this builder. More...
 
void ShowResults ()
 Updates the model to reflect the result of an edit to the model for all builders that support showing results. More...
 
virtual bool Validate ()
 Validate whether the inputs to the component are sufficient for commit to be called. More...
 
- Public Member Functions inherited from NXOpen::TaggedObject
tag_t Tag () const
 Returns the tag of this object. More...
 

Detailed Description

Represents the ship standard part item builder.


This class cannot be directly instantiated and has to be created by CreateStandardPartItem.

Created in NX8.0.0.

Member Enumeration Documentation

Represents the ship standard part installation direction and thickness direction.

Enumerator
DirectionFore 

fore

DirectionAft 

aft

DirectionUp 

up

DirectionDown 

down

DirectionPort 

port

DirectionStarboard 

starboard

DirectionIn 

in

DirectionOut 

out

DirectionCenter 

center

Member Function Documentation

void NXOpen::Features::ShipDesign::StandardPartItemBuilder::AddAcrossObject ( NXOpen::DisplayableObject acrossObject)

Adds the specific object to the across object list.


Created in NX9.0.0.

License requirements : nx_ship_detail ("Ship Detail Design") OR nx_ship_basic ("Ship Basic Design")

Parameters
acrossObjectbody, face or curve entity.
void NXOpen::Features::ShipDesign::StandardPartItemBuilder::AddDeselectedAcrossObject ( NXOpen::DisplayableObject acrossObject)

Adds the specific object to the deselected across object list.


Created in NX9.0.0.

License requirements : nx_ship_detail ("Ship Detail Design") OR nx_ship_basic ("Ship Basic Design")

Parameters
acrossObjectbody, face or curve.
bool NXOpen::Features::ShipDesign::StandardPartItemBuilder::CheckScallopSize ( )

Checks the scallop size by enabling the predefined requirement check inside the standard part, and resets to original state afterwards.

If there is no vialation of the requirement, nothing will happen.

Returns

Created in NX8.0.0.

License requirements : nx_ship_detail ("Ship Detail Design") OR nx_ship_basic ("Ship Basic Design")
void NXOpen::Features::ShipDesign::StandardPartItemBuilder::ConvertReferenceGeometry ( int  index,
NXOpen::DisplayableObject selObj 
)

Converts the selected reference geometry.

For instance stiffener curve, which represents stiffener body, into an equivalent reference geometry such as molding face, opposing molding face, top face.


Created in NX9.0.0.

License requirements : nx_ship_detail ("Ship Detail Design") OR nx_ship_basic ("Ship Basic Design")

Parameters
indexindex
selObjselobj
NXOpen::SelectDisplayableObject* NXOpen::Features::ShipDesign::StandardPartItemBuilder::FifthObject ( )

Returns the fifth selected object.


Created in NX8.0.0.

License requirements : None

NXOpen::ScCollector* NXOpen::Features::ShipDesign::StandardPartItemBuilder::FirstAdoptionCurve ( )

Returns the first adoption curve.


Created in NX9.0.2.

License requirements : None

NXOpen::Features::ShipDesign::StandardPartItemBuilder::Direction NXOpen::Features::ShipDesign::StandardPartItemBuilder::FirstChainInstallDirection ( )

Returns the flag to indicate whether to flip the direction of the first selected chain object or not.


Created in NX9.0.0.

License requirements : None

NXOpen::ScCollector* NXOpen::Features::ShipDesign::StandardPartItemBuilder::FirstChainObject ( )

Returns the first chain selected object.


Created in NX8.0.0.

License requirements : None

NXOpen::SelectDisplayableObject* NXOpen::Features::ShipDesign::StandardPartItemBuilder::FirstObject ( )

Returns the first selected object.


Created in NX8.0.0.

License requirements : None

NXOpen::SelectDisplayableObject* NXOpen::Features::ShipDesign::StandardPartItemBuilder::FirstPlane ( )

Returns the first selected plane.


Created in NX8.0.0.

License requirements : None

NXOpen::SelectDisplayableObject* NXOpen::Features::ShipDesign::StandardPartItemBuilder::FourthObject ( )

Returns the fourth selected object.


Created in NX8.0.0.

License requirements : None

NXOpen::Features::ShipDesign::StandardPartItemBuilder::Direction NXOpen::Features::ShipDesign::StandardPartItemBuilder::InstallFifthDirection ( )

Returns the flag to indicate whether to flip the direction of the fifth selected object or not.


Created in NX8.5.0.

License requirements : None

NXOpen::Features::ShipDesign::StandardPartItemBuilder::Direction NXOpen::Features::ShipDesign::StandardPartItemBuilder::InstallFirstDirection ( )

Returns the flag to indicate whether to flip the direction of the first selected object or not.


Created in NX8.5.0.

License requirements : None

NXOpen::Features::ShipDesign::StandardPartItemBuilder::Direction NXOpen::Features::ShipDesign::StandardPartItemBuilder::InstallFourthDirection ( )

Returns the flag to indicate whether to flip the direction of the fourth selected object or not.


Created in NX8.5.0.

License requirements : None

NXOpen::Features::ShipDesign::StandardPartItemBuilder::Direction NXOpen::Features::ShipDesign::StandardPartItemBuilder::InstallSecondDirection ( )

Returns the flag to indicate whether to flip the direction of the second selected object or not.


Created in NX8.5.0.

License requirements : None

NXOpen::Features::ShipDesign::StandardPartItemBuilder::Direction NXOpen::Features::ShipDesign::StandardPartItemBuilder::InstallThirdDirection ( )

Returns the flag to indicate whether to flip the direction of the third selected object or not.


Created in NX8.5.0.

License requirements : None

NXString NXOpen::Features::ShipDesign::StandardPartItemBuilder::LookupRegistration ( )

Checks the registration context string when an object is selected.

Returns

Created in NX8.0.0.

License requirements : nx_ship_detail ("Ship Detail Design") OR nx_ship_basic ("Ship Basic Design")
void NXOpen::Features::ShipDesign::StandardPartItemBuilder::RemoveAcrossObject ( NXOpen::DisplayableObject acrossObject)

Removes the specific object from the across object list.


Created in NX9.0.0.

License requirements : nx_ship_detail ("Ship Detail Design") OR nx_ship_basic ("Ship Basic Design")

Parameters
acrossObjectbody, face or curve.
void NXOpen::Features::ShipDesign::StandardPartItemBuilder::RemoveDeselectedAcrossObject ( NXOpen::DisplayableObject acrossObject)

Removes the specific object from the deselected across object list.


Created in NX9.0.0.

License requirements : nx_ship_detail ("Ship Detail Design") OR nx_ship_basic ("Ship Basic Design")

Parameters
acrossObjectbody, face or curve.
void NXOpen::Features::ShipDesign::StandardPartItemBuilder::ResetItem ( )

Resets the standard part item builder to its intial state.


Created in NX8.5.0.

License requirements : nx_ship_detail ("Ship Detail Design") OR nx_ship_basic ("Ship Basic Design")

NXOpen::ScCollector* NXOpen::Features::ShipDesign::StandardPartItemBuilder::SecondAdoptionCurve ( )

Returns the second adoption curve.


Created in NX9.0.2.

License requirements : None

NXOpen::Features::ShipDesign::StandardPartItemBuilder::Direction NXOpen::Features::ShipDesign::StandardPartItemBuilder::SecondChainInstallDirection ( )

Returns the flag to indicate whether to flip the direction of the second selected chain object or not.


Created in NX9.0.0.

License requirements : None

NXOpen::ScCollector* NXOpen::Features::ShipDesign::StandardPartItemBuilder::SecondChainObject ( )

Returns the second chain selected object.


Created in NX8.0.0.

License requirements : None

NXOpen::SelectDisplayableObject* NXOpen::Features::ShipDesign::StandardPartItemBuilder::SecondObject ( )

Returns the second selected object.


Created in NX8.0.0.

License requirements : None

NXOpen::SelectDisplayableObject* NXOpen::Features::ShipDesign::StandardPartItemBuilder::SecondPlane ( )

Returns the second selected plane.


Created in NX8.0.0.

License requirements : None

void NXOpen::Features::ShipDesign::StandardPartItemBuilder::SetFirstChainInstallDirection ( NXOpen::Features::ShipDesign::StandardPartItemBuilder::Direction  firstChainInstallDirection)

Sets the flag to indicate whether to flip the direction of the first selected chain object or not.


Created in NX9.0.0.

License requirements : nx_ship_detail ("Ship Detail Design") OR nx_ship_basic ("Ship Basic Design")

Parameters
firstChainInstallDirectionfirstchaininstalldirection
void NXOpen::Features::ShipDesign::StandardPartItemBuilder::SetInstallFifthDirection ( NXOpen::Features::ShipDesign::StandardPartItemBuilder::Direction  fifthDirectionInstall)

Sets the flag to indicate whether to flip the direction of the fifth selected object or not.


Created in NX8.5.0.

License requirements : nx_ship_detail ("Ship Detail Design") OR nx_ship_basic ("Ship Basic Design")

Parameters
fifthDirectionInstallfifthdirectioninstall
void NXOpen::Features::ShipDesign::StandardPartItemBuilder::SetInstallFirstDirection ( NXOpen::Features::ShipDesign::StandardPartItemBuilder::Direction  firstDirectionInstall)

Sets the flag to indicate whether to flip the direction of the first selected object or not.


Created in NX8.5.0.

License requirements : nx_ship_detail ("Ship Detail Design") OR nx_ship_basic ("Ship Basic Design")

Parameters
firstDirectionInstallfirstdirectioninstall
void NXOpen::Features::ShipDesign::StandardPartItemBuilder::SetInstallFourthDirection ( NXOpen::Features::ShipDesign::StandardPartItemBuilder::Direction  fourthDirectionInstall)

Sets the flag to indicate whether to flip the direction of the fourth selected object or not.


Created in NX8.5.0.

License requirements : nx_ship_detail ("Ship Detail Design") OR nx_ship_basic ("Ship Basic Design")

Parameters
fourthDirectionInstallfourthdirectioninstall
void NXOpen::Features::ShipDesign::StandardPartItemBuilder::SetInstallSecondDirection ( NXOpen::Features::ShipDesign::StandardPartItemBuilder::Direction  secondDirectionInstall)

Sets the flag to indicate whether to flip the direction of the second selected object or not.


Created in NX8.5.0.

License requirements : nx_ship_detail ("Ship Detail Design") OR nx_ship_basic ("Ship Basic Design")

Parameters
secondDirectionInstallseconddirectioninstall
void NXOpen::Features::ShipDesign::StandardPartItemBuilder::SetInstallThirdDirection ( NXOpen::Features::ShipDesign::StandardPartItemBuilder::Direction  thirdDirectionInstall)

Sets the flag to indicate whether to flip the direction of the third selected object or not.


Created in NX8.5.0.

License requirements : nx_ship_detail ("Ship Detail Design") OR nx_ship_basic ("Ship Basic Design")

Parameters
thirdDirectionInstallthirddirectioninstall
void NXOpen::Features::ShipDesign::StandardPartItemBuilder::SetOptionalGeometry ( NXOpen::DisplayableObject selectedGeometry)

Sets one geometry for input selection which has multiple options.

Multiple options could come from selection configuration setting, or several geometries with the same attributes.


Created in NX8.0.0.

License requirements : nx_ship_detail ("Ship Detail Design") OR nx_ship_basic ("Ship Basic Design")

Parameters
selectedGeometryselectedgeometry
void NXOpen::Features::ShipDesign::StandardPartItemBuilder::SetSecondChainInstallDirection ( NXOpen::Features::ShipDesign::StandardPartItemBuilder::Direction  secondChainInstallDirection)

Sets the flag to indicate whether to flip the direction of the second selected chain object or not.


Created in NX9.0.0.

License requirements : nx_ship_detail ("Ship Detail Design") OR nx_ship_basic ("Ship Basic Design")

Parameters
secondChainInstallDirectionsecondchaininstalldirection
void NXOpen::Features::ShipDesign::StandardPartItemBuilder::SetTransitionGeometry ( int  index,
NXOpen::DisplayableObject transitionGeometry 
)

Sets the transition geometry given the index.


Created in NX8.5.0.

License requirements : nx_ship_detail ("Ship Detail Design") OR nx_ship_basic ("Ship Basic Design")

Parameters
indexindex
transitionGeometrytransitiongeometry
NXOpen::SelectDisplayableObject* NXOpen::Features::ShipDesign::StandardPartItemBuilder::ThirdObject ( )

Returns the third selected object.


Created in NX8.0.0.

License requirements : None

void NXOpen::Features::ShipDesign::StandardPartItemBuilder::UpdateReferences ( bool  bToUpdateGeometry)

Updates and relinks the external references.

bToUpdateGeometry is used to decide if the input geometries need to be recalculated.


Created in NX8.0.0.

License requirements : nx_ship_detail ("Ship Detail Design") OR nx_ship_basic ("Ship Basic Design")

Parameters
bToUpdateGeometrybtoupdategeometry

The documentation for this class was generated from the following file:
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.