Cannot update visualization,File Solid

조회 수: 53 (최근 30일)
Daniel Pacek
Daniel Pacek 2020년 4월 25일
댓글: Hariharan 2024년 4월 8일 8:23
I am trying to import .prt geometry from Siemens NX into File Solid. i already tried to remane file and coverted file to .STEP and .jt , but it did not help.When i am updating vizualization it gives error:
The parameter File Name is an invalid file. Error reading file
  댓글 수: 2
Bogdan Chiritoiu
Bogdan Chiritoiu 2022년 11월 17일
Hello,
I have ran into the same problem. Did you manage to fix this issue?
Daniel Pacek
Daniel Pacek 2022년 11월 18일
Hello,
i just converted file to all file types supportted by SIMULINK and try each one of them. One of them was working. It was quite a long time ago , so i dont remember which one it was. Unfortunatelly i do not have better solution.

댓글을 달려면 로그인하십시오.

답변 (2개)

J Chen
J Chen 2020년 4월 30일
Seems like SS MB should be able to import Unigraphics NX and STEP files https://www.mathworks.com/help/physmod/sm/ref/filesolid.html
"Among the supported formats are those native to CATIA (V4, V5, and V6), Creo, Inventor, Unigraphics NX, Solid Edge, SolidWorks, and Parasolid (all CAD applications common in industry and academia). These include CATPART, PRT, IPT, SLDPRT, and X_T (and its binary version, X_B). Other valid formats, not associated with a specific application but common in 3-D modeling, include SAT (often referred to as ACIS), JT, STL, and STEP."

Hariharan
Hariharan 2024년 4월 8일 8:22
Hi Daniel, You tried to open an NX prt file in the File Solid block and encountered the error that "The parameter File Name is an invalid file. Error reading file".
Though your original question is old, here's an answer:
The file solid block can read NX files as mentioned in the answer above. Here's a screenshot of a prt file imported in R2020a.
A part failing to be imported could be due to a few reasons, including:
  1. The NX file version is of a more recent version than supported by File Solid.
  2. An error occurred in the file import process.
  3. The CAD file itself has issues, or is corrupt.
If the issue is due to the NX file being of a later version, then you can try to export to another format such as STEP or stl, and then try importing. If the file import succeeds now then the NX import needs further investigation, so you could
  1. share the file if possible here.
  2. If not shareable here, raise an issue with technical support at https://in.mathworks.com/support/contact_us.html
If import fails after conversion as well, it may indicate an issue with the file or the import process. In this case too, the file is needed to investigate further.
As of R2023b, the following NX versions are supported - refer Solid with properties derived from CAD file - MATLAB - MathWorks India
"V11.0 to NX 18.0, NX to NX12, NX 1847 Series to NX 1980 Series"
  댓글 수: 1
Hariharan
Hariharan 2024년 4월 8일 8:23
@Bogdan Chiritoiu, the above answer is applicable to your question as well.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Simscape Multibody에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by