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:
Right-click on the Scripted Object component and choose Export as Component from the menu.
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."
If desired, enter a password to prevent others from editing the script of the component and verify the password.
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:
Copy the file to the MCM folder of your Mathcad installation.
Double-click the MCM file to register it.
Start Mathcad and the customized component defined in the MCM file appears in the Component Wizard.
If you are using a customized component provided to you, you must also have the embedded control installed on your computer. If you experience errors inserting the customized component, you most likely do not have the embedded control. In this case, contact the provider of the customized component to obtain the control.