Jump to content

Recommended Posts

Posted

Found a lot of helpful posts similar to what I'm trying to do, but nothing just close enough for me to get this working.

 

The majority of symbols we use are built around a box with attribute text inside, and a "leg" that shows the attachment to the wall.

 

Currently, the box w/ attribute text and the leg are separate blocks, since when the leg is built into the text box, the text and the box will rotate as well (they need to remain horizontal, always, but also connected to the leg).

 

Rotated-Block.jpg

 

Does anyone have any suggestions for what might work? My perfect block would be an insertion point at the bottom of the leg that aligns to whatever angle wall it is attached to, and the text box positions itself (rotated horizontally).

Posted

A hint: There is alignment parameter in dynamic block.

You may want to try it.

  • 2 weeks later...
Posted

Thanks, I figured out the alignment and flip commands to get the block to rotate around, however I can't figure out how to have the text move with the block (so it stays inside), but not rotate upside down.

 

Any ideas?

Posted

I have covered this several times here but basically add a point parameter that gets rotated and add a move action to your text. That way the text can follow the point but doesn't get rotated.

 

Either search here or post the block you have so far if it is not clear what I have said.

Posted

Sorry I wasn't able to find your previous posts (have some trouble finding the right search terms for AutoCAD questions), did as you suggested an added a point and move command to the attributed, but now when I exit block editor the text attributes vanish. Any ideas? (Thought it may been AutoCad being funky, so tried restarting already but still the same issue)

 

BOX_TXT_DYN1.dwgFetching info...

Posted

I think you were almost there. The "leg-2" block was working better than the BOX_TXT_DYN1 one so I have returned that. The one thing I didn't say was that you need to allow chain actions on the point parameter to get the move to work. I also thought the text vanished when I first tried this block but I had added a second move and the text just moved itself off my screen.

 

I have now read your request a bit further and it appears you need a rotation too. You may need to think a bit sideways but similar techniques to the point & move combo can be used to facilitate rotations. Good luck.

 

Leg2.dwgFetching info...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...