Loading a specific text style with a startup lisp

Discussion in 'AutoCAD' started by WILLIE, Jan 29, 2004.

  1. WILLIE

    WILLIE Guest

    I would like to load a specific text style in my startup lisp routine. Can
    someone give me an example of a way to do this.

    TIA
     
    WILLIE, Jan 29, 2004
    #1
  2. WILLIE

    Walt Engle Guest

    I have the following in my acad.lsp on the second line:
    (COMMAND "STYLE" "STANDARD" "arial.ttf" "" "" "" "" "")

    If you would be using one of Autocad's shx files, then you would have to use
    the following (example);

    (COMMAND "STYLE" "STANDARD" "romans" "" "" "" "" "" "")
     
    Walt Engle, Jan 29, 2004
    #2
  3. WILLIE

    ECCAD Guest

    (command "_.style" "STANDARD" "txt.shx" "0.125" "" "" "" "" "")
    ;; "" in order:
    Width Factor
    Oblique Angle
    Backwards (Y/N)
    Upside-down(Y/N)
    Vertical ?
     
    ECCAD, Jan 29, 2004
    #3
  4. WILLIE

    mark Guest

    some fonts might have vertical just., to ignore vertical Y/N prompt can use
    (command "_.-style" "STANDARD" "txt.shx" "0.125" "" "" "" "")(command)
     
    mark, Jan 29, 2004
    #4
  5. WILLIE

    WILLIE Guest

    can I also query the dim scale and bring the text style in at 0.1 times the
    dimscale?
     
    WILLIE, Jan 29, 2004
    #5
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.