Results 1 to 7 of 7

Thread: Create a Dialog Box like Properties Palette

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

    Default Create a Dialog Box like Properties Palette

    I know it is a demanding process to create complex dialog boxes with dcl. ( I've been there alot ) In adition to this tedious job, lisp diaglogs are very restricted that one can not utilize them transparently with autocad use.
    What I mean here that I dont think that it is possible to create smth. like the properties palette which is running along as you continue to use autocad. Or is it? is there any way to create a custom "palette like interface" with lisp or vba dialogs? thanks..

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

    Default Re: Create a Dialog Box like Properties Palette

    You can do this with .NET. There is even a sample palette with the available .NET labs.
    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

  3. #3
    Certifiable AUGI Addict irneb's Avatar
    Join Date
    2015-11
    Location
    Jo'burg SA
    Posts
    4,512
    Login to Give a bone
    0

    Default Re: Create a Dialog Box like Properties Palette

    Or if you want to stick with LISP then google OpenDCL. It provides a modeless / dockable / hidable Palette "dialog" in LISP.
    Knowledge is proportional to experience, but wisdom is inversely proportional to ego!
    My little bit of "wisdom": Hind-sight is useless, unless used to improve the next forethought!

  4. #4
    I could stop if I wanted to msretenovic's Avatar
    Join Date
    2002-02
    Location
    Galloway, Oh
    Posts
    305
    Login to Give a bone
    0

    Arrow Re: Create a Dialog Box like Properties Palette

    Quote Originally Posted by irneb View Post
    Or if you want to stick with LISP then google OpenDCL. It provides a modeless / dockable / hidable Palette "dialog" in LISP.
    This is true. However, if it needs to be distributed, OpenDCL will have to be distributed as well. Some may be reluctant to install OpenDCL (for whatever reason), others just may not want to take the time to do so.

    Please do not take this as a jab at OpenDCL, they have done a great thing with it. I just wanted to point this out as I worked at a company that was reluctant to add ANY customizations onto AutoCAD.
    Michael K. Sretenović
    Most folks are about as happy as they make up their minds to be.
    -Abraham Lincoln (1809-1865)
    -16th president of The United States of America (1861 - 1865)

  5. #5
    Certifiable AUGI Addict irneb's Avatar
    Join Date
    2015-11
    Location
    Jo'burg SA
    Posts
    4,512
    Login to Give a bone
    0

    Default Re: Create a Dialog Box like Properties Palette

    That's true ... but then would they want your code to be installed? Seeing as your code would inevitably be an "add-on" in itself, if the co doesn't want add-ons, then why would they want yours, never mind OpenDCL?

    BTW, it's possible to add an OpenDCL installation as if it's actually part of your own program. E.g. anyone remember CDGPurge? It installed OpenDCL without anyone even noticing .
    Knowledge is proportional to experience, but wisdom is inversely proportional to ego!
    My little bit of "wisdom": Hind-sight is useless, unless used to improve the next forethought!

  6. #6
    Active Member
    Join Date
    2005-12
    Posts
    71
    Login to Give a bone
    0

    Thumbs up Re: Create a Dialog Box like Properties Palette

    I've been hearing opendcl and thanks to you guys today I took a quick look at it and found what I've been looking for.

    Last few days I researched over .net and its interop. with lisp. The overhead inbetween lisp<->vb.net and most of all the learning time/curve... to sum up the effort needed to put in seemed to be an overkill just to produce user friendly "nicer" software.

    I was about to give up on that so wanted to check on the topic again... now I'll take my chance with opendcl.

    As for distribution; every framework has its own dependencies, its the same for .net: you need to download and install it first. Furthermore you need to buy a seperate compiler to build .net projects.

    Anyway thanks again for your invaluable suggestions.

  7. #7
    AUGI Addict alanjt's Avatar
    Join Date
    2008-02
    Posts
    1,141
    Login to Give a bone
    0

    Default Re: Create a Dialog Box like Properties Palette

    Quote Originally Posted by irneb View Post
    That's true ... but then would they want your code to be installed? Seeing as your code would inevitably be an "add-on" in itself, if the co doesn't want add-ons, then why would they want yours, never mind OpenDCL?

    BTW, it's possible to add an OpenDCL installation as if it's actually part of your own program. E.g. anyone remember CDGPurge? It installed OpenDCL without anyone even noticing .
    this is what i put in our acaddoc.lsp
    Code:
    (if
     (and
      (not
       (findfile "C:\\Program Files\\Common Files\\OpenDCL\\OpenDCL.17.arx")
      )
      (findfile "OpenDCL.Runtime.ENU.5.0.2.1.msi")
     );and
        (command "_.start" "OpenDCL.Runtime.ENU.5.0.2.1.msi")
    );if

Similar Threads

  1. Replies: 1
    Last Post: 2013-12-04, 06:14 PM
  2. I love being frustrated - properties dialog/palette
    By dkuhn in forum AutoCAD General
    Replies: 3
    Last Post: 2009-05-25, 07:46 PM
  3. View Solid Mass Properties in Properties Palette
    By autocad.wishlist1734 in forum AutoCAD Wish List
    Replies: 0
    Last Post: 2007-09-28, 02:29 PM
  4. Object properties palette not showing selected Objects properties
    By timothyjturner in forum AutoCAD General
    Replies: 22
    Last Post: 2007-08-10, 05:21 PM
  5. Create a Match Properties Tool Palette
    By jcdecastro in forum AutoCAD Customization
    Replies: 4
    Last Post: 2006-12-13, 11:05 PM

Posting Permissions

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