ctb/stb

Discussion in 'AutoCAD' started by Caddog, Aug 10, 2004.

  1. Caddog

    Caddog Guest

    Can someone help? I need a script that will check the system variable
    pstylemode. If it is equal to 0 then run the command convertpstyles.
     
    Caddog, Aug 10, 2004
    #1
  2. Caddog

    zeha Guest

    Do you mean something like this

    (if (= (getvar "pstylemode") 0)(command "convertpstyles"))
     
    zeha, Aug 10, 2004
    #2
  3. Caddog

    Caddog Guest

    That worked perfectly......

    Thanks
     
    Caddog, Aug 10, 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.