NXOpen.UF.Ui.CreateUsertool

Ui.CreateUsertool()

Refer to UF_UI_create_usertool for documentation.

Signature: CreateUsertool(toolNum, filename, mapFlag)

Parameters:
  • toolNum (int) – Number of tool to load
  • filename (str) – Pointer to tool definition file specification name (132 char max)
  • mapFlag (bool) – String defined flag: UF_UI_SHOW = Display tool UF_UI_HIDE = Do not display tool
Returns:

Syntax error flag: TRUE = Syntax error FALSE = No syntax error for file read

Return type:

bool

License requirements: None