The configuration
of the PARTsolutions interface menu and the interface toolbar occurs in the
CAD encompassing configuration file ifacecommon.cfg or the CAD
specific configuration file respectively in the block [UI].
The following entries can be used for a configuration:
[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
In order for a menu item or toolbar button to show up in the CAD system in the PARTsolutions menu/toolbar, at least the following three entries must be present:
By default,
the whole configuration is preconfigured in the configuration file
ifacecommon.cfg.
So that, if
desired, the menu of several parallel used CAD systems can be configured
differently, use exactly the same key in the CAD-specific configuration
files (if<cadname>.cfg). Entries
made there will overwrite the corresponding key in the common
configuration file (ifacecommon.cfg).
The structure is built by the entry "PARENT".
MN_execscript_PARENT=Extras
(Possibly not all functions are available or needed for your configuration)