Abaqus/CAE modules and plug-ins

By default, a plug-in appears in all Abaqus/CAE modules. However, you can use the applicableModules argument of the registration commands to specify individual modules in which a plug-in is available. If a plug-in is not applicable to the current module, its menu item will be hidden in the Plug-ins menu. For example, if you specify that a plug-in is available only in the Part module, you will not see that menu item under the Plug-ins menu unless you are in the Part module. The following registration command makes the plug-in available in only the Part and Assembly modules:

toolset.registerKernelMenuButton(
    buttonText='Print Materials',
    moduleName='myUtils', functionName='printMaterials()',
    applicableModules=('Part','Assembly'))
Abaqus/CAE uses similar functionality to hide items in the Tools menu as you move between modules. For a full description of the arguments to the kernel and GUI registration commands, see Will link to ker-obj-plg-pyc.