NX Open C++ Reference Guide
Public Types | Public Member Functions | List of all members
NXOpen::Routing::StockPartConverterBuilder Class Reference

Represents a NXOpen::Routing::StockPartConverterBuilder Builder for Part Conversion of the stocks. More...

Inheritance diagram for NXOpen::Routing::StockPartConverterBuilder:
NXOpen::Builder NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

Public Types

enum  PartOption { PartOptionWorkPart, PartOptionWorkPartWithLoadedChildren }
 Represents the option to indicate the scope of stock part coversion. More...
 

Public Member Functions

NXOpen::Routing::StockPartConverterBuilder::PartOption ConvertWorkPartAndLoadedChildrenOption ()
 Returns the convert workpart and loaded children option. More...
 
bool RecreateStockComponentsOption ()
 Returns the recreate StockComponents option. More...
 
void SetConvertWorkPartAndLoadedChildrenOption (NXOpen::Routing::StockPartConverterBuilder::PartOption conversionOption)
 Sets the convert workpart and loaded children option. More...
 
void SetRecreateStockComponentsOption (bool recreateStockComponentsOption)
 Sets the recreate StockComponents option. 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 a NXOpen::Routing::StockPartConverterBuilder Builder for Part Conversion of the stocks.

This also provides an option to Recreate stock components during part conversion.
To create a new instance of this class, use NXOpen::Routing::RouteManager::CreateStockPartConverterBuilder
Default values.

Property Value

RecreateStockComponentsOption

0


Created in NX10.0.0.

Member Enumeration Documentation

Represents the option to indicate the scope of stock part coversion.

Enumerator
PartOptionWorkPart 

Upgrades stocks from the work part only.

PartOptionWorkPartWithLoadedChildren 

Upgraded stocks from work part as well loaded children parts.

Member Function Documentation

NXOpen::Routing::StockPartConverterBuilder::PartOption NXOpen::Routing::StockPartConverterBuilder::ConvertWorkPartAndLoadedChildrenOption ( )

Returns the convert workpart and loaded children option.

Returns if the stocks from only the work part or from the work part and loaded children have to be converted during part conversion.
Created in NX10.0.0.

License requirements : routing_base ("Routing Basic")

bool NXOpen::Routing::StockPartConverterBuilder::RecreateStockComponentsOption ( )

Returns the recreate StockComponents option.

Returns true if the stock components have to be recreated during part conversion.
Created in NX10.0.0.

License requirements : routing_base ("Routing Basic")

void NXOpen::Routing::StockPartConverterBuilder::SetConvertWorkPartAndLoadedChildrenOption ( NXOpen::Routing::StockPartConverterBuilder::PartOption  conversionOption)

Sets the convert workpart and loaded children option.

Returns if the stocks from only the work part or from the work part and loaded children have to be converted during part conversion.
Created in NX10.0.0.

License requirements : routing_base ("Routing Basic")

Parameters
conversionOptionconversionoption
void NXOpen::Routing::StockPartConverterBuilder::SetRecreateStockComponentsOption ( bool  recreateStockComponentsOption)

Sets the recreate StockComponents option.

Returns true if the stock components have to be recreated during part conversion.
Created in NX10.0.0.

License requirements : routing_base ("Routing Basic")

Parameters
recreateStockComponentsOptionrecreatestockcomponentsoption

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