Author Topic: Linetype selection dialog box?  (Read 2887 times)

0 Members and 1 Guest are viewing this topic.

CADaver

  • Guest
Linetype selection dialog box?
« 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?

CAB

  • Global Moderator
  • Seagull
  • Posts: 10401
Linetype selection dialog box?
« Reply #1 on: July 14, 2005, 08:59:05 AM »
Code: [Select]
 (initdia)
  (command "linetype")
I've reached the age where the happy hour is a nap. (°¿°)
Windows 10 core i7 4790k 4Ghz 32GB GTX 970
Please support this web site.

CADaver

  • Guest
Linetype selection dialog box?
« Reply #2 on: July 14, 2005, 12:02:08 PM »
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:
Code: [Select]
(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.

CAB

  • Global Moderator
  • Seagull
  • Posts: 10401
Linetype selection dialog box?
« Reply #3 on: July 14, 2005, 12:34:35 PM »
Found this
http://tinyurl.com/ct9ax
BUT, you must double click your choice in the dialog before clicking OK

And this
Quote
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.
I've reached the age where the happy hour is a nap. (°¿°)
Windows 10 core i7 4790k 4Ghz 32GB GTX 970
Please support this web site.

CADaver

  • Guest
Linetype selection dialog box?
« Reply #4 on: July 14, 2005, 03:57:08 PM »
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.