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

The Preferences for Routing Stock objects. More...

Public Types

enum  SpaceReservationModeFlag { SpaceReservationModeFlagLegacySpaceReservation, SpaceReservationModeFlagSpaceReservationAsComponent }
 Describes the valid value for space reservation mode. More...
 
enum  StockModeFlag { StockModeFlagLegacyStock, StockModeFlagStockAsComponent }
 Describes the valid value for stock mode. More...
 

Public Member Functions

NXString CurrentTile ()
 Returns the current routing level/tile
Created in NX4.0.0. More...
 
NXOpen::Routing::StockStyle DefaultStockStyle ()
 Returns the default stock style
Created in NX4.0.0. More...
 
bool DeleteOverstock ()
 Returns the delete overstock flag during deletion of last stock covered by the overstock
Created in NX4.0.0. More...
 
void GetDefaultStock (NXOpen::Routing::CharacteristicList **stockPart, NXOpen::Routing::CharacteristicList **dataCharx)
 Returns the current default stock to assign when creating paths. More...
 
void GetPreferredFillerStock (NXOpen::Routing::CharacteristicList **stockPart, NXOpen::Routing::CharacteristicList **dataCharx)
 Returns the preferred for creating filler stock. More...
 
void GetPreferredOverstock (NXOpen::Routing::CharacteristicList **stockPart, NXOpen::Routing::CharacteristicList **dataCharx)
 Returns the preferred stock for creating overstock. More...
 
void GetPreferredSpaceReservation (NXOpen::Routing::CharacteristicList **stockPart, NXOpen::Routing::CharacteristicList **dataCharx)
 Returns the preferred stock for creating space reservation
Created in NX6.0.0. More...
 
void SetCurrentTile (const NXString &tile)
 Sets the current routing level/tile
Created in NX4.0.0. More...
 
void SetCurrentTile (const char *tile)
 Sets the current routing level/tile
Created in NX4.0.0. More...
 
void SetDefaultStock (NXOpen::Routing::CharacteristicList *stockPart, NXOpen::Routing::CharacteristicList *dataCharx)
 Sets the current default stock to assign when creating paths. More...
 
void SetDefaultStockStyle (NXOpen::Routing::StockStyle defaultStockStyle)
 Sets the default stock style
Created in NX4.0.0. More...
 
void SetDeleteOverstock (bool deleteOverstock)
 Sets the delete overstock flag during deletion of last stock covered by the overstock
Created in NX4.0.0. More...
 
void SetPreferredFillerStock (NXOpen::Routing::CharacteristicList *stockPart, NXOpen::Routing::CharacteristicList *dataCharx)
 Sets the preferred stock for creating filler stock
Created in NX6.0.0. More...
 
void SetPreferredOverstock (NXOpen::Routing::CharacteristicList *stockPart, NXOpen::Routing::CharacteristicList *dataCharx)
 Sets the preferred stock for creating overstock
Created in NX6.0.0. More...
 
void SetPreferredSpaceReservation (NXOpen::Routing::CharacteristicList *stockPart, NXOpen::Routing::CharacteristicList *dataCharx)
 Sets the preferred stock for creating space Reservation
Created in NX6.0.0. More...
 
void SetSpaceReservationMode (NXOpen::Preferences::RoutingStock::SpaceReservationModeFlag spaceReservationMode)
 Sets the space reservation creation mode
Created in NX7.5.2. More...
 
void SetSpaceReservationTranslucency (int spaceReservationTranslucency)
 Sets the desired translucnecy of the newly created Space Reservation Stock
Created in NX6.0.0. More...
 
void SetStockAnchor (const NXString &anchorName)
 Sets the NXOpen::Routing::Anchor name associated with the stock preferences. More...
 
void SetStockAnchor (const char *anchorName)
 Sets the NXOpen::Routing::Anchor name associated with the stock preferences. More...
 
void SetStockFolder (const NXString &stockFolder)
 Sets the default folder for stock components
Created in NX4.0.0. More...
 
void SetStockFolder (const char *stockFolder)
 Sets the default folder for stock components
Created in NX4.0.0. More...
 
void SetStockMode (NXOpen::Preferences::RoutingStock::StockModeFlag stockMode)
 Sets the stock creation mode
Created in NX4.0.0. More...
 
NXOpen::Preferences::RoutingStock::SpaceReservationModeFlag SpaceReservationMode ()
 Returns the space reservation creation mode
Created in NX7.5.2. More...
 
int SpaceReservationTranslucency ()
 Returns the desired translucnecy of the newly created Space Reservation Stock
Created in NX6.0.0. More...
 
NXString StockAnchor ()
 Returns the NXOpen::Routing::Anchor name associated with the stock preferences. More...
 
NXString StockFolder ()
 Returns the default folder for stock components
Created in NX4.0.0. More...
 
NXOpen::Preferences::RoutingStock::StockModeFlag StockMode ()
 Returns the stock creation mode
Created in NX4.0.0. More...
 
tag_t Tag () const
 Returns the tag of this object. More...
 

Detailed Description

The Preferences for Routing Stock objects.

These correspond to the values represented on the Preferences->Routing dialog, Stock property page.
To obtain an instance of this class, refer to NXOpen::Preferences::RoutingApplicationView

Created in NX4.0.0.

Member Enumeration Documentation

Describes the valid value for space reservation mode.

Enumerator
SpaceReservationModeFlagLegacySpaceReservation 

solid body in the work part, no component

SpaceReservationModeFlagSpaceReservationAsComponent 

component created with solid body in the component

Describes the valid value for stock mode.

Enumerator
StockModeFlagLegacyStock 

solid body in the work part, no component

StockModeFlagStockAsComponent 

component created with solid body in the component

Member Function Documentation

NXString NXOpen::Preferences::RoutingStock::CurrentTile ( )

Returns the current routing level/tile
Created in NX4.0.0.



License requirements : routing_base ("Routing Basic")

NXOpen::Routing::StockStyle NXOpen::Preferences::RoutingStock::DefaultStockStyle ( )

Returns the default stock style
Created in NX4.0.0.



License requirements : routing_base ("Routing Basic")

bool NXOpen::Preferences::RoutingStock::DeleteOverstock ( )

Returns the delete overstock flag during deletion of last stock covered by the overstock
Created in NX4.0.0.



License requirements : routing_base ("Routing Basic")

void NXOpen::Preferences::RoutingStock::GetDefaultStock ( NXOpen::Routing::CharacteristicList **  stockPart,
NXOpen::Routing::CharacteristicList **  dataCharx 
)

Returns the current default stock to assign when creating paths.


Created in NX4.0.0.

License requirements : routing_base ("Routing Basic")

Parameters
stockPartCharacteristic list used to find the appropriate NXOpen::Routing::StockData for building the stock. See Routing::StockDataCollection::CreateStockData .
dataCharxThe list of optional and required characteristics to apply to the new stock.
void NXOpen::Preferences::RoutingStock::GetPreferredFillerStock ( NXOpen::Routing::CharacteristicList **  stockPart,
NXOpen::Routing::CharacteristicList **  dataCharx 
)

Returns the preferred for creating filler stock.


Created in NX6.0.0.

License requirements : routing_base ("Routing Basic")

Parameters
stockPartCharacteristic list used to find the appropriate NXOpen::Routing::StockData for building the stock. See Routing::StockDataCollection::CreateStockData .
dataCharxThe list of optional and required characteristics to apply to the new stock.
void NXOpen::Preferences::RoutingStock::GetPreferredOverstock ( NXOpen::Routing::CharacteristicList **  stockPart,
NXOpen::Routing::CharacteristicList **  dataCharx 
)

Returns the preferred stock for creating overstock.


Created in NX6.0.0.

License requirements : routing_base ("Routing Basic")

Parameters
stockPartCharacteristic list used to find the appropriate NXOpen::Routing::StockData for building the stock. See Routing::StockDataCollection::CreateStockData .
dataCharxThe list of optional and required characteristics to apply to the new stock.
void NXOpen::Preferences::RoutingStock::GetPreferredSpaceReservation ( NXOpen::Routing::CharacteristicList **  stockPart,
NXOpen::Routing::CharacteristicList **  dataCharx 
)

Returns the preferred stock for creating space reservation
Created in NX6.0.0.



License requirements : routing_base ("Routing Basic")

Parameters
stockPartCharacteristic list used to find the appropriate NXOpen::Routing::StockData for building the stock. See Routing::StockDataCollection::CreateStockData .
dataCharxThe list of optional and required characteristics to apply to the new stock.
void NXOpen::Preferences::RoutingStock::SetCurrentTile ( const NXString tile)

Sets the current routing level/tile
Created in NX4.0.0.



License requirements : routing_base ("Routing Basic")

Parameters
tiletile
void NXOpen::Preferences::RoutingStock::SetCurrentTile ( const char *  tile)

Sets the current routing level/tile
Created in NX4.0.0.



License requirements : routing_base ("Routing Basic")

Parameters
tiletile
void NXOpen::Preferences::RoutingStock::SetDefaultStock ( NXOpen::Routing::CharacteristicList stockPart,
NXOpen::Routing::CharacteristicList dataCharx 
)

Sets the current default stock to assign when creating paths.


Created in NX4.0.0.

License requirements : routing_base ("Routing Basic")

Parameters
stockPartCharacteristic list used to find the appropriate NXOpen::Routing::StockData for building the stock. See Routing::StockDataCollection::CreateStockData .
dataCharxThe list of optional and required characteristics to apply to the new stock.
void NXOpen::Preferences::RoutingStock::SetDefaultStockStyle ( NXOpen::Routing::StockStyle  defaultStockStyle)

Sets the default stock style
Created in NX4.0.0.



License requirements : routing_base ("Routing Basic")

Parameters
defaultStockStyledefault stock style
void NXOpen::Preferences::RoutingStock::SetDeleteOverstock ( bool  deleteOverstock)

Sets the delete overstock flag during deletion of last stock covered by the overstock
Created in NX4.0.0.



License requirements : routing_base ("Routing Basic")

Parameters
deleteOverstockdelete overstock
void NXOpen::Preferences::RoutingStock::SetPreferredFillerStock ( NXOpen::Routing::CharacteristicList stockPart,
NXOpen::Routing::CharacteristicList dataCharx 
)

Sets the preferred stock for creating filler stock
Created in NX6.0.0.



License requirements : routing_base ("Routing Basic")

Parameters
stockPartCharacteristic list used to find the appropriate NXOpen::Routing::StockData for building the stock. See Routing::StockDataCollection::CreateStockData .
dataCharxThe list of optional and required characteristics to apply to the new stock.
void NXOpen::Preferences::RoutingStock::SetPreferredOverstock ( NXOpen::Routing::CharacteristicList stockPart,
NXOpen::Routing::CharacteristicList dataCharx 
)

Sets the preferred stock for creating overstock
Created in NX6.0.0.



License requirements : routing_base ("Routing Basic")

Parameters
stockPartCharacteristic list used to find the appropriate NXOpen::Routing::StockData for building the stock. See Routing::StockDataCollection::CreateStockData .
dataCharxThe list of optional and required characteristics to apply to the new stock.
void NXOpen::Preferences::RoutingStock::SetPreferredSpaceReservation ( NXOpen::Routing::CharacteristicList stockPart,
NXOpen::Routing::CharacteristicList dataCharx 
)

Sets the preferred stock for creating space Reservation
Created in NX6.0.0.



License requirements : routing_base ("Routing Basic")

Parameters
stockPartCharacteristic list used to find the appropriate NXOpen::Routing::StockData for building the stock. See Routing::StockDataCollection::CreateStockData .
dataCharxThe list of optional and required characteristics to apply to the new stock.
void NXOpen::Preferences::RoutingStock::SetSpaceReservationMode ( NXOpen::Preferences::RoutingStock::SpaceReservationModeFlag  spaceReservationMode)

Sets the space reservation creation mode
Created in NX7.5.2.



License requirements : routing_base ("Routing Basic")

Parameters
spaceReservationModespacereservationmode
void NXOpen::Preferences::RoutingStock::SetSpaceReservationTranslucency ( int  spaceReservationTranslucency)

Sets the desired translucnecy of the newly created Space Reservation Stock
Created in NX6.0.0.



License requirements : routing_base ("Routing Basic")

Parameters
spaceReservationTranslucencyspacereservationtranslucency
void NXOpen::Preferences::RoutingStock::SetStockAnchor ( const NXString anchorName)

Sets the NXOpen::Routing::Anchor name associated with the stock preferences.


Created in NX5.0.0.

License requirements : routing_base ("Routing Basic")

Parameters
anchorNameanchor name
void NXOpen::Preferences::RoutingStock::SetStockAnchor ( const char *  anchorName)

Sets the NXOpen::Routing::Anchor name associated with the stock preferences.


Created in NX5.0.0.

License requirements : routing_base ("Routing Basic")

Parameters
anchorNameanchor name
void NXOpen::Preferences::RoutingStock::SetStockFolder ( const NXString stockFolder)

Sets the default folder for stock components
Created in NX4.0.0.



License requirements : routing_base ("Routing Basic")

Parameters
stockFolderstock folder
void NXOpen::Preferences::RoutingStock::SetStockFolder ( const char *  stockFolder)

Sets the default folder for stock components
Created in NX4.0.0.



License requirements : routing_base ("Routing Basic")

Parameters
stockFolderstock folder
void NXOpen::Preferences::RoutingStock::SetStockMode ( NXOpen::Preferences::RoutingStock::StockModeFlag  stockMode)

Sets the stock creation mode
Created in NX4.0.0.



License requirements : routing_base ("Routing Basic")

Parameters
stockModestock mode
NXOpen::Preferences::RoutingStock::SpaceReservationModeFlag NXOpen::Preferences::RoutingStock::SpaceReservationMode ( )

Returns the space reservation creation mode
Created in NX7.5.2.



License requirements : routing_base ("Routing Basic")

int NXOpen::Preferences::RoutingStock::SpaceReservationTranslucency ( )

Returns the desired translucnecy of the newly created Space Reservation Stock
Created in NX6.0.0.



License requirements : routing_base ("Routing Basic")

NXString NXOpen::Preferences::RoutingStock::StockAnchor ( )

Returns the NXOpen::Routing::Anchor name associated with the stock preferences.


Created in NX5.0.0.

License requirements : routing_base ("Routing Basic")

NXString NXOpen::Preferences::RoutingStock::StockFolder ( )

Returns the default folder for stock components
Created in NX4.0.0.



License requirements : routing_base ("Routing Basic")

NXOpen::Preferences::RoutingStock::StockModeFlag NXOpen::Preferences::RoutingStock::StockMode ( )

Returns the stock creation mode
Created in NX4.0.0.



License requirements : routing_base ("Routing Basic")

tag_t NXOpen::Preferences::RoutingStock::Tag ( ) const

Returns the tag of this object.


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