Setting default state of custom dialogue button

Discussion in 'AutoCAD' started by Edgetrimmer, Jan 9, 2004.

  1. Edgetrimmer

    Edgetrimmer Guest

    I have a nice a routine by M. Jenkins called ddlist.lsp (and ddlist.dcl)
    which was published in a CAD magazine some years back that will let you pick
    a nested object and show all it's properties in a dialogue box output. It's
    similar to Express Tools xlist command but it can go deeper finding nesting
    properties. My problem is there is an action_tile that is either checked or
    unchecked to determine if nested objects are picked and it starts out
    unchecked when the command is first run. Well, I almost always want the box
    checked, so I was hoping to change the code or the action_tile definition
    somehow to have the button checked by default and let me uncheck it on the
    rare occasions I wish to list properties of unnested objects. Any dialogue
    box programmers out there who would be willing to help?

    Thanks in advance,
    Edgetrimmer
     
    Edgetrimmer, Jan 9, 2004
    #1
  2. Edgetrimmer

    Jim Claypool Guest

    In the dcl file under the desired toggle enter a line of value = "1";
     
    Jim Claypool, Jan 9, 2004
    #2
  3. Edgetrimmer

    Edgetrimmer Guest

    Thanks for your response. I looked a little earlier for help on DCL control
    and didn't find it in AutoCAD 2004. I know there used to be something in
    help about it a few versions back.

    Regards,
    Edgetrimmer
     
    Edgetrimmer, Jan 9, 2004
    #3
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.