Extract text from dim.

Ivan.

Usenet Archive
Joined
Aug 20, 2003
Messages
2
Reaction score
0
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

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

to extract text

Ursus Uziemblo

"Ivan." <> wrote:

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
 
Hi Ursus Uziemblo, can you give me more details how, I'm still lerning...  Thank you.
Ivan
 
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:

Hi Ursus Uziemblo, can you give me more details how, I'm still lerning...  Thank you.
Ivan
 
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
 
Back
Top