5.24.3.8.1. UI Callbacks

[Note]Note

Keys following the format "MN_XYZ_Number" no longer exist. In V12, the numbers were replaced with descriptive names. Please keep this in mind, especially when updating from V11 to V12.

The following entries can be used for a configuration:

  • MN_insert3d_DisplayText (Display Text)

  • MN_insert3d_HelpText (Help Text)

  • MN_insert3d_SmallIcon (small icon)

  • MN_insert3d_LargeIcon (large icon)

  • MN_insert3d_XLargeIcon (very large icon)

  • MN_insert3d_Callback (specific invocation of the menu item)

  • MN_insert3d_Environment (Declaration of the context in which the menu item should appear)

    • menu: The command is visible in the menu.

    • part: This command is visible for individual parts.

    • app (Application): The command is also visible even if no parts, assemblies, or drawings are open.

    • asm (assembly): This command is visible in assemblies.

    • draw (drawing): This command is visible when drawings are displayed.

    • toolbar: The command is visible in the toolbar.

Example:

Detail by Insert Model [Insert model]:

[UI]
MN_insert3d_DisplayText=Einfügen Modell
MN_insert3d_HelpText=Modell aus einer Bibliothek einfügen
MN_insert3d_SmallIcon=:/cadresource/icons/insert_model_3d_CAD_16x16.png
MN_insert3d_LargeIcon=:/cadresource/icons/insert_model_3d_CAD_24x24.png
MN_insert3d_XLargeIcon=:/cadresource/icons/insert_model_3d_CAD_32x32.png
MN_insert3d_Callback=?_CALLBACK_COMMAND("default_insert")
MN_insert3d_Environment=menu,part,app,asm,draw,toolbar

For more details, see " Section 3.2.2, “Design of 3Dfindit interface menu and toolbar ”."