AutoCAD 2010/2011/2012

AutoCAD 2010/2011/2012

Reply
Contributor
sylvain_c
Posts: 17
Registered: ‎03-22-2010
Message 1 of 2 (717 Views)

Constraint based on attribute (text box) width?

717 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.

 

 

Contributor
sylvain_c
Posts: 17
Registered: ‎03-22-2010
Message 2 of 2 (695 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?

 

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Are You Going To Be @ AU 2014? Feel free to drop by our AU topic post and share your plans, plug a class that you're teaching, or simply check out who else from the community might be in attendance. Ohh and don't forgot to stop by the Autodesk Help | Learn | Collaborate booths in the Exhibit Hall and meet our community team if you get a chance!