NXOpen.UF.Ui.CreateRibbon

Ui.CreateRibbon()

Refer to UF_UI_create_ribbon for documentation.

Signature: CreateRibbon(fileName, show)

Parameters:
  • fileName (str) – The .rtb/.gly/.grb file name without any hard coded path
  • show (int) – Initial visibility of the ribbon (1 = show; 0 = hide)
Returns:

ribbon id if creation is successful

Return type:

PointerWrapper for UF_UI_toolbar_id_s

License requirements: None