AutoCAD 2010/2011/2012

Posts: 17
Registered: ‎03-22-2010
Message 1 of 2 (657 Views)

Constraint based on attribute (text box) width?

657 Views, 1 Replies
04-17-2012 02:26 PM

I'm doing new titleblocks for our office.


Is there a way to constrain a few objects to an attribute text box width?    I want the background box and line to stretch, based on what is typed in that attribute box.


I know that if I make the attribute, a multi-line attribute, I can add a backgroud mask.  I don't want to take this route, because the mask boundary varies, depending on what character is typed.  Also, there is a gap between the mask and line I would like to maintain.


I tried some constraint stuff, but all I seem to be able to constrain is the insertion point of the text box, and not the width grip...


Any help would be greatly appreciated.


Thank you.



Posts: 17
Registered: ‎03-22-2010
Message 2 of 2 (635 Views)

Re: Constraint based on attribute (text box) width?

04-18-2012 08:05 AM in reply to: sylvain_c

I guess what I'm trying to do here is to constrain objects to a text node (not the insertion point)... is that possible?


Whenever I select the horizontal constraint and want to select the node it tells me "invalid point" (i specified snap to node)...


Would a lisp routine help me with this?  If so, is it going to work on the seats that have AutoCAD LT installed?


You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community

Connect with AutoCAD