Simscape not showing assembly correctly in simulation

6 次查看(过去 30 天)
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 个评论
Yifeng Tang
Yifeng Tang 2024-8-20
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.

请先登录,再进行评论。

回答(1 个)

Divyam
Divyam 2024-8-26
编辑:Divyam 2024-8-27
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

类别

Help CenterFile Exchange 中查找有关 Simscape Multibody 的更多信息

产品


版本

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by