Add-in manager
Where AMS looks
- The folder: Plugins next to AMSPRO.exe.
- Every DLL file directly in Plugins is scanned, and every DLL file in subfolders one level deep (recommended: one folder per add-in, such as Plugins\Tower).
- Each add-in runs independently of the others. The log is in the ams-addin.log file inside the Plugins folder, and in Add-ins › Add-in report.
- Do not put copies of AMSPRO.exe or the program libraries next to the add-in file.
- After updating an add-in: Add-ins › Reload add-ins, without restarting AMS.
- Each add-in’s settings are saved in the AMS\AddIns folder inside the user’s application data folder (%APPDATA%).
The Add-ins menu
When the menu is available: the entire Add-ins menu, including Reload, Add-in report, opening the add-ins folder and each add-in’s commands, is disabled when no model is open. It becomes available when you open or create a model, and is disabled again when you close it, like the Edit, Define and Draw menus. Commands added by add-ins after a reload follow the same state. If you see the menu grayed out, open a model first.
Commands are grouped by each add-in’s category, together with the reload, report and open-add-ins-folder commands.
Tips for add-in authors
- Validate inputs before modifying the model.
- Group many additions into one operation, so they form a single Undo step.
- Long operations show progress and allow cancellation.
- An add-in does not run the analysis and does not deal with licensing.