CAD model updates and information
4 views (last 30 days)
Show older comments
A on 22 Mar 2022
Answered: Steve Miller on 26 Nov 2022
There are two questions.
The model created in Inventor was converted to a Simscape Multibody model.
Subsequently, we found some modifications in the Inventor model, which we corrected. Only the geometry of the parts was modified, not the positions of the joints.
We exported the Inventor model and updated the XML and STEP files. No import was performed.
Only exported, updated the STEP file, and was able to update the parts in the Simscape Multibody model to the modified parts. In this case, are the masses, materials, etc. of the parts also updated?
What information in the CAD file is contained in the XML file, the STEP file, and the M file?
Steve Miller on 26 Nov 2022
The process you followed should work fine. You need to make sure the new STEP files are being used by your originally imported Simscape Multibody model, and you should make sure the data file which is produced is also being used. As long as the file names are unchanged and you overwrite the original STEP and data files, then the .slx file will use that new information.
The Simscape Multibody model, once created, refers to the STEP files produced by the export process and has parameter values that refer to MATLAB variables created by the block parameter file. The second export you performed updates both of those files. You would only need to re-import the XML file (and thus create a new .slx file) if you changed the structure of your model, such as adding/removing parts or adding/removing/changing joint connections.
Find more on Model Import in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!