Auto--insert of Diesel string

Discussion in 'AutoCAD' started by CLR, Jul 31, 2003.

  1. CLR

    CLR Guest

    Hi All.......

    I have need to insert a string of Diesel code by just pushing a button on a
    toolbar. Iknow how to set up the button, and how to code in the macro, but
    as soon as the macro seemy my "Dollar sign" leading off my Diesel string, it
    just shuts down. I've tried various characters infront of the Dollarsign
    but to no avail......if I leave the Dollarsign out, it reads the string
    correctly..........my code presently starts off something like this:

    rtext;D;$(getvar,"dwgname");

    Any help to get it to "read" the Dollarsign would be appreciated, or another
    way to get the Diesel string into the drawing "automatically".

    Vaya con Dios,
    Chuck, CABGx3
     
    CLR, Jul 31, 2003
    #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.