ActiveX test for STB

Discussion in 'AutoCAD' started by kemp, Jun 16, 2004.

  1. kemp

    kemp Guest

    I need to be able to test for usage of STB or CTB plot styles. How would
    I go about this?

    Thanks, kemp
     
    kemp, Jun 16, 2004
    #1
  2. kemp

    kemp Guest

    Ah, I found the PSTYLEMODE system variable. Looks like it's what I need.
     
    kemp, Jun 16, 2004
    #2
  3. kemp

    Don Butler Guest

    This is what I use. (if (is-color)...

    (defun is-color ()
    (= (getvar "PSTYLEMODE") 1)
    )

    Don
     
    Don Butler, Jun 16, 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.