.NET

.NET

Reply
Valued Contributor
66 Posts
0 Kudos
Registered: ‎07-22-2004
Post 1 of 3

How to get dimension text's graphic length?

137 Views, 2 Replies
06-21-2005 01:59 AM
I wishto get dimension text's graphic length?could anyone give me some suggestion?

Re: How to get dimension text's graphic length?

06-21-2005 02:20 AM in reply to: netcai
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?
Distinguished Contributor
656 Posts
0 Kudos
Registered: ‎12-12-2003
Post 3 of 3

Re: How to get dimension text's graphic length?

06-21-2005 03:29 PM in reply to: netcai
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.
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Are you interested in helping shape the future of the Autodesk Community? To participate in this brief usability study, please click here. Your time and input is greatly appreciated!