First off, sorry for posting yet another message requesting help with a dynamic door block.
I'm experimenting with redoing our dynamic door block, which currently uses a scaled arc and visiblity states to control the angle. I recently read about making a dynamic door block using an angular dimension for the door swing, which automatically adjusts to the rotation of the door panel. I've tried tackling this challenge from two different angles (terrible pun intended), but I ended up being stumped either way.
Method 1: I move the width grip and everything works perfectly and smoothly until I change the door swing to anything but 90 degrees and then change the opening width.
Method 2: I get everything working, but I require two separate grips: one for the door panel and one for the opening width. I would love for them to be linked since they're changing by the same distance (just different angles).
I've attached the drawings below. I plan on adding vertical and horizontal flips to the block after I get it working (assuming it can be done).
Thanks!
Solved! Go to Solution.
Solved by ojuris. Go to Solution.
Juris:
Thanks for your help! It appears to be okay, but I'm unsure how you did it. How did you add an action to another action? I thought only parameters could be added to actions.
No, You are wrong about it
You must switch back to old style look in block editor mode (variable BACTIONBARMODE set to 0) and then You can add one action in other action
May be new look is better for viewing, BUT in that case You can`t add actions ....
good luck
Juris
Juris:
I really appreciate your help in solving this.
And thank you to everyone else that chimed in to offer ideas along the way.
This is a great thread with a lot of good information on dynamic blocks. I found it because I'm having the exact same problem as the original poster. I sorted through the entire thread and took a look at everyones work to try and break it down and recreate my block. I'm still having issues though and it seems as though it's not possible to solve this without some sort extra commands: constraints, hidden actions, or lookups. Is it possible to do this by just using actions and parameters?
I'm attaching a file with the basic elements. All I need is to figure out how to increase and decrease the door size then adjust the door swing angle without distorting the shape of the door or throwing it's angle off. (You might need to play with the door a bit to see what I mean.)
Thanks for the help.
Thank you for the response Juris.
I took a look at your block and it looks a lot like one that you posted earlier in this thread. I have 2 questions: Did you use the BACTIONBARMODE (0) command with actions inside actions to make it work? It looks like that's what you did and I think I'm starting to see how that works.
The first stretch action that's attached to the linear parameter has a bounding box around the Linear Grip with 2 objects selected. I do not see which objects you've selected for this action. Nothing seems to highlight. Could you clarify what that stretch action does?
Thank you.
Yes - I allways use Bactionbarmode = 0 and in this block I need it - I need to add stretch1 action into rotate action
In Strech action I have 2 objects - line and Distance1 grip. Grip isn`t mandatory be in this selection.
Thanks Juris. I think I understand how and why you use bactionbarmode. It seems a bit odd that we need to use a sub-interface to add actions to actions but I'm glad to know the trick!
I'm attaching my end result. Along with a double door.
I am trying to follow this chain to understand how to create a dynamic door block.
Is it possible for you to post a screen cast to show the steps to get the door swing to work?
Can't find what you're looking for? Ask the community or share your knowledge.