Author Topic: error: Automation Error. File system error  (Read 957 times)

0 Members and 1 Guest are viewing this topic.

Sam

  • Bull Frog
  • Posts: 201
error: Automation Error. File system error
« on: April 02, 2016, 03:08:20 AM »
dear all,

flie load create layer but error are comes
Quote
error: Automation Error. File system error
Every time we waste electricity, we put our planet's future in the dark. Let's turn around our attiude and start saving power and our planet, before it's too late
http://www.theswamp.org/donate.html

Andrea

  • Water Moccasin
  • Posts: 2372
Re: error: Automation Error. File system error
« Reply #1 on: April 04, 2016, 05:07:11 PM »
Code: [Select]
(vla-load
   (vla-Get-Linetypes doc) (nth 2 x) "Metric_iso.lin")

it seem that it can not found the linetype or the .lin file.
check your setting. or put a condition (if (findfile ....
Keep smile...

ChrisCarlson

  • Guest
Re: error: Automation Error. File system error
« Reply #2 on: April 05, 2016, 07:59:24 AM »
Anytime you are reading a file you should wrap the read in an if/cond statement. Also check your support path to make sure Metric_iso.lin is in a directory AutoCAD parses.