Author Topic: Layer Creator : Old lisp don't work  (Read 6728 times)

0 Members and 1 Guest are viewing this topic.

Atwist

  • Guest
Layer Creator : Old lisp don't work
« on: March 21, 2011, 11:15:12 AM »
I would like to use the following lisp from Tim Spangler but I get an error message.
Can anyone see what is going on.

Error ***Program Error: Bad Argument Type: consp nil  ****cancel*

« Last Edit: January 05, 2012, 10:24:21 PM by CAB »

Lee Mac

  • Seagull
  • Posts: 12914
  • London, England
Re: Old lisp don't work
« Reply #1 on: March 21, 2011, 11:18:08 AM »
Perhaps you can identify the source of the error by following this tutorial:

http://lee-mac.com/debugvlide.html

Atwist

  • Guest
Re: Old lisp don't work
« Reply #2 on: March 21, 2011, 11:37:07 AM »
Thanks Lee

But my knowledge of lisp and DCL is very small. :cry:

Lee Mac

  • Seagull
  • Posts: 12914
  • London, England
Re: Old lisp don't work
« Reply #3 on: March 21, 2011, 11:48:43 AM »
But my knowledge of lisp and DCL is very small. :cry:

Now's your chance to expand it  :-)

Atwist

  • Guest
Re: Old lisp don't work
« Reply #4 on: March 21, 2011, 12:11:48 PM »
Lee

I've tried it through your lesson, but what I get is an error sound and only that.
And Acad is down.

TimSpangler

  • Water Moccasin
  • Posts: 2010
  • CAD Naked!!
Re: Old lisp don't work
« Reply #5 on: March 21, 2011, 12:45:01 PM »
Try this one...
ACA 2015 - Windows 7 Pro
All Comments and Content by TimSpangler, Copyright © 2016

Atwist

  • Guest
Re: Old lisp don't work
« Reply #6 on: March 21, 2011, 12:58:14 PM »
Hello Tim

Thanks for your update.

I've tried this but get an error

Atwist

  • Guest
Re: Old lisp don't work
« Reply #7 on: March 21, 2011, 01:23:26 PM »
Tim

My mistake :roll:

've Found the problem

The layer file folder was not in the autocad directory

Atwist

  • Guest
Re: Old lisp don't work
« Reply #8 on: March 21, 2011, 02:42:07 PM »
Tim

It works very well thanks again for sharing :laugh:

TimSpangler

  • Water Moccasin
  • Posts: 2010
  • CAD Naked!!
Re: Old lisp don't work
« Reply #9 on: March 21, 2011, 03:14:41 PM »
You're very welcome!
ACA 2015 - Windows 7 Pro
All Comments and Content by TimSpangler, Copyright © 2016

Sam

  • Bull Frog
  • Posts: 201
Re: Old lisp don't work
« Reply #10 on: March 22, 2011, 06:51:19 AM »
Try this one...
Dear Sir,
Error on lisp use autocad 2006
copy all autocad support folder
Code: [Select]
AIA Layer v3.lyr
AIA Layer v3 EXST.lyr
AIA Layer v3 NEWW.lyr
LAYER_CREATOR.dcl
LAYER_CREATOR.lsp
LAYER_CREATOR.slb
Quote
Command: lc ; error: Automation Error. No database
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

TimSpangler

  • Water Moccasin
  • Posts: 2010
  • CAD Naked!!
Re: Old lisp don't work
« Reply #11 on: March 22, 2011, 07:31:46 AM »
There should be a file named "Layer Files" in the same folder as the LayerCreator.lsp.  This file will/should contain all of the .lyr files.

Try that.


Try this one...
Dear Sir,
Error on lisp use autocad 2006
copy all autocad support folder
Code: [Select]
AIA Layer v3.lyr
AIA Layer v3 EXST.lyr
AIA Layer v3 NEWW.lyr
LAYER_CREATOR.dcl
LAYER_CREATOR.lsp
LAYER_CREATOR.slb
Quote
Command: lc ; error: Automation Error. No database
ACA 2015 - Windows 7 Pro
All Comments and Content by TimSpangler, Copyright © 2016

Sam

  • Bull Frog
  • Posts: 201
Re: Old lisp don't work
« Reply #12 on: March 23, 2011, 12:40:33 AM »
There should be a file named "Layer Files" in the same folder as the LayerCreator.lsp.  This file will/should contain all of the .lyr files.

Try that.


Try this one...
Dear Sir,
Error on lisp use autocad 2006
copy all autocad support folder
Code: [Select]
AIA Layer v3.lyr
AIA Layer v3 EXST.lyr
AIA Layer v3 NEWW.lyr
LAYER_CREATOR.dcl
LAYER_CREATOR.lsp
LAYER_CREATOR.slb
Quote
Command: lc ; error: Automation Error. No database
Dear sir,
thx for reply
problem solved
one more request can u split dialog box
see attached file
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