.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to get dimension text's graphic length?

2 REPLIES 2
Reply
Message 1 of 3
Anonymous
286 Views, 2 Replies

How to get dimension text's graphic length?

I wishto get dimension text's graphic length?could anyone give me some suggestion?
2 REPLIES 2
Message 2 of 3
Anonymous
in reply to: Anonymous

Usualy i insert a text with the same characteristic of the originall one but
with rotation =0 and then use text.getboundingbox to have p1(minX,minY) and
p2(maxXmaxY).
Ciao
Gpaolo


ha scritto nel messaggio news:4880175@discussion.autodesk.com...
I wishto get dimension text's graphic length?could anyone give me some
suggestion?
Message 3 of 3
Anonymous
in reply to: Anonymous

You can use the AutoLISP function......TEXTBOX

Definition:
Measures a specified text object, and returns the diagonal coordinates of a box that encloses the text

(textbox elist)

Argument:
elist

An entity definition list defining a text object, in the
format returned by entget.

If fields that define text parameters other than the text
itself are omitted from elist, the current (or default)
settings are used.

The minimum list accepted by textbox is that of the
text itself.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost