Installation Guide

Prerequisites

Prerequisite for installing Moxie

Prerequisite Description
No Magic modeling tool One of the following No Magic modeling tools is required:
  • Cameo Enterprise Architecture 19.0 SP4 or 2021x Refresh1
  • Cameo Systems Modeler 19.0 SP4 or 2021x Refresh1
  • MagicDraw 19.0 SP4 or 2021x Refresh1

If your No Magic modeling tool is installed in a default location (e.g., C:\Program Files\Cameo Enterprise Architecture), installing the Moxie plugin requires administrator credentials.

Prerequisites for running Moxie

Prerequisite Description
Moxie License A Moxie license is required to run any Moxie simulations.
Ansys License Manager The Ansys License Manager must be running and accessible via your network, and it must have your Moxie license installed. You also need both the port number (1055 by default) for the Ansys License Manager and the hostname of the machine running it.
No Magic plugins Both of the following plugins to No Magic modeling tools are required:
  • Cameo Simulation Toolkit (CST) 19.0 SP4 or 2021x Refresh1
  • SysML Plugin 19.0 SP4 or 2021x Refresh1
Some No Magic modeling tools already include one or both of these plugins. Check the following list in order to determine which plugins you need to install manually.
  • Cameo Enterprise Architecture includes the SysML Plugin, so you need to manually install CST.
  • Cameo Systems Modeler Enterprise includes both the SysML Plugin and CST, so you do not need to manually install any additional plugins.
  • Cameo Systems Modeler Architect includes the SysML Plugin, so you need to manually install CST.
  • MagicDraw does not include either plugin, so you need to manually install both the SysML Plugin and CST.
STK 12 (optional) STK 12 is required to run simulations that use STK. You may need specialized capabilities within STK depending on the features that you use in your scenarios.

Prerequisites for developing delegates for Moxie

Prerequisite Description
Java Development Kit The Java Development Kit (JDK) is required for custom delegate development. You should use the JDK version corresponding to the Java Runtime Environment (JRE) version used by your No Magic modeling tool. You can find this in your No Magic modeling tool's main menu, under Help > About > Environment > Java virtual machine.
Gradle 5.6+ (optional) A build tool is required for custom delegate development. Gradle is recommended, but you can build delegate modules using any Java build tool you prefer. If you choose to use Gradle, you need Gradle 5.6 or newer. A sample Gradle build script is included in the Moxie installation at \samples\build\build.gradle. For more information, see the README.txt file in the same directory.
Java IDE (optional) A Java Integrated Development Environment (IDE) such as IntelliJ IDEA or Eclipse is recommended for custom delegate development.

Installing Moxie 1.6.0

Install the Moxie files

  1. In the Moxie installation media, open the Moxie_v1.6.0 folder and run setup.exe.
  2. On the Welcome page, click Next >.
  3. On the License Agreement page, select whether or not you accept the license agreement and click Next >.
  4. On the Install Type page, select whether to install Moxie for all users or just yourself and click Next >.

    Installing Moxie for all users requires administrator credentials.

  5. On the Destination Folder page, specify where to install the Moxie files and click Next >.
  6. On the Ready to Install page, click Install.
  7. On the Completed page, select whether or not to open the Moxie help, the client licensing settings, or the installer log and click Finish.

Install the Moxie plugin

  1. Open your No Magic modeling tool and select Help > Resource/Plugin Manager.
  2. Click Import at the bottom of the window.
  3. Browse to the \plugin directory in the Moxie files (e.g., C:\Users\<username>\Documents\Moxie\plugin).
  4. Select the com.agi.moxie-<version>.zip that corresponds to your modeling tool version and click Open.

    If your No Magic modeling tool is installed in a default location (e.g., C:\Program Files\Cameo Enterprise Architecture), this requires administrator credentials.

  5. Click OK on the verification dialog box. You should now see the Moxie plugin listed in gold.
  6. Close the Resource/Plugin Manager and your modeling tool.

Configure the client licensing settings

If you do not have access to a network license server with the Ansys License Manager already running with a Moxie license, then Install the Ansys License Manager on your local machine before continuing.

  1. Open the Moxie Client Licensing Settings via the Windows Start menu or Taskbar search box.

    If you installed Moxie for all users, you must open the settings as an administrator (right-click it and select Run as administrator, entering your administrator credentials when prompted).

  2. If you do not see the Port and Server text boxes, then select License Servers > FlexNet Publisher in the left side column, and if necessary, click the + button.
  3. In the Port text box, enter the port for the Ansys License Manger (1055 by default).
  4. In the Server 1 text box, enter the hostname of the machine running the Ansys License Manager.
  5. Click the Test button to verify your settings.
  6. Click the Save button and close the settings utility.
  7. (Optional) Restart your No Magic modeling tool and select Moxie > About to verify your Moxie license.

    Figure A1: The Moxie menu

(Optional) Configure the delegate module home

  1. In your No Magic modeling tool, select Options > Environment.
  2. Select Moxie from the left pane of the window.
  3. Click the cell to the right of DelegateModuleHomePath, and then click the ... button in the right corner of the cell.
  4. Browse to or create the folder that you will install your delegate modules to (e.g., C:\Moxie\DelegateHome). Select the folder and click Open then OK.

Troubleshooting

Please refer to the Troubleshooting page if you have any issues with installing Moxie.

Uninstalling Moxie

If you installed Moxie in a way that required administrator credentials, then uninstalling Moxie also requires administrator credentials.

Uninstall the Moxie plugin

  1. Open your No Magic modeling tool and select Help > Resource/Plugin Manager.
  2. In the Resource/Plugin Manager, select the Moxie checkbox.
  3. Click Remove and then OK on the confirmation dialog box.
  4. Restart your No Magic modeling tool. Enter your administrator credentials if prompted.

Uninstall the Moxie files (version 1.3.0 or later)

  1. Open a Windows Control Panel via the Windows Start menu or Taskbar search box.
  2. Select Uninstall a program.
  3. Double-click Moxie to uninstall it. Click Yes if prompted, and enter your administrator credentials if prompted.
  4. Close the Control Panel.

Uninstall the Moxie files (version 1.2.0 or 1.1.0)

  1. Open a Windows PowerShell console via the Windows Start menu or Taskbar search box.
  2. Run the following commands in the PowerShell console, replacing the path to the C:\Moxie\Moxie_v1.2.0\installer\ directory as necessary and entering your administrator credentials when prompted.
    Set-Location C:\Moxie\Moxie_v1.2.0\installer\
    Set-ExecutionPolicy AllSigned -Scope Process
    .\Remove-Moxie.ps1
  3. After the script completes, read through the output to confirm that there were no errors and close PowerShell.

Installing the Ansys License Manager

Installing or running the Ansys License Manager requires administrator credentials.

Install the Ansys License Manager

  1. In the Moxie installation media, open the AnsysLicenseManager\winx64 folder and then right-click setup.exe and select Run as administrator, entering your administrator credentials when prompted. (Use the AnsysLicenseManager\linx64 installer for Linux.)
  2. In the Ansys Installation Launcher, select Install the Ansys License Manager.
  3. On the License Manager Shutdown dialog box, click OK.
  4. On the License Agreement page, select whether or not you agree to the license agreement and click Next >.
  5. On the Installation Directory page, specify where to install the Ansys License Manager and click Next >.
  6. On the Product Selection page, click Next >.
  7. On the Review page, click Next > to start the installation.
  8. When the installation completes, click Next >.
  9. Leave the Launch License Management Center upon exiting checkbox selected and click Exit.
  10. Back in the Ansys Installation Launcher, click Exit.

Install your Moxie license

  1. If the ANSYS License Management Center (Ansys License Manager) is not currently open, then open it via the Windows Start menu or Taskbar search box, entering your administrator credentials when prompted.
  2. Under License File Options, select Add a License File and click BROWSE.
  3. Browse to and select your Moxie license file and click Open.
  4. On the Add a License File dialog box, click INSTALL LICENSE FILE.
  5. Also under License File Options, select View FlexNet Licenses.
  6. Note the hostname and port number from the first line of the license (SERVER <hostname> <hostid> <port>). You will need these when configuring the client licensing settings.
  7. (Optional) Under Home, select View Status/Start/Stop License Manager to verify that the license manager is running.
  8. Close the Ansys License Manager

Troubleshooting

Please refer to the Troubleshooting help topic if you have any issues with installing the Ansys License Manager.