Comment importer fichier .XML de Solidworks dans Simscape ?

조회 수: 14 (최근 30일)
SENOCQ Vincent
SENOCQ Vincent 2024년 7월 19일
댓글: Emma 2025년 8월 27일
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일
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!