NXOpen .NET Reference
12.0.0
|
Represents a collection of NXOpen.Routing.StockData objects. More...
Public Member Functions | |
NXOpen.Routing.StockData[] | ToArray () |
Returns an array of NXOpen.Routing.StockData objects. More... | |
unsafe NXOpen.Routing.StockData | CreateStockData (NXOpen.Routing.CharacteristicList values) |
Creates (or finds an existing NXOpen.Routing.StockData ) object in the work part that has the characteristics specified by the input list of characteristic values. More... | |
unsafe NXOpen.Routing.StockData | CreateStockData () |
Creates a new stock data in the work part. More... | |
unsafe void | RemoveUnusedStockData () |
Logs for deletion any NXOpen.Routing.StockData objects in the input part not referenced by any NXOpen.Routing.Stock , NXOpen.Routing.Wire and NXOpen.Routing.CrossSection not referenced by any NXOpen.Routing.StockData . More... | |
Protected Member Functions | |
override int | EnumerateMoveNext (ref Tag currentTag, byte[] state) |
Advances the enumerator to the next element of the collection. More... | |
Properties | |
Tag | Tag [get] |
Returns the tag of this object. More... | |
Represents a collection of NXOpen.Routing.StockData objects.
To obtain an instance of this class, refer to NXOpen.Routing.RouteManager
Created in NX4.0.0
unsafe NXOpen.Routing.StockData NXOpen.Routing.StockDataCollection.CreateStockData | ( | NXOpen.Routing.CharacteristicList | values | ) |
Creates (or finds an existing NXOpen.Routing.StockData ) object in the work part that has the characteristics specified by the input list of characteristic values.
Creates the stock by copying the stock defined in the qualified part to the work part. The qualified stock part is specified by the PART_NAME or MEMBER_NAME in the list. If there is no PART_NAME or MEMBER_NAME a stock data, the OD or WIDTH/HEIGHT values are used to generate either a circular or rectangular stock data.
Use this routine to create stock data's in the work part in order to create stocks. Use Routing.RouteManager.PartTypeFlag to create a qualified stock data part.
Example Use:
Created in NX4.0.0
License requirements: routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")
values |
unsafe NXOpen.Routing.StockData NXOpen.Routing.StockDataCollection.CreateStockData | ( | ) |
Creates a new stock data in the work part.
The new stock data contains all of the NXOpen.Routing.CrossSection and NXOpen.Routing.Anchor objects in the work part. After calling this routine call Routing.RouteManager.PartTypeFlag to NXOpen.Routing.RouteManager.PartType.Stock , NXOpen.Routing.RouteManager.PartType.Overstock , or NXOpen.Routing.RouteManager.PartType.Filler to properly qualify this as a stock definition part.
Created in NX4.0.0
License requirements: routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")
|
protected |
Advances the enumerator to the next element of the collection.
unsafe void NXOpen.Routing.StockDataCollection.RemoveUnusedStockData | ( | ) |
Logs for deletion any NXOpen.Routing.StockData objects in the input part not referenced by any NXOpen.Routing.Stock , NXOpen.Routing.Wire and NXOpen.Routing.CrossSection not referenced by any NXOpen.Routing.StockData .
Created in NX5.0.0
License requirements: routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")
NXOpen.Routing.StockData [] NXOpen.Routing.StockDataCollection.ToArray | ( | ) |
Returns an array of NXOpen.Routing.StockData objects.
|
get |
Returns the tag of this object.