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 (330 Views)
Accepted Solution

Lisp routine no longer working in new versions of AutoCAD

330 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.

*Expert Elite*
hmsilva
Posts: 2,639
Registered: ‎12-17-2004
Message 2 of 6 (314 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 (310 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: 2,639
Registered: ‎12-17-2004
Message 4 of 6 (307 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 (305 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: 2,639
Registered: ‎12-17-2004
Message 6 of 6 (294 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

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community