NX Open C++ Reference Guide
Public Types | Public Member Functions
NXOpen::Routing::StockBrowserBuilder Class Reference

Builder class for stock browser . More...

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

List of all members.

Public Types

enum  TypeFilter {
  TypeFilterAll, TypeFilterStock, TypeFilterOverStock, TypeFilterFillerStock,
  TypeFilterSpaceReservation, TypeFilterFittingOverstock
}
 Filter type. More...

Public Member Functions

void DeleteStocks (const std::vector< NXOpen::NXObject * > &objects)
 Deletes the given Routing::Stock or Routing::FittingOverstock
Created in NX6.0.0.
NXOpen::Routing::StockBrowserBuilder::TypeFilter FilterType ()
 Returns the stock type filter which defines the type of stock
Created in NX6.0.0.
void GetSortedList (std::vector< NXOpen::NXObject * > &objects)
 Get the filtered stock object list
Created in NX6.0.0.
NXString NameFilter ()
 Returns the stock name filter which defines filter to name stock
Created in NX6.0.0.
void SetFilterType (NXOpen::Routing::StockBrowserBuilder::TypeFilter stockTypeFilter)
 Sets the stock type filter which defines the type of stock
Created in NX6.0.0.
void SetNameFilter (const NXString &stockNameFilter)
 Sets the stock name filter which defines filter to name stock
Created in NX6.0.0.
void SetSortedList (const std::vector< NXOpen::NXObject * > &objects)
 Set the filtered stock object list when filter type is changed.

Detailed Description

Builder class for stock browser .


To create a new instance of this class, use Routing::RouteManager::CreateStockBrowserBuilder
Default values.

Property Value

FilterType

All


Created in NX6.0.0.


Member Enumeration Documentation

Filter type.

Enumerator:
TypeFilterAll 

All Stocks.

TypeFilterStock 

Stock.

TypeFilterOverStock 

Overstock.

TypeFilterFillerStock 

Filler Stock.

TypeFilterSpaceReservation 

Space Reservation.

TypeFilterFittingOverstock 

fitting overstock


Member Function Documentation

void NXOpen::Routing::StockBrowserBuilder::DeleteStocks ( const std::vector< NXOpen::NXObject * > &  objects)

Deletes the given Routing::Stock or Routing::FittingOverstock
Created in NX6.0.0.



License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")

Parameters:
objectsFiltered Routing Stocks

Returns the stock type filter which defines the type of stock
Created in NX6.0.0.



License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")

Get the filtered stock object list
Created in NX6.0.0.



License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")

Parameters:
objectsFiltered Routing Stocks

Returns the stock name filter which defines filter to name stock
Created in NX6.0.0.



License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")

Sets the stock type filter which defines the type of stock
Created in NX6.0.0.



License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")

Parameters:
stockTypeFilterstocktypefilter

Sets the stock name filter which defines filter to name stock
Created in NX6.0.0.



License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")

Parameters:
stockNameFilterstocknamefilter
void NXOpen::Routing::StockBrowserBuilder::SetSortedList ( const std::vector< NXOpen::NXObject * > &  objects)

Set the filtered stock object list when filter type is changed.


Created in NX6.0.0.

License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")

Parameters:
objectsFiltered Routing Stocks

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