Exporting and Registering Components |
Once you have created and customized a component (either a Scriptable Object or a Mathsoft Control), you can export it for reuse in another worksheet, saving both your script and any properties you may have set. An exported control can be inserted by choosing Insert > Component.
To export a scripted component:
The component is exported as an MCM file to the location you set and is automatically registered, so it shows up in the Insert Component dialog. MCM files can also be shared with other users with or without a Mathcad worksheet. To import an MCM file you receive from another user, double-click on the file to register it. We recommend that you save your MCM files to a common location, such as the mcm directory in your Mathcad installation. You will find that all the Mathsoft Controls are already saved there.
To remove an MCM file from your system:
In the Run dialog, add the following command-line arguments:
/u mcm\control.mcm
where control.mcm is the MCM file you want to delete; in this example, it is located in the mcm directory of your Mathcad installation. The "/u" removes information on the MCM file from the Windows Registry.