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

This class is used to compare between the two Shipbuilding modes of Design and Manufacturing. More...

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

Public Types

enum  CompareMode { CompareModeDesignMode, CompareModeManufacturingMode }
 Compare Mode type. More...
 

Public Member Functions

NXOpen::Features::ShipDesign::CompareModeBuilder::CompareMode CompareEmphasizeMode ()
 Returns the compare emphasize mode. More...
 
NXOpen::SelectNXObjectListDesignElementToCompare ()
 Returns the design element selection object to be processed in the change of mode comparing. More...
 
void RestoreDisplay (NXOpen::Assemblies::Component *singleparttorestore)
 Restores the display and removes the compare between the Design vs Manufacturing data. More...
 
void SetCompareEmphasizeMode (NXOpen::Features::ShipDesign::CompareModeBuilder::CompareMode compareEmphasizeMode)
 Sets the compare emphasize mode. More...
 
int UpdateDisplay ()
 Loops through all the parts and updates the display to show the compare between the Design vs Manufacturing data. 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

This class is used to compare between the two Shipbuilding modes of Design and Manufacturing.


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

Property Value

CompareEmphasizeMode

DesignMode


Created in NX8.0.0.

Member Enumeration Documentation

Compare Mode type.

Enumerator
CompareModeDesignMode 

design mode

CompareModeManufacturingMode 

manufacturing mode

Member Function Documentation

NXOpen::Features::ShipDesign::CompareModeBuilder::CompareMode NXOpen::Features::ShipDesign::CompareModeBuilder::CompareEmphasizeMode ( )

Returns the compare emphasize mode.


Created in NX8.0.0.

License requirements : nx_ship_detail ("Ship Detail Design") OR nx_ship_mfg_prep ("Ship Manufacturing")

NXOpen::SelectNXObjectList* NXOpen::Features::ShipDesign::CompareModeBuilder::DesignElementToCompare ( )

Returns the design element selection object to be processed in the change of mode comparing.


Created in NX8.0.0.

License requirements : nx_ship_detail ("Ship Detail Design") OR nx_ship_mfg_prep ("Ship Manufacturing")

void NXOpen::Features::ShipDesign::CompareModeBuilder::RestoreDisplay ( NXOpen::Assemblies::Component singleparttorestore)

Restores the display and removes the compare between the Design vs Manufacturing data.


Created in NX8.0.0.

License requirements : nx_ship_detail ("Ship Detail Design") OR nx_ship_mfg_prep ("Ship Manufacturing")

Parameters
singleparttorestoresingleparttorestore
void NXOpen::Features::ShipDesign::CompareModeBuilder::SetCompareEmphasizeMode ( NXOpen::Features::ShipDesign::CompareModeBuilder::CompareMode  compareEmphasizeMode)

Sets the compare emphasize mode.


Created in NX8.0.0.

License requirements : nx_ship_detail ("Ship Detail Design") OR nx_ship_mfg_prep ("Ship Manufacturing")

Parameters
compareEmphasizeModecompareemphasizemode
int NXOpen::Features::ShipDesign::CompareModeBuilder::UpdateDisplay ( )

Loops through all the parts and updates the display to show the compare between the Design vs Manufacturing data.

Returns

Created in NX8.0.0.

License requirements : nx_ship_detail ("Ship Detail Design") OR nx_ship_mfg_prep ("Ship Manufacturing")

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