TheSwamp
Code Red => AutoLISP (Vanilla / Visual) => Topic started by: CADaver on July 14, 2005, 08:20:44 AM
-
Okay I know that ACAD_COLORDLG will "pop" the color selection dialog, but what "pops" the linetype selection box?
-
(initdia)
(command "linetype")
-
Thanks Charles, but I don't think that's quite what I want. Maybe I should explain it a little better.
I can set a variable to a color number by: (setq clr (acad_colordlg 2))
Then use that "CLR" elsewhere. What I want is to collect the linetype selected from the list and save it to a variable in the same way. I've played with a couple of things and can't seem to get a grip on it.
-
Found this
http://tinyurl.com/ct9ax
BUT, you must double click your choice in the dialog before clicking OK
And this
Tony Tanzillo Dec 2 1998, 3:00 am
There's no acad_colordlg() equivalent for the linetype
dialog (we've requested this so many times that I've long
since given up on ever seeing it).
What you can do, is pull the Select Linetype dialog box
out of DDCHPROP.LSP/DCL, but this isn't the same as the
Linetype dialog that's used by the linetype command.
-
Thanks for the Google link that'll work for me. Tony T. gave me the same tip several years ago, I was just hoping it had been picked up by now with something internal.