I am trying to import a complex Solidworks CAD assembly into Simscape Multibody using the Link addon. The CAD model contains several Solidworks weldments (a single part file containing several bodies comprising the welded pieces) in addition to other Solidworks parts and subassemblies.
The addon successfully generates STEP and XML files from the geometry, and I am able to create a Simscape Multibody model using the "smimport" command. However, when I compile the model, the weldments do not render, and the following error message is generated for each of the weldments:
The parameter Geometry/File Name is a file that does not exist. Resolve this issue in order to simulate the model.
All the other "normal" parts (non-weldments) import and render successfully; i.e., the problem appears to be isolated to the weldments only.
I can work around this by manually modeling similar parts to replace the weldments, but this is time-consuming and error prone.
Is there a way to import Solidworks weldments successfully?