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

Represents a NXOpen::Features::ShipDesign::ManufacturingStockBuilder builder. More...

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

Public Types

enum  CheckBoxStatus { CheckBoxStatusUnchecked, CheckBoxStatusChecked, CheckBoxStatusRequired }
 the check box status. More...
 
enum  LockedStatus { LockedStatusUnlocked, LockedStatusLocked }
 the NX attribute locked status. More...
 
enum  ObjectType {
  ObjectTypeNone, ObjectTypeEdge, ObjectTypeFace, ObjectTypeBody,
  ObjectTypeFeature, ObjectTypePart, ObjectTypeNum
}
 the object to which the manufacturing attributes will be written. More...
 
enum  StockDataSourceType { StockDataSourceTypeNone, StockDataSourceTypeCustomerDefault }
 the data source from which the intial manufacturing data will be read. More...
 

Public Member Functions

NXString DataSource ()
 Returns the data source from which the intial data is read. More...
 
NXOpen::Features::ShipDesign::ManufacturingStockBuilder::StockDataSourceType DataSourceType ()
 Returns the data source from which the initial data is read. More...
 
void EditDataItem (const NXString &name, NXOpen::Features::ShipDesign::ManufacturingStockBuilder::CheckBoxStatus eCheckBoxStatus, const NXString &valueNew)
 Edits data item. More...
 
void EditDataItem (const char *name, NXOpen::Features::ShipDesign::ManufacturingStockBuilder::CheckBoxStatus eCheckBoxStatus, const char *valueNew)
 Edits data item. More...
 
void InitializeDataFromDataSource (NXOpen::Features::ShipDesign::ManufacturingStockBuilder::StockDataSourceType eDataSourceType, const NXString &dataSource)
 Resets the builder data from the data source. More...
 
void InitializeDataFromDataSource (NXOpen::Features::ShipDesign::ManufacturingStockBuilder::StockDataSourceType eDataSourceType, const char *dataSource)
 Resets the builder data from the data source. More...
 
void SetDataSource (const NXString &dataSource)
 Sets the data source from which the intial data is read. More...
 
void SetDataSource (const char *dataSource)
 Sets the data source from which the intial data is read. More...
 
void SetDataSourceType (NXOpen::Features::ShipDesign::ManufacturingStockBuilder::StockDataSourceType dataSourceType)
 Sets the data source from which the initial data is read. 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::Features::ShipDesign::ManufacturingStockBuilder builder.

It is used to manage the data contained in the ship manufacturing stock.
This class is sub-object of another builder, and cannot be directly instantiated.

Created in NX8.5.0.

Member Enumeration Documentation

the check box status.

Enumerator
CheckBoxStatusUnchecked 

Unchecked.

CheckBoxStatusChecked 

Checked.

CheckBoxStatusRequired 

Checked and Cannot be modified.

the NX attribute locked status.

Enumerator
LockedStatusUnlocked 

The NX attribute is set with unlocked status.

LockedStatusLocked 

The NX attribute is set with locked status.

the object to which the manufacturing attributes will be written.

Enumerator
ObjectTypeNone 

None.

ObjectTypeEdge 

Edge.

ObjectTypeFace 

Face.

ObjectTypeBody 

Body.

ObjectTypeFeature 

Feature.

ObjectTypePart 

Part.

ObjectTypeNum 

Total Object Num.

the data source from which the intial manufacturing data will be read.

Enumerator
StockDataSourceTypeNone 

Set to None if we edit this feature.

StockDataSourceTypeCustomerDefault 

Initial data will be read from the customer default.

Member Function Documentation

NXString NXOpen::Features::ShipDesign::ManufacturingStockBuilder::DataSource ( )

Returns the data source from which the intial data is read.


Created in NX8.5.0.

License requirements : None

NXOpen::Features::ShipDesign::ManufacturingStockBuilder::StockDataSourceType NXOpen::Features::ShipDesign::ManufacturingStockBuilder::DataSourceType ( )

Returns the data source from which the initial data is read.


Created in NX8.5.0.

License requirements : None

void NXOpen::Features::ShipDesign::ManufacturingStockBuilder::EditDataItem ( const NXString name,
NXOpen::Features::ShipDesign::ManufacturingStockBuilder::CheckBoxStatus  eCheckBoxStatus,
const NXString valueNew 
)

Edits data item.


Created in NX8.5.0.

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

Parameters
nameItem name
eCheckBoxStatusNew check box status.
valueNewNew Value
void NXOpen::Features::ShipDesign::ManufacturingStockBuilder::EditDataItem ( const char *  name,
NXOpen::Features::ShipDesign::ManufacturingStockBuilder::CheckBoxStatus  eCheckBoxStatus,
const char *  valueNew 
)

Edits data item.


Created in NX8.5.0.

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

Parameters
nameItem name
eCheckBoxStatusNew check box status.
valueNewNew Value
void NXOpen::Features::ShipDesign::ManufacturingStockBuilder::InitializeDataFromDataSource ( NXOpen::Features::ShipDesign::ManufacturingStockBuilder::StockDataSourceType  eDataSourceType,
const NXString dataSource 
)

Resets the builder data from the data source.


Created in NX8.5.0.

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

Parameters
eDataSourceTypeData source type.
dataSourceData source.
void NXOpen::Features::ShipDesign::ManufacturingStockBuilder::InitializeDataFromDataSource ( NXOpen::Features::ShipDesign::ManufacturingStockBuilder::StockDataSourceType  eDataSourceType,
const char *  dataSource 
)

Resets the builder data from the data source.


Created in NX8.5.0.

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

Parameters
eDataSourceTypeData source type.
dataSourceData source.
void NXOpen::Features::ShipDesign::ManufacturingStockBuilder::SetDataSource ( const NXString dataSource)

Sets the data source from which the intial data is read.


Created in NX8.5.0.

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

Parameters
dataSourcedatasource
void NXOpen::Features::ShipDesign::ManufacturingStockBuilder::SetDataSource ( const char *  dataSource)

Sets the data source from which the intial data is read.


Created in NX8.5.0.

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

Parameters
dataSourcedatasource
void NXOpen::Features::ShipDesign::ManufacturingStockBuilder::SetDataSourceType ( NXOpen::Features::ShipDesign::ManufacturingStockBuilder::StockDataSourceType  dataSourceType)

Sets the data source from which the initial data is read.


Created in NX8.5.0.

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

Parameters
dataSourceTypedatasourcetype

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