Rectangle around Single Line Text

Discussion in 'AutoCAD' started by mnash, Feb 28, 2005.

  1. mnash

    mnash Guest

    I'm trying to write a lisp that draws a rectangle around an entity, which is single line text. The txt could be any size of any width factor with any number of characters within it. I've tried textbox but I'm getting a "bad DXF group" error. Can someone shed some light on this please, I've been at it all morning just to get the width straigtened away.
    Thanks MN
     
    mnash, Feb 28, 2005
    #1
  2. mnash

    Matt W Guest

    Why reinvent the wheel??
    Have you looked at the Express Tools (Enclose text with object)??
     
    Matt W, Mar 1, 2005
    #2
  3. mnash

    doug k Guest

    or for that matter, if you have 2005, how about a table with just one entry?

    i have a block made just for that.
     
    doug k, Mar 1, 2005
    #3
  4. mnash

    mnash Guest

    Not everyone will have the express tools installed on their machine
     
    mnash, Mar 2, 2005
    #4
  5. mnash

    doug k Guest

    why *is* that?

    that's like driving a car with one of the wheels still in a box in the
    garage.
     
    doug k, Mar 2, 2005
    #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.