See the top rated post in this thread. Click here

Results 1 to 9 of 9

Thread: Add Custom Properties to Drawing Properties dialog box

  1. #1
    Active Member
    Join Date
    2005-03
    Posts
    59
    Login to Give a bone
    0

    Default Add Custom Properties to Drawing Properties dialog box

    Is it possible to create custom properties using LISP?



    Young.
    Attached Images Attached Images
    AutoCAD MAP3D 2012
    Windows 7 SP1

  2. #2
    100 Club CADmium's Avatar
    Join Date
    2004-08
    Location
    Eberswalde, Germany, Europe
    Posts
    128
    Login to Give a bone
    1

    Default Re: Add Custom Properties to Drawing Properties dialog box

    an examplecode:
    Code:
    (vla-addcustominfo(vla-get-summaryinfo(vla-get-activedocument(Vlax-get-acad-object)))"AA" "BB")

  3. #3
    Active Member
    Join Date
    2005-03
    Posts
    59
    Login to Give a bone
    0

    Default Re: Add Custom Properties to Drawing Properties dialog box

    Thanks Thomas,
    That worked just like I wanted.

    How do you people know all this?
    I am trying to start learn some LISP and everyday I flip the pages it gets harder and harder.
    Any tips on good starting point?

    Thanks againg Thomas.

    Young.
    AutoCAD MAP3D 2012
    Windows 7 SP1

  4. #4
    Administrator Opie's Avatar
    Join Date
    2002-01
    Location
    jUSt Here (a lot)
    Posts
    8,575
    Login to Give a bone
    0

    Default Re: Add Custom Properties to Drawing Properties dialog box

    Quote Originally Posted by ch00su
    How do you people know all this?
    I am trying to start learn some LISP and everyday I flip the pages it gets harder and harder.
    Any tips on good starting point?
    Have you tried the two sticky threads, ("Learning Lisp" and "Anatomy of an AUTOLISP file")?

    There are several links in the "Learning Lisp" thread that may be helpful to you.
    If you have a technical question, please find the appropriate forum and ask it there.
    You will get a quicker response from your fellow AUGI members than if you sent it to me via a PM or email.
    jUSt

  5. #5
    Active Member
    Join Date
    2005-03
    Posts
    59
    Login to Give a bone
    0

    Default Re: Add Custom Properties to Drawing Properties dialog box

    Thanks Opie,
    The Irony, I suppose, is that there are so many materials to read on "LISP" that makes it hard to decide on which one to stick to and read on.

    Anyway, I've just printed out Afralisp tutorials and it looks pretty good for an absolute LISP begginers like me.
    Let's see how it goes.
    Thanks for your reply.

    Young.
    AutoCAD MAP3D 2012
    Windows 7 SP1

  6. #6
    Administrator Opie's Avatar
    Join Date
    2002-01
    Location
    jUSt Here (a lot)
    Posts
    8,575
    Login to Give a bone
    0

    Default Re: Add Custom Properties to Drawing Properties dialog box

    Quote Originally Posted by ch00su
    Thanks Opie,
    The Irony, I suppose, is that there are so many materials to read on "LISP" that makes it hard to decide on which one to stick to and read on.

    Anyway, I've just printed out Afralisp tutorials and it looks pretty good for an absolute LISP begginers like me.
    Let's see how it goes.
    Thanks for your reply.

    Young.
    I would go with the Afralisp site as well. That is where I started learning as well. Very good information.

    No problem. That is one of the reasons I am here.
    If you have a technical question, please find the appropriate forum and ask it there.
    You will get a quicker response from your fellow AUGI members than if you sent it to me via a PM or email.
    jUSt

  7. #7
    100 Club CADmium's Avatar
    Join Date
    2004-08
    Location
    Eberswalde, Germany, Europe
    Posts
    128
    Login to Give a bone
    0

    Default Re: Add Custom Properties to Drawing Properties dialog box

    Offtopic: For German speaking (reading) Lispbeginners I recommend Mapcars Lisp Tutorial

  8. #8
    I could stop if I wanted to
    Join Date
    2015-09
    Posts
    420
    Login to Give a bone
    0

    Default Re: Add Custom Properties to Drawing Properties dialog box

    Hi Thomas:

    Your example code works great the first time the code is run, but if I execute it two times I wind up with double entries. Would there be a way to always have the custom properties arranged in a specific order...??...for example the first line be Drawing File Name and the second line be the Author and the third line be the Date and the forth line be the Drawing Title, etc. and so on.

    If the routine is run again it would overwrite the existing custom properties with the new values.

    Your assistance would be appreciated....!!!

    Regards,
    Vince

  9. #9
    Certifiable AUGI Addict ccowgill's Avatar
    Join Date
    2004-08
    Location
    Hartford, Michigan
    Posts
    3,197
    Login to Give a bone
    0

    Default Re: Add Custom Properties to Drawing Properties dialog box

    try this thread it is a good starting point, then you can modify it yourself to better fit your system
    Christopher T. Cowgill, P.E.
    Autodesk Expert Elite
    AEC Collection Civil 3D 2020
    Windows 10

Similar Threads

  1. Drawing Properties Dialog Box
    By Wish List System in forum AutoCAD Wish List
    Replies: 5
    Last Post: 2016-10-23, 02:13 AM
  2. Replies: 1
    Last Post: 2013-12-04, 06:14 PM
  3. Replies: 5
    Last Post: 2009-02-23, 09:12 PM
  4. Replies: 1
    Last Post: 2007-05-11, 08:06 PM
  5. Resizable Drawing Properties Dialog
    By autocad.wishlist1734 in forum AutoCAD Wish List
    Replies: 0
    Last Post: 2006-01-31, 12:54 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •