Extract text from dim.

Discussion in 'AutoCAD' started by Ivan., Aug 20, 2003.

  1. Ivan.

    Ivan. Guest

    Hello everyone,

    Is it possible to extract dimension text from dimension and place it on side of drawing. Just like coordinats list to make field dimensioning easier.

    Thank you.
    Ivan
     
    Ivan., Aug 20, 2003
    #1
  2. Ivan



    use: (rtos(vla-get-measurement vla-obj)your setting)



    to extract text



    Ursus Uziemblo



    "Ivan." <> wrote in message news:...

    Hello everyone,

    Is it possible to extract dimension text from dimension and place it on side of drawing. Just like coordinats list to make field dimensioning easier.

    Thank you.
    Ivan
     
    Ursus Uziemblo, Aug 20, 2003
    #2
  3. Ivan.

    Ivan. Guest

    Hi Ursus Uziemblo, can you give me more details how, I'm still lerning...
     Thank you.
    Ivan
     
    Ivan., Aug 20, 2003
    #3
  4. Ivan,



    I hope it will help:



    (defun u:copyDimText ()



    (command "text"  pause "" ""



                 (rtos(vla-get-measurement (vlax-ename->vla-object (car(entsel))))2 2)



    )



    )



    This will ask You of text placement and dimension from with You wish to have text pasted.



    In statement (rtos .... 2 2) You can set Your units & precision settings.



    Ursus



    "Ivan." <> wrote in message news:...

    Hi Ursus Uziemblo, can you give me more details how, I'm still lerning...
     Thank you.
    Ivan
     
    Ursus Uziemblo, Aug 21, 2003
    #4
  5. Ivan.

    SpeedCAD Guest

    Hi...

    Of course that is possible. You only must occupy function NENTSEL. With the function you will be able to generate the new text and with ENTLAST you take it
     
    SpeedCAD, Aug 21, 2003
    #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.