Install* the Type-Library

To communicate with SOLIDWORKS, we install a file we call the 'Type-Library'. The Type-Library is different for each SolidWorks release [Solidworks 2017,2018, 2019...]

We use a default Type Library, when we install MechDesigner, which may not be correct for your SolidWorks.

Thus, you may need to change the Type Library when you:

Run MechDesigner the first time, or
Install a new release of MechDesigner, or
Install and use a different release of SolidWorks, or
Switch between different releases of SolidWorks

You can install the necessary Type Library automatically, or manually.


Test for the active Type Library

First, to see which Type Library is installed now, use the Help menu > About  interface.

Start MechDesigner:

1.Click Help menu > About | Type Library tab

If the correct Type Library is installed, the two boxes 'SolidWorks Type Library' & 'Installed Version of SolidWorks' will show the same year and you will see the message 'All good to go'.

Type Library is correct and you are 'Good to go'

Type Library is correct and you are 'Good to go'

If the years are different, you must:

2.Do an Automatic Installation of the Type-Libraries

If the 'automatic installation' does not work, then:

2.Do a Manual Installation of the Type Libraries.

Automatic Installation

1.In SolidWorks, save at least one Part with the SolidWorks release with which you want to communicate.
2.Make sure you have an internet confection.
3.Right-click the MechDesigner application icon [in the Windows® Start menu or on your desktop] to show a contextual-menu.

In the contextual-menu, even if you think you have Administrator Rights:

4.Click 'Run as Administrator'
'Run as Administrator'.

'Run as Administrator'.

Wait a little longer than usual for MechDesigner to start.

5.Look again in the Help menu > About >Type-Libraries tab to see if you have the correct Type-Libraries are installed.
6.If you do not, do steps 1-4 again, but this time make sure that your Firewall or Virus Checker has not quarantined a file SW_TLB260.bpl.1.
7.If again you do not see the correct Type Library, and you are 'not good to go', then do the Manual Installation.

Manual Installation

Occasionally, the SolidWorks Type-Library file cannot be installed automatically. For example, your company policy will not give you Administrator Rights.

In this case, you can use the link below to download the Type-Library file, and then manually put the file in the correct place

Do all of these steps:

1.Run the SolidWorks release with which you want to communicate
2.Save at least one Part, then exit SolidWorks
3.Exit MechDesigner
4.COPY the Type-Library file that is in your MechDesigner installation.

It is the only file in the installation folder, which is typically: C:\Program Files\PSMotion\MD14 PRO64\SW_TLB2019_64


You need a copy of the Type Library because if Step 7 fails, you must put the original Type-Library file back into the original path.

The file to copy is, typically : SW_TLB230.bpl.1

For MD10 and earlier, the path is : C:/Program Files(x86)/PSMotion/MD10-PRO64/
For MD11 and later, the path is: C:/Program Files/PSMotion/MDxx-PRO64/SW_TLByyyy*_64/

* : yyyy is the year release of SolidWorks, for example, 2016.


4.Click the link below for the you SOLIDWORKS release and save the ZIP file.
5.Unzip the ZIP file to extract the Type-Library.bpl file
6.Copy & Paste the Type-Library.bpl file into the installation path - see step 4
7.Start MechDesigner

If you cannot run MechDesigner:

8.Put the copy of the original Type-Library file back into the installation path - see step 4
9.EMAIL us: sales at psmotion dot com

 

 

Tutorial and Reference Help Files for MechDesigner and MotionDesigner 13.2 + © Machine, Mechanism, Motion and Cam Design Software by PSMotion Ltd