In the SolidWorks® menu bar, select SimMechanics Link > Export. The SimMechanics Link menu may appear inside the Tools menu.
Select the SimMechanics™ generation you want to translate your CAD assembly into.
Specify a convenient name and folder for the exported assembly.
The SimMechanics Link plug-in generates the following files:
XML data file outlining the CAD parts in the exported assembly, their spatial relationships, and their material properties. During CAD import, SimMechanics software uses this data to generate an equivalent SimMechanics model.
Graphics files detailing the 3-D surface geometries of the CAD parts in the exported assembly. These files enable SimMechanics software to render the various CAD parts in its visualization utility, Mechanics Explorer. The graphics files can be in STEP or STL format.
Some CAD constraint sets may not translate into equivalent SimMechanics Joint or Constraint blocks. In such cases, SimMechanics Link issues an error message listing:
Any CAD Constraints that SimMechanics Link could not export.
Any graphics files and the corresponding part names that SimMechanics Link could not export.
The error message includes the name of an error log file. Open this file for more information about the CAD export error.