|On this page…|
To export a CAD assembly:
In the menu bar of the CAD platform, click SimMechanics Link.
Click Export > SimMechanics <Generation>, where <Generation> identifies the desired SimMechanics™ generation.
In the dialog box, enter the file name and select a convenient file directory.
SimMechanics Link generates:
One XML import file.
The file contains the structure and parameters of the CAD assembly. During CAD import, SimMechanics uses the structure and parameters to autogenerate a SimMechanics model.
A set of STL files.
Each STL file specifies the 3-D surface geometry of one CAD part. The STL files are not required to generate the model, but they are required for visualization. If you import a model without the STL 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 SimMechanics Link could not translate into joints.
SimMechanics 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.
SimMechanics Link generates the XML file. You can import the file to generate a valid SimMechanics model, but the model may not accurately represent the original CAD assembly.
If SimMechanics Link cannot export one or more STL files, the error message identifies the CAD parts associated with the STL files.