Saving and Redistributing Components

Once you have scripted an object to your liking, you can save it as a customized component for future use. The scripted object is then saved as an MCM file and registered, making it available every time you run Mathcad. MCM files can be redistributed as well, allowing other Mathcad users to use the component in their worksheets.

Saving Scripted Objects as customized components

To save a Scripted Object as a customized component:

  1. Right-click on the Scripted Object component and choose Export as Component from the menu.

  2. Specify the name of the component as you would like it to appear on the Insert Component list and provide a file name. Click "Next."

  3. If desired, enter a password to prevent others from editing the script of the component and verify the password.

  4. Click "Finish" to save the component.

Once you have exported your component, which saves the component information in an MCM file, it automatically becomes available on your system. The component appears in the Component Wizard.

Using custom components you have received

To start using a component defined in an MCM file you have received:

  1. Copy the file to the MCM folder of your Mathcad installation.

  2. Double-click the MCM file to register it.

  3. Start Mathcad and the customized component defined in the MCM file appears in the Component Wizard.

Note:

Related Topics