Comment importer fichier .XML de Solidworks dans Simscape ?

9 ビュー (過去 30 日間)
SENOCQ Vincent
SENOCQ Vincent 2024 年 7 月 19 日
回答済み: SENOCQ Vincent 2024 年 7 月 22 日
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

回答 (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!