Skip to main content
1-Visitor
April 15, 2016
Solved

How do you import a table in the Function Definition dialog box within Mechanica or the Simulate module?

  • April 15, 2016
  • 1 reply
  • 2269 views

In my simulation, I'm trying to import a table in the Function Definition dialog box. What file types/formats are supported? I've tried CSV, XLS, XLSX, TXT but none of them work. The only error message I receive is "Error reading the file."


This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.
Best answer by ehaenen

Hi Drew

A .txt file, made in notepad should do the trick

use a space or a tab between the x and y values as in the attached example

table.JPG

Good luck

Erik

1 reply

ehaenen1-VisitorAnswer
1-Visitor
April 15, 2016

Hi Drew

A .txt file, made in notepad should do the trick

use a space or a tab between the x and y values as in the attached example

table.JPG

Good luck

Erik

1-Visitor
April 18, 2016

Thank you so much!