In the SolidWorks® menu bar, select Simscape Multibody Link > Export > Simscape Multibody. The Simscape Multibody Link menu may appear inside the Tools menu.
Specify a convenient name and folder for the exported assembly.
The Simscape™ Multibody™ Link plug-in generates the following files:
XML multibody description file outlining the CAD parts in the exported assembly, their spatial relationships, and their material properties. During CAD import, Simscape Multibody software uses this data to generate an equivalent Simscape Multibody model.
Graphics files detailing the 3-D surface geometries of the CAD parts in the exported assembly. These files enable Simscape Multibody 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 Simscape Multibody Joint or Constraint blocks. In such cases, Simscape Multibody Link issues an error message listing:
Any CAD Constraints that Simscape Multibody Link could not export.
Any graphics files and the corresponding part names that Simscape Multibody 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.