Community
Dynamic Blocks Forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Help with Block Dynamics

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
Infra_eduardo_goncalves
134 Views, 2 Replies

Help with Block Dynamics

Hello!

I have a question about AutoCad dynamic blocks... What I want to do is:

 

1° - Fix the compass to always point to the North, regardless of the block's rotation.

 

2° - The scale should be from the center, as if I had given the scale command in the center of the block, the closer to the center the smaller and the further away the larger. I've tried a few times but it never works the way I want.

 

3° - If possible, a button to add the outer blocks, the pentagon and the block next to it, to the block and move them/edit attributes independently of these blocks... I've seen some dynamic blocks for home furniture that do similar things but I haven't seen how they are defined, whether they are predefined and only change the visibility or whether it is actually possible to add new items to the block.

 

If anyone can help I'd be very grateful!

 

 

2 REPLIES 2
Message 2 of 3

1.  To fix the north arrow to always point north, I added a chained point/move to the arrow.  I then added the point to the rotation and removed the north arrow from the rotation.  

 

2.  To make it scale from the center, I replaced the polar parameter with a linear parameter (with base location set to midpoint), associated the scale action with it, changed the scale action's base property to independent and moved the scale action's base grip to the center of the block.  I added a second independent scale to the north arrow , placed its grip at the center of the north arrow, and added the north arrow's scale action to the selection set of the north arrow's move action.  

 

3.  You cannot access the attributes of nested blocks.  To add those other two blocks and still allow their attributes to be accessible, I created 3 visibility states (pentagon, shield, both) and pasted the blocks appropriately within them and exploded the blocks so that the attributes are now accessible.  I added point/moves to each and independent scale actions to each.

 

See attached.

Message 3 of 3

Thank you so much!! This was exactly what I was looking for!

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

AutoCAD Inside the Factory


Autodesk Design & Make Report