Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

toggle checked by default

4 REPLIES 4
Reply
Message 1 of 5
Anonymous
189 Views, 4 Replies

toggle checked by default

Howdy~
How do I go about making a toggle checked by default? Do I make the adjustment in the dcl or lsp file?

Thanks
The Devil
4 REPLIES 4
Message 2 of 5
Anonymous
in reply to: Anonymous

Either one. In the dcl, you set it's value. In the list, you use
'set_tile'

--

Tim
"A blind man lets nothing block his vision."


wrote in message news:5683622@discussion.autodesk.com...
Howdy~
How do I go about making a toggle checked by default? Do I make the
adjustment in the dcl or lsp file?

Thanks
The Devil
Message 3 of 5
Anonymous
in reply to: Anonymous

Generally you will have more control over your dialog box if you establish all your default values via lisp
(set_tile "toggle" "1")

Regards
Phil

PS Hobart? Launie? ?
PSS You might find the attached useful.
Message 4 of 5
Anonymous
in reply to: Anonymous

hOWDY~
If for some reason I wanted to set it in the dcl file, what would I add to the file to make it checked?

Thanks
The Devil
Message 5 of 5
Anonymous
in reply to: Anonymous

Where you define the toggle, add

value = "1";

--

Tim
"A blind man lets nothing block his vision."


wrote in message news:5683682@discussion.autodesk.com...
hOWDY~
If for some reason I wanted to set it in the dcl file, what would I add to
the file to make it checked?

Thanks
The Devil

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost