NXOpen.UF.Route.LoadStockData

Route.LoadStockData()

Refer to UF_ROUTE_load_stock_data for documentation.

Signature: LoadStockData(partName, memberName, stockStyle)

Parameters:
  • partName (str) – Name of the stock part family.
  • memberName (str) – Name of the member part in the stock part family or NULL if part_name is not a Part Family.
  • stockStyle (int) – Stock style can have value of UF_ROUTE_STYLE_NONE UF_ROUTE_STYLE_SIMPLE or UF_ROUTE_STYLE_DETAIL
Returns:

A Tuple

Return type:

A tuple consisting of (stockDataTag,anchorTag,crossTag)

stockDataTag(Tag): Object Identifier of the loaded stock_data.

anchorTag(Tag): Object Identifier of the anchor of the stock.

crossTag(Tag): Object Identifier of the cross_section of the stock.

License requirements: UG/ROUTING or routing_advanced