Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Lisp routine no longer working in new versions of AutoCAD

5 REPLIES 5
SOLVED
Reply
Message 1 of 6
vfernando
707 Views, 5 Replies

Lisp routine no longer working in new versions of AutoCAD

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.

5 REPLIES 5
Message 2 of 6
hmsilva
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

EESignature

Message 3 of 6
vfernando
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.

Message 4 of 6
hmsilva
in reply to: vfernando

vfernando,

I exclude the timer function,
try the attached file.

Henrique

EESignature

Message 5 of 6
vfernando
in reply to: hmsilva

Yes!!!!

Success!!

 

Thank you Henrique!

That will save us all a bunch of time.

Message 6 of 6
hmsilva
in reply to: vfernando

You're welcome.

Henrique

EESignature

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost