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

This class is used to convert/upgrade legacy Ship Design features. More...

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

Public Types

enum  PartScope { PartScopeWorkPart, PartScopeWorkPartandComponents }
 Settings for the conversion scope. More...
 

Public Member Functions

int NumCandidateFeatures ()
 Returns the number of candidate features. More...
 
int NumConvertedFeatures ()
 Returns the number of converted features. More...
 
NXOpen::Features::ShipDesign::ShipFeatureConverter::PartScope Scope ()
 Returns the conversion scope
Created in NX7.5.0. More...
 
void SetScope (NXOpen::Features::ShipDesign::ShipFeatureConverter::PartScope scope)
 Sets the conversion scope
Created in NX7.5.0. 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 convert/upgrade legacy Ship Design features.

It currently supports the conversion of KF Steel Features into non-KF Steel features.
To create a new instance of this class, use NXOpen::Features::ShipCollection::CreateShipFeatureConverter
Default values.

Property Value

Scope

WorkPart


Created in NX7.5.0.

Member Enumeration Documentation

Settings for the conversion scope.

Enumerator
PartScopeWorkPart 

convert features in the work part only

PartScopeWorkPartandComponents 

convert features in wort part and sub-component parts

Member Function Documentation

int NXOpen::Features::ShipDesign::ShipFeatureConverter::NumCandidateFeatures ( )

Returns the number of candidate features.

This is only set after committing the converter.
Created in NX7.5.0.

License requirements : None

int NXOpen::Features::ShipDesign::ShipFeatureConverter::NumConvertedFeatures ( )

Returns the number of converted features.

This is only set after committing the converter.
Created in NX7.5.0.

License requirements : None

NXOpen::Features::ShipDesign::ShipFeatureConverter::PartScope NXOpen::Features::ShipDesign::ShipFeatureConverter::Scope ( )

Returns the conversion scope
Created in NX7.5.0.



License requirements : None

void NXOpen::Features::ShipDesign::ShipFeatureConverter::SetScope ( NXOpen::Features::ShipDesign::ShipFeatureConverter::PartScope  scope)

Sets the conversion scope
Created in NX7.5.0.



License requirements : nx_ship_concept ("Ship Concept")

Parameters
scopescope

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