Visual LISP, AutoLISP and General Customization

Visual LISP, AutoLISP and General Customization

Reply
Member
vfernando
Posts: 4
Registered: ‎11-13-2006
Message 1 of 6 (347 Views)
Accepted Solution

Lisp routine no longer working in new versions of AutoCAD

347 Views, 5 Replies
10-05-2012 11:40 AM

We have used this Lisp routine (moveatt.lsp) in the past to update our title block when the revision sections get full.

There are only 8 revision lines attributed with our title block.

The routine would remove the oldest revision and then shift all remaining revisions down to open up line 8 for use.

 

I think it was around release 2009 that the routine stopped working for us.

 

I have attached the lisp routine and a sample of our border.

Can anyone figure out what is wrong with our lisp routine that it will not work in AutoCAD 2012?

 

Thanks for any help.

vfernando,

I exclude the timer function,
try the attached file.

Henrique

*Expert Elite*
hmsilva
Posts: 3,022
Registered: ‎12-17-2004
Message 2 of 6 (331 Views)

Re: Lisp routine no longer working in new versions of AutoCAD

10-05-2012 02:54 PM in reply to: vfernando

vfernando,

moveatt function works, perhaps the external function (timer) is the problem,
that I can't see, if you post it I'll take a look.


Henrique

Member
vfernando
Posts: 4
Registered: ‎11-13-2006
Message 3 of 6 (327 Views)

Re: Lisp routine no longer working in new versions of AutoCAD

10-05-2012 03:04 PM in reply to: hmsilva

Sorry Henrique but I do not know what the external function (timer) is.

 

Here is the error I get when I run the routine:

        "Select drawing Border :; error: no function definition: TIMER"

 

So It sounds like you are correct it has something to do with the "timer".

If you tell me how to get you that information I will post it.

 

Thanks.

*Expert Elite*
hmsilva
Posts: 3,022
Registered: ‎12-17-2004
Message 4 of 6 (324 Views)

Re: Lisp routine no longer working in new versions of AutoCAD

10-05-2012 03:14 PM in reply to: vfernando

vfernando,

I exclude the timer function,
try the attached file.

Henrique

Member
vfernando
Posts: 4
Registered: ‎11-13-2006
Message 5 of 6 (322 Views)

Re: Lisp routine no longer working in new versions of AutoCAD

10-05-2012 03:20 PM in reply to: hmsilva

Yes!!!!

Success!!

 

Thank you Henrique!

That will save us all a bunch of time.

*Expert Elite*
hmsilva
Posts: 3,022
Registered: ‎12-17-2004
Message 6 of 6 (311 Views)

Re: Lisp routine no longer working in new versions of AutoCAD

10-05-2012 03:26 PM in reply to: vfernando

You're welcome.

Henrique

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.