NXOpen.UF.Route.SetStockStyle

Route.SetStockStyle()

Refer to UF_ROUTE_set_stock_style for documentation.

Signature: SetStockStyle(newStyle, numStocks, stockTags)

Parameters:
  • newStyle (int) – New setting for the stock style. May be set to: UF_ROUTE_STYLE_NONE, UF_ROUTE_STYLE_SIMP LE, UF_ROUTE_STYLE_DETAIL
  • numStocks (int) – Number of stock objects
  • stockTags (list of Tag) – Array of stock tags for which style has to be modified.

License requirements: UG/ROUTING or routing_advanced