Real to drawing units (architectural units)

Discussion in 'AutoCAD' started by Rodney Crowley, Apr 7, 2004.

  1. I am attempting to display the length of a line in a dialog box. Is there a
    way to display it in the current drawing units? For instance, if I do a
    "list" on a line, it will tell me the length of that line is 1'-0 3/8, but
    when I capture the length of the same line in VBA it gives me 12.375. Is
    there a way perform this conversion or do I have to create my own function?


    Thanks in advance!
     
    Rodney Crowley, Apr 7, 2004
    #1
  2. Rodney Crowley

    Ed Jobe Guest

    ThisDrawing.Utility.RealToString 12.375, acArchitectural
     
    Ed Jobe, Apr 7, 2004
    #2
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.