Add-in Definition
The Settings window for the Add-in Definition node () contains settings for defining the name, presentation, production, and other fundamental properties of the add-in. When you are done and have defined the forms and methods that the add-in contains, click the Create Add-in button (). A Create Add-in window then opens where you can specify where the MPH file that contains the add-in should be stored on the file system. It can be saved in a shared drive for wider access.
To add an Add-in Definition node, right-click the root node in the Application Builder and then select Add-in Definition or click Add-in Definition in the Home ribbon. You can only add one Add-in Definition node, and if it already exists, clicking Add-in Definition then selects it.
The Add-in Definition node’s Settings window contains the following sections:
Add-in
Specify the filename for the add-in in the Filename field or click Browse () to browse for a file. The filename is the location of the add-in MPH file in the user-defined add-in library. This location can be on a shared network drive if you want to share the add-in with your colleagues.
Also, add a label for the add-in in the Label field. The label will be displayed in the user-defined Add-in Library.
The Unique identifier field contains an identifier text that identifies the add-in and should be unique for any COMSOL Multiphysics session. It is recommended that it is on the format <company name>.<Add-in name> (for example, my_company.my_add-in).
Protection
The password that you enter in the Editing password field will be applied to the created add-in and is different from the editing password that you can specify in the root node’s Settings window of the MPH file used to create the add-in.
Presentation
Here you can write a descriptive text for the add-in in the Description field. The description is displayed in the Add-in Library and as a tooltip when choosing among add-ins in the Developer ribbon.
You can also select an available or custom thumbnail. Choose an available thumbnail from the list, or click the Add Image to Library and Use Here button () to use a custom thumbnail image for the add-in. Click the Export button () to save the thumbnail image to a file. The selected thumbnail image appears under Preview.