Simscape not showing assembly correctly in simulation

1 Ansicht (letzte 30 Tage)
Landon
Landon am 15 Aug. 2024
Kommentiert: Divyam am 15 Jan. 2025
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 Kommentar
Yifeng Tang
Yifeng Tang am 20 Aug. 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.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Divyam
Divyam am 26 Aug. 2024
Bearbeitet: Divyam am 27 Aug. 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 Kommentare
Markus
Markus am 14 Jan. 2025
is it anytime soon planned to support Creo 10 as well?
Kind Regards
Markus
Divyam
Divyam am 15 Jan. 2025
Hi @Markus, you would need to refer to the release notes or any other official communication by MathWorks regarding this information. As of now, I can't find any details about a plan to support Creo 10 in a future release.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Equations finden Sie in Help Center und File Exchange

Produkte


Version

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by