NX Open C++ Reference Guide
|
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. | |
NXOpen::Routing::StockStyle | DefaultStockStyle () |
Returns the default stock style Created in NX4.0.0. | |
bool | DeleteOverstock () |
Returns the delete overstock flag during deletion of last stock covered by the overstock Created in NX4.0.0. | |
void | GetDefaultStock (NXOpen::Routing::CharacteristicList **stockPart, NXOpen::Routing::CharacteristicList **dataCharx) |
Returns the current default stock to assign when creating paths. | |
void | GetPreferredFillerStock (NXOpen::Routing::CharacteristicList **stockPart, NXOpen::Routing::CharacteristicList **dataCharx) |
Returns the preferred for creating filler stock. | |
void | GetPreferredOverstock (NXOpen::Routing::CharacteristicList **stockPart, NXOpen::Routing::CharacteristicList **dataCharx) |
Returns the preferred stock for creating overstock. | |
void | GetPreferredSpaceReservation (NXOpen::Routing::CharacteristicList **stockPart, NXOpen::Routing::CharacteristicList **dataCharx) |
Returns the preferred stock for creating space reservation Created in NX6.0.0. | |
void | SetCurrentTile (const NXString &tile) |
Sets the current routing level/tile Created in NX4.0.0. | |
void | SetCurrentTile (const char *tile) |
Sets the current routing level/tile Created in NX4.0.0. | |
void | SetDefaultStock (NXOpen::Routing::CharacteristicList *stockPart, NXOpen::Routing::CharacteristicList *dataCharx) |
Sets the current default stock to assign when creating paths. | |
void | SetDefaultStockStyle (NXOpen::Routing::StockStyle defaultStockStyle) |
Sets the default stock style Created in NX4.0.0. | |
void | SetDeleteOverstock (bool deleteOverstock) |
Sets the delete overstock flag during deletion of last stock covered by the overstock Created in NX4.0.0. | |
void | SetPreferredFillerStock (NXOpen::Routing::CharacteristicList *stockPart, NXOpen::Routing::CharacteristicList *dataCharx) |
Sets the preferred stock for creating filler stock Created in NX6.0.0. | |
void | SetPreferredOverstock (NXOpen::Routing::CharacteristicList *stockPart, NXOpen::Routing::CharacteristicList *dataCharx) |
Sets the preferred stock for creating overstock Created in NX6.0.0. | |
void | SetPreferredSpaceReservation (NXOpen::Routing::CharacteristicList *stockPart, NXOpen::Routing::CharacteristicList *dataCharx) |
Sets the preferred stock for creating space Reservation Created in NX6.0.0. | |
void | SetSpaceReservationMode (NXOpen::Preferences::RoutingStock::SpaceReservationModeFlag spaceReservationMode) |
Sets the space reservation creation mode Created in NX7.5.2. | |
void | SetSpaceReservationTranslucency (int spaceReservationTranslucency) |
Sets the desired translucnecy of the newly created Space Reservation Stock Created in NX6.0.0. | |
void | SetStockAnchor (const NXString &anchorName) |
Sets the Routing::Anchor name associated with the stock preferences. | |
void | SetStockAnchor (const char *anchorName) |
Sets the Routing::Anchor name associated with the stock preferences. | |
void | SetStockFolder (const NXString &stockFolder) |
Sets the default folder for stock components Created in NX4.0.0. | |
void | SetStockFolder (const char *stockFolder) |
Sets the default folder for stock components Created in NX4.0.0. | |
void | SetStockMode (NXOpen::Preferences::RoutingStock::StockModeFlag stockMode) |
Sets the stock creation mode Created in NX4.0.0. | |
NXOpen::Preferences::RoutingStock::SpaceReservationModeFlag | SpaceReservationMode () |
Returns the space reservation creation mode Created in NX7.5.2. | |
int | SpaceReservationTranslucency () |
Returns the desired translucnecy of the newly created Space Reservation Stock Created in NX6.0.0. | |
NXString | StockAnchor () |
Returns the Routing::Anchor name associated with the stock preferences. | |
NXString | StockFolder () |
Returns the default folder for stock components Created in NX4.0.0. | |
NXOpen::Preferences::RoutingStock::StockModeFlag | StockMode () |
Returns the stock creation mode Created in NX4.0.0. | |
tag_t | Tag () const |
Returns the tag of this object. | |
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 Preferences::RoutingApplicationView
Created in NX4.0.0.
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")
stockPart | Characteristic list used to find the appropriate Routing::StockData for building the stock. See Routing::StockDataCollection::CreateStockData . |
dataCharx | The 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")
stockPart | Characteristic list used to find the appropriate Routing::StockData for building the stock. See Routing::StockDataCollection::CreateStockData . |
dataCharx | The 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")
stockPart | Characteristic list used to find the appropriate Routing::StockData for building the stock. See Routing::StockDataCollection::CreateStockData . |
dataCharx | The 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")
stockPart | Characteristic list used to find the appropriate Routing::StockData for building the stock. See Routing::StockDataCollection::CreateStockData . |
dataCharx | The 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")
tile | tile |
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")
tile | tile |
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")
stockPart | Characteristic list used to find the appropriate Routing::StockData for building the stock. See Routing::StockDataCollection::CreateStockData . |
dataCharx | The 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")
defaultStockStyle | default 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")
deleteOverstock | delete 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")
stockPart | Characteristic list used to find the appropriate Routing::StockData for building the stock. See Routing::StockDataCollection::CreateStockData . |
dataCharx | The 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")
stockPart | Characteristic list used to find the appropriate Routing::StockData for building the stock. See Routing::StockDataCollection::CreateStockData . |
dataCharx | The 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")
stockPart | Characteristic list used to find the appropriate Routing::StockData for building the stock. See Routing::StockDataCollection::CreateStockData . |
dataCharx | The 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")
spaceReservationMode | spacereservationmode |
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")
spaceReservationTranslucency | spacereservationtranslucency |
void NXOpen::Preferences::RoutingStock::SetStockAnchor | ( | const NXString & | anchorName | ) |
Sets the Routing::Anchor name associated with the stock preferences.
Created in NX5.0.0.
License requirements : routing_base ("Routing Basic")
anchorName | anchor name |
void NXOpen::Preferences::RoutingStock::SetStockAnchor | ( | const char * | anchorName | ) |
Sets the Routing::Anchor name associated with the stock preferences.
Created in NX5.0.0.
License requirements : routing_base ("Routing Basic")
anchorName | anchor 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")
stockFolder | stock 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")
stockFolder | stock 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")
stockMode | stock 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 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.