Simscape not showing assembly correctly in simulation
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I imported my assembly from PTC Creo into Simscape and went to run it, but the assembly looks weird; nowhere like my assembly.
A screenshot of the two is below. Any suggestions?

1 commentaire
Yifeng Tang
le 20 Août 2024
Feels like missing a step or two in the export/import process.
Maybe try it with a much smaller assembly first? Like two parts and one joint? That may help identify the issue.
Réponses (1)
Divyam
le 26 Août 2024
Modifié(e) : Divyam
le 27 Août 2024
Hi @Landon, MATLAB provides support for Creo up to version 9 as of MATLAB R2023b. If you are using Creo 10, then the assembly might get disfigured due to the support 'dll' not being available.
If you are using the other versions, the disfigurement of your assembly might be occurring due to the use of incorrect 'dlls'. The correct dlls for each version are listed below.
1. cl_proe2sm.dll supports Creo versions up to Creo 5.0
2. cl_proe2sm_6 supports Creo 6
3. cl_proe2sm_7 supports Creo 7
4. cl_proe2sm_8 supports Creo 8
5. cl_proe2sm_9 supports Creo 9
To check whether you are using the right 'dlls' first locate the 'protk.dat' registry file for your Creo application (commonly found in the root/startup folders of the Creo application) and check for this code in the file.
name Simscape Multibody Link
startup dll % The startup dll version should be correct wrt to the Creo version you are using
exec_file <Enter matlabroot\installation Path>\bin\win64\cl_proe2sm.dll
text_dir <Enter matlabroot\installation Path>\toolbox\physmod\smlink\cad_systems\proe\text
unicode_encoding false
end
If the issue persists despite using the correct 'dll' for the appropriate Creo application, refer to this documentation and install the Simscape Multibody Link Plugin again: https://www.mathworks.com/help/sm/ug/installing-and-linking-simmechanics-link-software.html
2 commentaires
Voir également
Catégories
En savoir plus sur Equations dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!