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

Represents the standard part framework builder to add or edit ship standard part. More...

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

Public Types

enum  CreationType { CreationTypeCreation, CreationTypeAdoption }
 Indicates the creation type. More...
 
enum  SmartRuleStage { SmartRuleStagePreUpdate, SmartRuleStagePostUpdate }
 Indicates the stage of the smart rule. More...
 

Public Member Functions

void AddStandardPart ()
 Adds a standard part into the assembly context, restores the broken wave links and renames the standard part when all external references are defined. More...
 
void ApplySmartRuleResult (std::vector< NXString > &pStrParamName, std::vector< NXString > &pStrParamValue)
 Applies the smart rule results to the spreadsheet data block. More...
 
void CheckInterference ()
 Checks the clearance between the standard parts and the other components in current assembly. More...
 
void CheckSpreadsheetInput (NXOpen::Features::ShipDesign::StandardPartItemBuilder *pItemBuilder, std::vector< NXString > &ppStrParamName, std::vector< NXString > &ppStrParamValue)
 Looks for the parameter values that are owned by reference geometeries(Attributes) and/or template parts(attributes or expressions) and used as inputs to look for the parameter values in spreadsheet. More...
 
NXString ConfigAttribute ()
 Returns the configure attribute, which is read from the design environment by the settings in the configuration XML file. More...
 
void CopyFromWeldCharacteristics (NXOpen::Features::ShipDesign::StandardPartItemBuilder *stdPartItemBuilder)
 Copies the weld characteristics from the specific standard part item builder. More...
 
void CopyToWeldCharacteristics (NXOpen::Features::ShipDesign::StandardPartItemBuilder *stdPartItemBuilder)
 Copies the weld characteristics to the specific standard part item builder. More...
 
NXOpen::Features::ShipDesign::StandardPartItemBuilderCreateStandardPartItem (NXOpen::Features::ShipDesign::StandardPartItemBuilder *refBuilder)
 Creates a new StandardPartItemBuilder and intialize the builder with data from the reference builder. More...
 
void EndRunSmartRule (NXOpen::Features::ShipDesign::StandardPartItemBuilder *pItemBuilder)
 End run the smart rules. More...
 
NXString FirstCompartment ()
 Returns the first compartment option. More...
 
void FlipThicknessDirection (bool bUpdateModel)
 Flips the standard part thickness direction. More...
 
void GetDataFile (bool updateConfiguration)
 Retrieves the data file name from the registration spread sheet. More...
 
NXString GetModelFile ()
 Retrieves the model file name from the registration spread sheet. More...
 
NXString GetStandardPartName (bool bFullName)
 Returns the default name of the added standard part name. More...
 
NXOpen::Features::ShipDesign::ManufacturingStockBuilderManufacturingStock ()
 Returns the manufacturing stock builder that holds the manufacturing data. More...
 
void ModifySpreadsheetData (std::vector< NXString > &strParamName, std::vector< NXString > &strParamValue)
 Modifies specific parameter values without change parameter statuses. More...
 
NXString PartCategory ()
 Returns the part category, which is defined in registration file. More...
 
NXOpen::Features::ShipDesign::StandardPartFrameworkBuilder::CreationType PartCreationType ()
 Returns the creation type. More...
 
NXString PartSubType ()
 Returns the part sub type, which is the sub category of sub type. More...
 
NXString PartType ()
 Returns the part type, which is the sub category of part type. More...
 
void PostUpdate ()
 Does the final check to finish the process of updating standar parts. More...
 
void RemoveInstance (NXOpen::Features::ShipDesign::StandardPartItemBuilder *itemBuilder)
 Removes the standard part instance. More...
 
void ResetPartIndex ()
 Resets the standard part index so that the next standard part would be added with the index in its name starting from 1. More...
 
void ResetRuleInputCache ()
 Resets rule trigger source cache so the rule trigger evaluation can start from original point. More...
 
bool ReverseDirection ()
 Returns the option whether to reverse direction. More...
 
void RunSmartRule (NXOpen::Features::ShipDesign::StandardPartItemBuilder *pItemBuilder, NXOpen::Features::ShipDesign::StandardPartFrameworkBuilder::SmartRuleStage stage, std::vector< NXString > &ppStrParamName, std::vector< NXString > &ppStrParamValue, std::vector< NXString > &ppStrParamDescription)
 Runs the smart rule engine to get the inference result. More...
 
NXString SecondCompartment ()
 Returns the second compartment option. More...
 
void SetConfigAttribute (const NXString &strConfigAttr)
 Sets the configure attribute, which is read from the design environment by the settings in the configuration XML file. More...
 
void SetConfigAttribute (const char *strConfigAttr)
 Sets the configure attribute, which is read from the design environment by the settings in the configuration XML file. More...
 
void SetCurrentStandardPartItem (NXOpen::Features::ShipDesign::StandardPartItemBuilder *pCurItemBuilder)
 Sets the current standard part item that is edited. More...
 
void SetFirstCompartment (const NXString &firstOption)
 Sets the first compartment option. More...
 
void SetFirstCompartment (const char *firstOption)
 Sets the first compartment option. More...
 
void SetPartCategory (const NXString &partType)
 Sets the part category, which is defined in registration file. More...
 
void SetPartCategory (const char *partType)
 Sets the part category, which is defined in registration file. More...
 
void SetPartCreationType (NXOpen::Features::ShipDesign::StandardPartFrameworkBuilder::CreationType creationType)
 Sets the creation type. More...
 
void SetPartSubType (const NXString &partLeafType)
 Sets the part sub type, which is the sub category of sub type. More...
 
void SetPartSubType (const char *partLeafType)
 Sets the part sub type, which is the sub category of sub type. More...
 
void SetPartType (const NXString &partSubType)
 Sets the part type, which is the sub category of part type. More...
 
void SetPartType (const char *partSubType)
 Sets the part type, which is the sub category of part type. More...
 
void SetReverseDirection (bool reverseDirectionOption)
 Sets the option whether to reverse direction. More...
 
void SetSecondCompartment (const NXString &secondOption)
 Sets the second compartment option. More...
 
void SetSecondCompartment (const char *secondOption)
 Sets the second compartment option. More...
 
void SetStandardPartGroupOption (bool stdPartGroupOption)
 Sets the option whether to group multiple standard parts together to share the same parameters during the update when editing. More...
 
void SetStandardPartVersion (double standardPartVersion)
 Set the standard part version. More...
 
void SetThicknessDirection (NXOpen::Features::ShipDesign::StandardPartItemBuilder::Direction thicknessDirectionOption)
 Sets the option whether to change thickness direction. More...
 
void SetView ()
 Sets the current view normal to the main plane, which is the base plane to construct the primary sketch in the template part. More...
 
NXOpen::Features::ShipDesign::ShipNamesBuilderShipNames ()
 Returns the Ship Names builder, used to assign names to the Standard Parts created. More...
 
bool StandardPartGroupOption ()
 Returns the option whether to group multiple standard parts together to share the same parameters during the update when editing. More...
 
NXOpen::Features::ShipDesign::StandardPartItemBuilderStandardPartItem ()
 Returns the standard part item, which is the builder of the selection item. More...
 
NXOpen::Features::ShipDesign::StandardPartItemBuilderListStandardPartList ()
 Returns the standard part list, which supports to add more than one standard part at one time. More...
 
NXOpen::ExpressionThickness ()
 Returns the standard part thickness. More...
 
NXOpen::Features::ShipDesign::StandardPartItemBuilder::Direction ThicknessDirection ()
 Returns the option whether to change thickness direction. More...
 
void UpdateModel ()
 Updates all standard parts. More...
 
void UpdateShipNames (NXOpen::Features::ShipDesign::ShipnamesBuilderType shipNamesType)
 Update Ship Names builder when change part category. More...
 
void UpdateSpreadsheetData (std::vector< NXString > &strParamName, std::vector< NXString > &strParamValue, const std::vector< int > &pnParamStatus)
 Updates the parameter values which are defined in the parameter spreadsheet. More...
 
void UpdateSpreadsheetDataNoUpdate (std::vector< NXString > &strParamName, std::vector< NXString > &strParamValue, const std::vector< int > &pnParamStatus)
 Updates the parameter values which are defined in the parameter spreadsheet but not update the standard parts. More...
 
void UpdateThickness (bool bUpdateModel)
 Updates the user input thickness to the standard parts. More...
 
void UpdateThicknessDirection (bool bUpdateModel)
 Updates the standard part thickness direction. More...
 
NXOpen::Weld::CharacteristicsBuilderWeldCharacteristics ()
 Returns the weld characteristics. 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 standard part framework builder to add or edit ship standard part.


To create a new instance of this class, use NXOpen::Features::ShipCollection::CreateStandardPartFrameworkBuilder
Default values.

Property Value

Thickness.Value (deprecated)

5 (millimeters part), 0.02 (inches part)


Created in NX8.0.0.

Member Enumeration Documentation

Indicates the creation type.

Enumerator
CreationTypeCreation 

In creation.

CreationTypeAdoption 

In adoption.

Indicates the stage of the smart rule.

Enumerator
SmartRuleStagePreUpdate 

In pre-update stage.

SmartRuleStagePostUpdate 

In post-update stage.

Member Function Documentation

void NXOpen::Features::ShipDesign::StandardPartFrameworkBuilder::AddStandardPart ( )

Adds a standard part into the assembly context, restores the broken wave links and renames the standard part when all external references are defined.


Created in NX8.0.0.

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

void NXOpen::Features::ShipDesign::StandardPartFrameworkBuilder::ApplySmartRuleResult ( std::vector< NXString > &  pStrParamName,
std::vector< NXString > &  pStrParamValue 
)

Applies the smart rule results to the spreadsheet data block.


Created in NX8.0.0.

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

Parameters
pStrParamNamepstrparamname
pStrParamValuepstrparamvalue
void NXOpen::Features::ShipDesign::StandardPartFrameworkBuilder::CheckInterference ( )

Checks the clearance between the standard parts and the other components in current assembly.

There are two types of interference to be checked. 1) Interference between standard part and other componenets, and 2) interference between standard part and cutouts.


Created in NX8.0.0.

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

void NXOpen::Features::ShipDesign::StandardPartFrameworkBuilder::CheckSpreadsheetInput ( NXOpen::Features::ShipDesign::StandardPartItemBuilder pItemBuilder,
std::vector< NXString > &  ppStrParamName,
std::vector< NXString > &  ppStrParamValue 
)

Looks for the parameter values that are owned by reference geometeries(Attributes) and/or template parts(attributes or expressions) and used as inputs to look for the parameter values in spreadsheet.


Created in NX8.0.0.

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

Parameters
pItemBuilderpitembuilder
ppStrParamNameppstrparamname
ppStrParamValueppstrparamvalue
NXString NXOpen::Features::ShipDesign::StandardPartFrameworkBuilder::ConfigAttribute ( )

Returns the configure attribute, which is read from the design environment by the settings in the configuration XML file.


Created in NX8.0.0.

License requirements : None

void NXOpen::Features::ShipDesign::StandardPartFrameworkBuilder::CopyFromWeldCharacteristics ( NXOpen::Features::ShipDesign::StandardPartItemBuilder stdPartItemBuilder)

Copies the weld characteristics from the specific standard part item builder.


Created in NX9.0.1.

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

Parameters
stdPartItemBuilderstdpartitembuilder
void NXOpen::Features::ShipDesign::StandardPartFrameworkBuilder::CopyToWeldCharacteristics ( NXOpen::Features::ShipDesign::StandardPartItemBuilder stdPartItemBuilder)

Copies the weld characteristics to the specific standard part item builder.


Created in NX9.0.1.

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

Parameters
stdPartItemBuilderstdpartitembuilder
NXOpen::Features::ShipDesign::StandardPartItemBuilder* NXOpen::Features::ShipDesign::StandardPartFrameworkBuilder::CreateStandardPartItem ( NXOpen::Features::ShipDesign::StandardPartItemBuilder refBuilder)

Creates a new StandardPartItemBuilder and intialize the builder with data from the reference builder.

Returns

Created in NX8.0.0.

License requirements : None
Parameters
refBuilderrefbuilder
void NXOpen::Features::ShipDesign::StandardPartFrameworkBuilder::EndRunSmartRule ( NXOpen::Features::ShipDesign::StandardPartItemBuilder pItemBuilder)

End run the smart rules.


Created in NX8.0.0.

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

Parameters
pItemBuilderpitembuilder
NXString NXOpen::Features::ShipDesign::StandardPartFrameworkBuilder::FirstCompartment ( )

Returns the first compartment option.


Created in NX8.0.0.

License requirements : None

void NXOpen::Features::ShipDesign::StandardPartFrameworkBuilder::FlipThicknessDirection ( bool  bUpdateModel)

Flips the standard part thickness direction.

If bUpdateModel is true, the model will be updated. If it is false, the thickness direction will be flipped but the model will not be updated.


Deprecated:
Deprecated in NX8.0.3. Use NXOpen::Features::ShipDesign::StandardPartFrameworkBuilder .ModifySpreadSheetData() instead.


Created in NX8.0.0.

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

Parameters
bUpdateModelbupdatemodel
void NXOpen::Features::ShipDesign::StandardPartFrameworkBuilder::GetDataFile ( bool  updateConfiguration)

Retrieves the data file name from the registration spread sheet.


Created in NX8.0.0.

License requirements : None

Parameters
updateConfigurationWhether to update the selection configuration
NXString NXOpen::Features::ShipDesign::StandardPartFrameworkBuilder::GetModelFile ( )

Retrieves the model file name from the registration spread sheet.

Returns

Created in NX8.0.0.

License requirements : None
NXString NXOpen::Features::ShipDesign::StandardPartFrameworkBuilder::GetStandardPartName ( bool  bFullName)

Returns the default name of the added standard part name.

Returns

Created in NX8.0.0.

License requirements : None
Parameters
bFullNamebfullname
NXOpen::Features::ShipDesign::ManufacturingStockBuilder* NXOpen::Features::ShipDesign::StandardPartFrameworkBuilder::ManufacturingStock ( )

Returns the manufacturing stock builder that holds the manufacturing data.


Created in NX8.5.0.

License requirements : None

void NXOpen::Features::ShipDesign::StandardPartFrameworkBuilder::ModifySpreadsheetData ( std::vector< NXString > &  strParamName,
std::vector< NXString > &  strParamValue 
)

Modifies specific parameter values without change parameter statuses.

This could be used to apply smart rule result.


Created in NX8.0.0.

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

Parameters
strParamNamestrparamname
strParamValuestrparamvalue
NXString NXOpen::Features::ShipDesign::StandardPartFrameworkBuilder::PartCategory ( )

Returns the part category, which is defined in registration file.

The typical standard part types include stiffener end bracket, collar plate, tripping bracket, flat bar etc.
Created in NX8.0.0.

License requirements : None

NXOpen::Features::ShipDesign::StandardPartFrameworkBuilder::CreationType NXOpen::Features::ShipDesign::StandardPartFrameworkBuilder::PartCreationType ( )

Returns the creation type.


Created in NX9.0.2.

License requirements : None

NXString NXOpen::Features::ShipDesign::StandardPartFrameworkBuilder::PartSubType ( )

Returns the part sub type, which is the sub category of sub type.


Created in NX8.0.0.

License requirements : None

NXString NXOpen::Features::ShipDesign::StandardPartFrameworkBuilder::PartType ( )

Returns the part type, which is the sub category of part type.


Created in NX8.0.0.

License requirements : None

void NXOpen::Features::ShipDesign::StandardPartFrameworkBuilder::PostUpdate ( )

Does the final check to finish the process of updating standar parts.


Created in NX8.0.0.

License requirements : None

void NXOpen::Features::ShipDesign::StandardPartFrameworkBuilder::RemoveInstance ( NXOpen::Features::ShipDesign::StandardPartItemBuilder itemBuilder)

Removes the standard part instance.


Created in NX8.0.0.

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

Parameters
itemBuilderitembuilder
void NXOpen::Features::ShipDesign::StandardPartFrameworkBuilder::ResetPartIndex ( )

Resets the standard part index so that the next standard part would be added with the index in its name starting from 1.


Created in NX8.5.0.

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

void NXOpen::Features::ShipDesign::StandardPartFrameworkBuilder::ResetRuleInputCache ( )

Resets rule trigger source cache so the rule trigger evaluation can start from original point.


Created in NX8.0.0.

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

bool NXOpen::Features::ShipDesign::StandardPartFrameworkBuilder::ReverseDirection ( )

Returns the option whether to reverse direction.


Deprecated:
Deprecated in NX8.0.3. Removed with no replacement


Created in NX8.0.0.

License requirements : None

void NXOpen::Features::ShipDesign::StandardPartFrameworkBuilder::RunSmartRule ( NXOpen::Features::ShipDesign::StandardPartItemBuilder pItemBuilder,
NXOpen::Features::ShipDesign::StandardPartFrameworkBuilder::SmartRuleStage  stage,
std::vector< NXString > &  ppStrParamName,
std::vector< NXString > &  ppStrParamValue,
std::vector< NXString > &  ppStrParamDescription 
)

Runs the smart rule engine to get the inference result.


Created in NX8.0.0.

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

Parameters
pItemBuilderpitembuilder
stagestage
ppStrParamNameppstrparamname
ppStrParamValueppstrparamvalue
ppStrParamDescriptionppstrparamdescription
NXString NXOpen::Features::ShipDesign::StandardPartFrameworkBuilder::SecondCompartment ( )

Returns the second compartment option.


Created in NX8.0.0.

License requirements : None

void NXOpen::Features::ShipDesign::StandardPartFrameworkBuilder::SetConfigAttribute ( const NXString strConfigAttr)

Sets the configure attribute, which is read from the design environment by the settings in the configuration XML file.


Created in NX8.0.0.

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

Parameters
strConfigAttrstrconfigattr
void NXOpen::Features::ShipDesign::StandardPartFrameworkBuilder::SetConfigAttribute ( const char *  strConfigAttr)

Sets the configure attribute, which is read from the design environment by the settings in the configuration XML file.


Created in NX8.0.0.

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

Parameters
strConfigAttrstrconfigattr
void NXOpen::Features::ShipDesign::StandardPartFrameworkBuilder::SetCurrentStandardPartItem ( NXOpen::Features::ShipDesign::StandardPartItemBuilder pCurItemBuilder)

Sets the current standard part item that is edited.

This is useful if standard part framework works in non-group mode.


Created in NX8.5.0.

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

Parameters
pCurItemBuilderpcuritembuilder
void NXOpen::Features::ShipDesign::StandardPartFrameworkBuilder::SetFirstCompartment ( const NXString firstOption)

Sets the first compartment option.


Created in NX8.0.0.

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

Parameters
firstOptionfirstoption
void NXOpen::Features::ShipDesign::StandardPartFrameworkBuilder::SetFirstCompartment ( const char *  firstOption)

Sets the first compartment option.


Created in NX8.0.0.

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

Parameters
firstOptionfirstoption
void NXOpen::Features::ShipDesign::StandardPartFrameworkBuilder::SetPartCategory ( const NXString partType)

Sets the part category, which is defined in registration file.

The typical standard part types include stiffener end bracket, collar plate, tripping bracket, flat bar etc.
Created in NX8.0.0.

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

Parameters
partTypeparttype
void NXOpen::Features::ShipDesign::StandardPartFrameworkBuilder::SetPartCategory ( const char *  partType)

Sets the part category, which is defined in registration file.

The typical standard part types include stiffener end bracket, collar plate, tripping bracket, flat bar etc.
Created in NX8.0.0.

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

Parameters
partTypeparttype
void NXOpen::Features::ShipDesign::StandardPartFrameworkBuilder::SetPartCreationType ( NXOpen::Features::ShipDesign::StandardPartFrameworkBuilder::CreationType  creationType)

Sets the creation type.


Created in NX9.0.2.

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

Parameters
creationTypecreationtype
void NXOpen::Features::ShipDesign::StandardPartFrameworkBuilder::SetPartSubType ( const NXString partLeafType)

Sets the part sub type, which is the sub category of sub type.


Created in NX8.0.0.

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

Parameters
partLeafTypepartleaftype
void NXOpen::Features::ShipDesign::StandardPartFrameworkBuilder::SetPartSubType ( const char *  partLeafType)

Sets the part sub type, which is the sub category of sub type.


Created in NX8.0.0.

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

Parameters
partLeafTypepartleaftype
void NXOpen::Features::ShipDesign::StandardPartFrameworkBuilder::SetPartType ( const NXString partSubType)

Sets the part type, which is the sub category of part type.


Created in NX8.0.0.

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

Parameters
partSubTypepartsubtype
void NXOpen::Features::ShipDesign::StandardPartFrameworkBuilder::SetPartType ( const char *  partSubType)

Sets the part type, which is the sub category of part type.


Created in NX8.0.0.

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

Parameters
partSubTypepartsubtype
void NXOpen::Features::ShipDesign::StandardPartFrameworkBuilder::SetReverseDirection ( bool  reverseDirectionOption)

Sets the option whether to reverse direction.


Deprecated:
Deprecated in NX8.0.3. Use NXOpen::Features::ShipDesign::StandardPartFrameworkBuilder .ModifySpreadSheetData() instead.


Created in NX8.0.0.

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

Parameters
reverseDirectionOptionreversedirectionoption
void NXOpen::Features::ShipDesign::StandardPartFrameworkBuilder::SetSecondCompartment ( const NXString secondOption)

Sets the second compartment option.


Created in NX8.0.0.

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

Parameters
secondOptionsecondoption
void NXOpen::Features::ShipDesign::StandardPartFrameworkBuilder::SetSecondCompartment ( const char *  secondOption)

Sets the second compartment option.


Created in NX8.0.0.

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

Parameters
secondOptionsecondoption
void NXOpen::Features::ShipDesign::StandardPartFrameworkBuilder::SetStandardPartGroupOption ( bool  stdPartGroupOption)

Sets the option whether to group multiple standard parts together to share the same parameters during the update when editing.


Created in NX8.0.0.

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

Parameters
stdPartGroupOptionstdpartgroupoption
void NXOpen::Features::ShipDesign::StandardPartFrameworkBuilder::SetStandardPartVersion ( double  standardPartVersion)

Set the standard part version.


Created in NX9.0.1.

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

Parameters
standardPartVersionstandardpartversion
void NXOpen::Features::ShipDesign::StandardPartFrameworkBuilder::SetThicknessDirection ( NXOpen::Features::ShipDesign::StandardPartItemBuilder::Direction  thicknessDirectionOption)

Sets the option whether to change thickness direction.


Created in NX8.5.0.

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

Parameters
thicknessDirectionOptionthicknessdirectionoption
void NXOpen::Features::ShipDesign::StandardPartFrameworkBuilder::SetView ( )

Sets the current view normal to the main plane, which is the base plane to construct the primary sketch in the template part.

If there is no sketch found, nothing will be done.


Created in NX8.0.0.

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

NXOpen::Features::ShipDesign::ShipNamesBuilder* NXOpen::Features::ShipDesign::StandardPartFrameworkBuilder::ShipNames ( )

Returns the Ship Names builder, used to assign names to the Standard Parts created.


Created in NX9.0.2.

License requirements : None

bool NXOpen::Features::ShipDesign::StandardPartFrameworkBuilder::StandardPartGroupOption ( )

Returns the option whether to group multiple standard parts together to share the same parameters during the update when editing.


Created in NX8.0.0.

License requirements : None

NXOpen::Features::ShipDesign::StandardPartItemBuilder* NXOpen::Features::ShipDesign::StandardPartFrameworkBuilder::StandardPartItem ( )

Returns the standard part item, which is the builder of the selection item.


Created in NX8.0.0.

License requirements : None

NXOpen::Features::ShipDesign::StandardPartItemBuilderList* NXOpen::Features::ShipDesign::StandardPartFrameworkBuilder::StandardPartList ( )

Returns the standard part list, which supports to add more than one standard part at one time.


Created in NX8.0.0.

License requirements : None

NXOpen::Expression* NXOpen::Features::ShipDesign::StandardPartFrameworkBuilder::Thickness ( )

Returns the standard part thickness.


Deprecated:
Deprecated in NX8.0.3. Removed with no replacement


Created in NX8.0.0.

License requirements : None

NXOpen::Features::ShipDesign::StandardPartItemBuilder::Direction NXOpen::Features::ShipDesign::StandardPartFrameworkBuilder::ThicknessDirection ( )

Returns the option whether to change thickness direction.


Created in NX8.5.0.

License requirements : None

void NXOpen::Features::ShipDesign::StandardPartFrameworkBuilder::UpdateModel ( )

Updates all standard parts.


Created in NX8.0.0.

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

void NXOpen::Features::ShipDesign::StandardPartFrameworkBuilder::UpdateShipNames ( NXOpen::Features::ShipDesign::ShipnamesBuilderType  shipNamesType)

Update Ship Names builder when change part category.


Created in NX11.0.1.

License requirements : None

Parameters
shipNamesTypeshipnamestype
void NXOpen::Features::ShipDesign::StandardPartFrameworkBuilder::UpdateSpreadsheetData ( std::vector< NXString > &  strParamName,
std::vector< NXString > &  strParamValue,
const std::vector< int > &  pnParamStatus 
)

Updates the parameter values which are defined in the parameter spreadsheet.

It also updates the standard parts.


Created in NX8.0.0.

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

Parameters
strParamNamestrparamname
strParamValuestrparamvalue
pnParamStatuspnparamstatus
void NXOpen::Features::ShipDesign::StandardPartFrameworkBuilder::UpdateSpreadsheetDataNoUpdate ( std::vector< NXString > &  strParamName,
std::vector< NXString > &  strParamValue,
const std::vector< int > &  pnParamStatus 
)

Updates the parameter values which are defined in the parameter spreadsheet but not update the standard parts.


Created in NX8.0.0.

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

Parameters
strParamNamestrparamname
strParamValuestrparamvalue
pnParamStatuspnparamstatus
void NXOpen::Features::ShipDesign::StandardPartFrameworkBuilder::UpdateThickness ( bool  bUpdateModel)

Updates the user input thickness to the standard parts.

If bUpdateModel is true, the model will be updated. If it is false, the thickness value will be changed but the model will not be updated.


Deprecated:
Deprecated in NX8.0.3. Use NXOpen::Features::ShipDesign::StandardPartFrameworkBuilder .ModifySpreadSheetData() instead.


Created in NX8.0.0.

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

Parameters
bUpdateModelbupdatemodel
void NXOpen::Features::ShipDesign::StandardPartFrameworkBuilder::UpdateThicknessDirection ( bool  bUpdateModel)

Updates the standard part thickness direction.

If bUpdateModel is true, the model will be updated. If it is false, the thickness direction will be flipped but the model will not be updated.


Created in NX8.5.0.

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

Parameters
bUpdateModelbupdatemodel
NXOpen::Weld::CharacteristicsBuilder* NXOpen::Features::ShipDesign::StandardPartFrameworkBuilder::WeldCharacteristics ( )

Returns the weld characteristics.


Created in NX8.0.0.

License requirements : None


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