• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Visual LISP, AutoLISP and General Customization

    Reply
    Valued Contributor
    Posts: 66
    Registered: ‎09-07-2005

    Adding a date stamp to deter.vlx

    438 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
    Please use plain text.
    *Some Buddy

    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
    Please use plain text.
    Valued Contributor
    Posts: 66
    Registered: ‎09-07-2005

    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?
    Please use plain text.
    *Some Buddy

    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?
    Please use plain text.
    *Some Buddy

    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?
    Please use plain text.
    *Terry W. Dotson

    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
    Please use plain text.
    Valued Contributor
    Posts: 66
    Registered: ‎09-07-2005

    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.
    Please use plain text.
    Valued Contributor
    Posts: 66
    Registered: ‎09-07-2005

    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!
    Please use plain text.