STB to CTB conversions in a script

Discussion in 'AutoCAD' started by M Fortner, Feb 11, 2004.

  1. M Fortner

    M Fortner Guest

    Anybody know how to detect whether a drawing is using CTB or STB
    tables? I cannot find a system variable or other parameter for this,
    but I know it must be obtainable with LSP or V-LSP or VBA. I just
    can't seem to find it!


    Background: my shop uses CTBs. Someone decided to try out STBs on
    several of our drawings. I don't know which ones and I'm using a
    script to plot all my drawings to DWFs. The "Plot" command in the
    script answers the detailed plot configuration with a CTB file name,
    which fails if the drawing is in STB mode. I tried (command
    "convertpstyles") and (command "convertpstyles" "CTB"), but, depending
    on which type of plot table is in effect, I get a message and
    therefore a script failure. Yikes!
     
    M Fortner, Feb 11, 2004
    #1
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.