Problem with exporting Assemblies in Creo Parametric with Simscape Multibody Link

22 views (last 30 days)
I am having the exact same problem as the the user in this post (https://www.mathworks.com/matlabcentral/answers/856140-problem-with-exporting-assemblies-in-creo-parametric-7-0-with-simscape-multibody-link?s_tid=srchtitle).
I followed all of the steps he did and I get the error message, "An error has occured while exporting the current assembly to XML file", when I try to export my assembly in CREO using simscape multibody link. I am using MATLAB 2020b and CREO parametric educational edition 7.0.2.0. I checked and checked the paths and everything seems to be in order, I also tried the solution the user found of making sure to assign materials to all of my parts. I will share the creo assembly for reference below (I cannot share the results of the export as the .xml file format is not supported).

Answers (1)

Steve Miller
Steve Miller on 2 Dec 2022
Hi Nathan,
I have tried to open your model for testing. Unfortunately, I cannot open models created in the student version (I have the commercial version, which cannot open files created in the student version), so I cannot narrow down your problem by testing it within Creo.
I checked your parts by reading them directly using the File Solid block in Simscape Multibody, and they all had an enclosed volume where the mass and inertia could be calculated if I provided a specified density. As you noted, others have succeeded in exporting from Creo student version using Simscape Multibody Link. If you have everything configured correctly, the issue must be within the part or assembly definition. This MATLAB Answers Post indicates his error message was caused by a missing material specification, which you say you have checked.
Options:
  1. Try exporting an example Creo assembly. I tested my installation by exporting ptc_manikin.asm, an example supplied by Creo in the commercial version. You could also download one from GrabCAD for testing. If this works, you can be sure the issue lies with your part or assembly definition.
  2. If any files were produced when you exported, zip them up and attach them to this post. There may be a hint there as to what failed.
  3. Try deleting one part at a time and re-exporting. You may figure out which part is causing the problem.
  4. If all else fails, you can use the File Solid block in Simscape Multibody and assemble your Creo parts (the .prt files) within Simscape Multibody. This will ensure you have perfect definitions of joints and constraints, and any edits you make to the parts will update automatically within your Simscape Multibody model as the model will reference the CAD parts directly (no export step needed).
--Steve

Products


Release

R2020b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!