Dynamic Blocks

Dynamic Blocks

Reply
Valued Mentor
bgingerich
Posts: 276
Registered: ‎08-29-2011
Message 1 of 8 (270 Views)
Accepted Solution

Text rotation off by 45 degrees

270 Views, 7 Replies
12-14-2012 06:09 AM

This is just a basic block to specify a section plane.  What I would like to have is a BPT with 4 rotation options (0, 90 180, 270) that would rotate the whole block but it would keep the text upright and be able to stretch the ends of the arrows.  I know I must be including/not including something important.  Pointers on how to do this right are much appreciated.

─────────────────────────────────────────────────────────────────────────────────────────────
Brandon Gingerich

TEST with the Red A

*Expert Elite*
Charles_Shade
Posts: 8,204
Registered: ‎04-10-2005
Message 2 of 8 (263 Views)

Re: Text rotation off by 45 degrees

12-14-2012 09:09 AM in reply to: bgingerich

Got both Attribs to move with the Polar Action but have not been able to get them to remain horizontal.

This is a case where not to use a Parameter Set but rather a Polar Parameter and Polar Stretch Action. This way the Upper A can be included to Stretch and Rotate and the Lower A can be included to Rotate only.

 

Block is TEST in the Drawing File

 

Regards, Charles Shade            Win8 FAQ
CSHADEDESIGN|AUTOCAD LT|LT-KB|DYNAMIC BLOCKS

 
Please mark Accept as Solution if your question is answered. Kudos gladly accepted.
Valued Mentor
bgingerich
Posts: 276
Registered: ‎08-29-2011
Message 3 of 8 (255 Views)

Re: Text rotation off by 45 degrees

12-14-2012 09:32 AM in reply to: Charles_Shade

Yeah, that's what I was getting too.  I could also get everything to rotate -90 degrees but any other way would make the text/attrib fly all over the place.  Also in yours, I see that if the block is rotated via the polar, then the text is rotated, it is off by 45 degrees.  Any ideas why that is?

 

After a couple of hours working on it and trying everything (or so I thought), I was finally able to come up with this.  Need to redraw this with attrib's instead of text, but at least it's there now.  Added two rotate parameters with individual actions instead of one parameter with two actions (one being offset).  Though now that I think about it, I didn't try the polar approach with two individuals (which would be nicer than a lookup table. Hmm...

─────────────────────────────────────────────────────────────────────────────────────────────
Brandon Gingerich
*Expert Elite*
Charles_Shade
Posts: 8,204
Registered: ‎04-10-2005
Message 4 of 8 (254 Views)

Re: Text rotation off by 45 degrees

12-14-2012 09:34 AM in reply to: Charles_Shade

And ain't that a conundrum?

I can't get this to work on the upper A

Regards, Charles Shade            Win8 FAQ
CSHADEDESIGN|AUTOCAD LT|LT-KB|DYNAMIC BLOCKS

 
Please mark Accept as Solution if your question is answered. Kudos gladly accepted.
*Expert Elite*
Charles_Shade
Posts: 8,204
Registered: ‎04-10-2005
Message 5 of 8 (247 Views)

Re: Text rotation off by 45 degrees

12-14-2012 10:06 AM in reply to: Charles_Shade

TEST with the Red A

Regards, Charles Shade            Win8 FAQ
CSHADEDESIGN|AUTOCAD LT|LT-KB|DYNAMIC BLOCKS

 
Please mark Accept as Solution if your question is answered. Kudos gladly accepted.
Valued Mentor
ojuris
Posts: 269
Registered: ‎06-08-2010
Message 6 of 8 (243 Views)

Re: Text rotation off by 45 degrees

12-14-2012 12:04 PM in reply to: bgingerich

hi

 

look at this variant

 

Juris

Valued Mentor
bgingerich
Posts: 276
Registered: ‎08-29-2011
Message 7 of 8 (219 Views)

Re: Text rotation off by 45 degrees

12-18-2012 04:55 AM in reply to: Charles_Shade

Thanks, Charles.  That's pretty much what I wanted to do.  You stretched just one side (I think I did it in my example come to think of it) so now it's just a matter of picking your block apart so I can do it myself to both sides.

 

@Juris.  That is definetly a different way of doing it, but it is not going to work for my purposes.  I was looking for a way to stretch both sides to enable me to place this block in the center of the object I'm sectioning and stretch out to one side.  Thanks for the input and a different perspective.

─────────────────────────────────────────────────────────────────────────────────────────────
Brandon Gingerich
*Expert Elite*
Charles_Shade
Posts: 8,204
Registered: ‎04-10-2005
Message 8 of 8 (212 Views)

Re: Text rotation off by 45 degrees

12-18-2012 05:06 AM in reply to: bgingerich

We kept including the upper A in the Stretch Frame for the Polar Action.

When I moved the Box so that the upper A mimicked the lower A and was not included inside the Stretch Frame it worked fine.

Regards, Charles Shade            Win8 FAQ
CSHADEDESIGN|AUTOCAD LT|LT-KB|DYNAMIC BLOCKS

 
Please mark Accept as Solution if your question is answered. Kudos gladly accepted.
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!