To export a CAD assembly:
In the menu bar of the CAD platform, click Tools.
Click Simscape Multibody Link > Export.
Click Simscape Multibody or Simscape Multibody First Generation.
Select Simscape Multibody First Generation to export in a format compatible with the legacy Simscape™ Multibody™ First Generation software.
In the dialog box, enter the file name and select a convenient file directory.
Simscape Multibody Link generates:
One XML import file.
The file contains the structure and parameters of the CAD assembly. During CAD import, Simscape Multibody uses the structure and parameters to autogenerate a Simscape Multibody model.
A set of geometry files in STEP or STL format.
Each geometry file specifies the 3-D surface geometry of one CAD part. The geometry files are not required to generate the model, but they are required for visualization. If you import a model without the geometry files, during model update and simulation Mechanics Explorer displays a blank screen.
In the event that a CAD export error occurs:
A dialog box displays an error message. The message identifies the CAD constraints that Simscape Multibody Link could not translate into joints.
Simscape Multibody Link generates an error log file. Refer to the log for more information about the CAD export error. The error message identifies the name and location of an error log file.
Simscape Multibody Link generates the XML file. You can import the file to generate a valid Simscape Multibody model, but the model may not accurately represent the original CAD assembly.
If Simscape Multibody Link cannot export one or more geometry files, the error message identifies the CAD parts associated with the geometry files.