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 (concrete call of menu items)
MN_insert3d_Environment (declaration of the context in which the menu item should be displayed)
menu: The command is visible in the menu.
part: The command is visible with single parts.
app (application): The command is visible even without opened parts, assemblies or drawings.
asm (assembly): The command is visible with assemblies.
draw (drawing): The command is visible with drawings.
toolbar: The command is visible in the toolbar.
Example:
Excerpt from
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
Details on this can be found under Section 2.2.2, “Configuring
PARTsolutions interface menu and toolbar
”.