Visual LISP, AutoLISP and General Customization

Visual LISP, AutoLISP and General Customization

Reply
Valued Contributor
CraigPalmer
Posts: 66
Registered: ‎09-07-2005
Message 1 of 8 (926 Views)

Adding a date stamp to deter.vlx

926 Views, 7 Replies
03-05-2010 06:51 AM
I am a user, but unfortunately not a creator, of lisp routines. I'd like to be able to use the deter routine, but add a function to it whereby a date stamp (similar, I imagine, to a plot stamp but showing the date that the tool was used) would be added at a certain location (bottom right of the display, or at specific coordinates).
Firstly, is this possible? Secondly, would anyone be willing to give me an idea of how I would achieve this? Thanks!

Edited by: CraigPalmer on Mar 5, 2010 7:51 AM Edited by: CraigPalmer on Mar 5, 2010 7:51 AM
*Some Buddy
Message 2 of 8 (926 Views)

Re: Adding a date stamp to deter.vlx

03-05-2010 06:56 AM in reply to: CraigPalmer
Hi,

You can not modify a VLX file, it is compiled. The reason the author
compiled it was to protect the contents. You have to contact the author.

HTH

a écrit dans le message de news:
6349429@discussion.autodesk.com...
I am a user, but unfortunately not a creator, of lisp routines. I'd like to
be able to use the deter routine, but add a function to it whereby a date
stamp (similar, I imagine, to a plot stamp but showing the date that the
tool was used) would be added at a certain location (bottom right of the
display, or at specific coordinates).
Firstly, is this possible? Secondly, would anyone be willing to give me an
idea of how I would achieve this? Thanks!

Edited by: CraigPalmer on Mar 5, 2010 7:51 AM

Edited by: CraigPalmer on Mar 5, 2010 7:51 AM
Valued Contributor
CraigPalmer
Posts: 66
Registered: ‎09-07-2005
Message 3 of 8 (926 Views)

Re: Adding a date stamp to deter.vlx

03-05-2010 06:59 AM in reply to: CraigPalmer
I see - thanks for the advice. I'll try to track down the author. In the meantime, is there a LISP routine similar to Deter which could be modified?
*Some Buddy
Message 4 of 8 (926 Views)

Re: Adding a date stamp to deter.vlx

03-05-2010 07:31 AM in reply to: CraigPalmer
I don't know, but I think that a search on the web could lead to something.

a écrit dans le message de news:
6349468@discussion.autodesk.com...
I see - thanks for the advice. I'll try to track down the author. In the
meantime, is there a LISP routine similar to Deter which could be modified?
*Some Buddy
Message 5 of 8 (926 Views)

Re: Adding a date stamp to deter.vlx

03-05-2010 07:36 AM in reply to: CraigPalmer
But what date do you want to stamp ? What tool are you talking about ? Maybe
the fields in AutoCAD could help you with this, but you should be a little
more specific.

You can have the current date, the document creation date, the last save
date and the printing date.

a écrit dans le message de news:
6349468@discussion.autodesk.com...
I see - thanks for the advice. I'll try to track down the author. In the
meantime, is there a LISP routine similar to Deter which could be modified?
*Terry W. Dotson
Message 6 of 8 (926 Views)

Re: Adding a date stamp to deter.vlx

03-05-2010 07:45 AM in reply to: CraigPalmer
On 3/5/2010 9:52 AM, CraigPalmer wrote:

> like to be able to use the deter routine, but add a function to it
> whereby a date stamp ...

Why not simply add an annotation object to the drawing before you deter?

Terry
--
Never start any job without the right tools!
AutoCAD Add-on Tools at http://www.dotsoft.com
Valued Contributor
CraigPalmer
Posts: 66
Registered: ‎09-07-2005
Message 7 of 8 (926 Views)

Re: Adding a date stamp to deter.vlx

03-05-2010 07:47 AM in reply to: CraigPalmer
I'd want to display the current date, and then run Deter.
I've looked at a couple of old LSPs, but I think I've found a useful macro to use for a date stamp. It would have been useful to be able to run both that and Deter together, but this is better than nothing.
Valued Contributor
CraigPalmer
Posts: 66
Registered: ‎09-07-2005
Message 8 of 8 (926 Views)

Re: Adding a date stamp to deter.vlx

03-05-2010 07:49 AM in reply to: CraigPalmer
Good point, and this is/was my initial plan. Running a date stamp tool would take just as long as adding text, but a colleague had asked me if it was possible to include the extra feature.
Thanks for deter, by the way!
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 or visit the Installation and Licensing Forum to get help installing your software.