Comment importer fichier .XML de Solidworks dans Simscape ?

11 次查看(过去 30 天)
Bonjour,
L'option .XML n'est pas fournie dans ma version 2021 SP 3.0 de SW.
Comment faire pour importer un assemblage dans Simscpae Multibody ?
Merci par avance de vos réponses
  1 个评论
Emma
Emma 2025-8-27,9:10
La méthode la plus efficace consiste à utiliser le module complémentaire CAO fourni par Simscape Multibody pour exporter les données d'assemblage de votre logiciel de CAO vers un fichier XML (Extensible Markup Language). Ce fichier XML contiendra toutes les informations relatives aux pièces, corps, assemblages et contraintes de l'assemblage. Geometry Dash

请先登录,再进行评论。

回答(2 个)

Karan Singh
Karan Singh 2024-7-22
Hi Vincent,
Based on the translation, and please correct me if I am mistaken, it appears that your objective is to import an assembly into Simscape Multibody.
You can export the assembly from SolidWorks as a ".STEP" file and subsequently import it into Simscape Multibody. For guidance on exporting a STEP file from SolidWorks, please refer to the following page: https://help.solidworks.com/2023/English/SolidWorks/sldworks/hidd_export_options_step.htm
Here is the summary:-
  1. Go to File > Save As.
  2. In the "Save as type" dropdown menu, select STEP AP203/214 (*.step, *.stp).
Afterward, you can use the "smimport" function to import the ".STEP" file into Simscape Multibody.
Hope this helps!

SENOCQ Vincent
SENOCQ Vincent 2024-7-22
Karan,
first, thanks for reading my question... and for giving an answer. Then, sorry for my bad english (I'm frensh !).
I haven't issues when I import STEP files except I loose mass properties but I can write them after import.
My problem is when I want to import XML file... SW can't save as .XML but only .3DXML. I don't understand how install an addon to be able to save my assembly as assembly.XML.
It would be better to keep the mates between the parts. I try to do it with a simple example and I can't...
Do you have ideas ?

产品


版本

R2024a

Community Treasure Hunt

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

Start Hunting!