Dynamic Block: Double Leaf Door - Swing Issue

Dynamic Block: Double Leaf Door - Swing Issue

äcäp
Enthusiast Enthusiast
5,478 Views
15 Replies
Message 1 of 16

Dynamic Block: Double Leaf Door - Swing Issue

äcäp
Enthusiast
Enthusiast

Hi and greeting all,

 

This is my first post in this community. Hope I can get best support and solution for my query. 
 
I had been trying to do my version / preference of a new dynamic block Double Leaf Door, which it properties can be changed either manually or via Properties Table.  I create the block by referring to one of dynamic block door, posted by one of the contributor in this community. After an experiment to another experiment, this is what I get, (refer to the cad dwg I attached - DW_Door02v1-1.dwg).
 
I managed to do my dynamic block but there is a problem with the Right Leaf which will become skewed and the opening arch will be detached from the leaf. I could not think any other solution to fix this and quite confused with all the parameters and action within the block. What did I missed?
 
Could you please advise me the solution to correct this?
 
Many thanks in advance for the advise, knowledge and your support.
 
Cheers!
 
Acap
0 Likes
Accepted solutions (3)
5,479 Views
15 Replies
Replies (15)
Message 2 of 16

Libbya
Mentor
Mentor
Accepted solution

Add the right stretch action to the right rotate action's selection set.  See screencast:  

Message 3 of 16

äcäp
Enthusiast
Enthusiast

Aah! That's it!

 

Missed an action in the selection will ruin the entire block function and give me a headache many weeks. Smiley Frustrated

You are the savior! Thank you for answering my query and solving my dynamic block problem.

Now I can proceed with my next step to fine tune the block to final and share it with my colleagues at my work place.

 

Thank You again!

 

Acap

0 Likes
Message 4 of 16

timothy_crouse
Collaborator
Collaborator

Hello

 

I posted a dynamic door block in the thread link provided.  It may help you out.  I mirror it when I need a double door.

 

 

https://forums.autodesk.com/t5/autocad-forum/tim-s-tip-using-rays-and-model-space-viewports-tracing-...

 

Best Regards

Tim C.

Message 5 of 16

äcäp
Enthusiast
Enthusiast

Hi Tim,


Thanks for your concern and help. Nice tips and dynamic door block you did there. Hopefully will give anyone a help out too.

 

I've finalize my preferable version of dynamic door blocks and thought that I would like to share it with everyone who need it. With some help from friends in Autodesk Community, I managed to do two types of blocks which is Single Leaf Door and Double Leaf Door.

 

For me, in my working environment, it is important to have two types of door block as this will speed the work process and save time when it come to situation when you need replace a door blocks with another block (i.e. replace Single Leaf to Double vice versa) without doing double work to replace each related blocks. Please correct me if i'm wrong at this. Smiley Embarassed

 

Feel free to download and use the blocks.

 

Thanks and Cheers!


Acap

Message 6 of 16

timothy_crouse
Collaborator
Collaborator

Hello

 

Maybe someone else has different information but I do not think dynamic blocks can be replaced using the block replace express tool.  The utility works with non-dynamic blocks but not dynamic blocks.

 

Again, it has been a while since I had to do the block replace so it may work now.

 

-Tim C.

 

 

0 Likes
Message 7 of 16

äcäp
Enthusiast
Enthusiast

Hi and greeting all,

 

Sorry for bringing out back this topic. I realised that my block still need some improvement.

 

It is all went well when changing the door state from the Visibility option for both Single and Double leaf door block. Door Open and Door Close option was perfectly play it's role. But when it comes to Glass Door option, I realised that the door opening did not follow the size from the list.

 

What I was thinking, by using the existing Door Leaf, can I just apply the Move action to move the door leaf by 30mm to the left towards the edge of the door jamb and Stretch the the other side of the door leaf together with the rotation line to the edge of right door jamb? (e.g. for Single Leaf Door) So that the glass door leaf width will follow the size of the door width from the Visibility option list (i.e. Door Width, by right).

 

Anyone willing to teach me how to apply the Move and Stretch action upon selecting the Glass Door from the Visibility option?

I really found it very hard and quite confusing to messing around with the existing parameters and action in the blocks.

Same goes to the Double Leaf Door. 

 

Many thanks in advance for the advise, knowledge and your support.

 

Cheers!

Acap

0 Likes
Message 8 of 16

äcäp
Enthusiast
Enthusiast

DoorSkew.JPG

 

Hi and greeting all,

 

This lousy topic again.. Man Embarassed Hope I can get best support and solution for my query (hopefully last for this block issue)

 

With the help form some experts here in the network recently, I managed to fix my Single Leaf Door dynamic block to act the way as I want (refer block: DW_Door01v1-1.dwg) But when it came to Double Leaf Door block (refer block: DW_Door02v1-2.dwg), I'm facing the same problem similar like my first post in this topic. When I stretched the door width and rotate the leaf angle, the Right Door Leaf will become skewed again (see attached image). The Left Door Leaf are working fine. I tried adding the right stretch action to the right rotate action's selection set, as per advised by @Libbya and this time it did not work. What did I missed?

 

Could anyone please advise me the solution to correct this?

 

Many thanks in advance for the advise, knowledge and your support.

Cheers!

Acap

0 Likes
Message 9 of 16

timothy_crouse
Collaborator
Collaborator

I ran into this previously and my work around was to use a set work flow

 

I had the door at 90 deg when I set the length,  from there I rotated it to the desired angle.

 

If I ever wanted to change the door length I had to reset the door to 90 deg (r-click  the block  >> reset )  then set the swing angle.

 

Like you, I have not had any luck stretching the door from a rotated position.

 

 

0 Likes
Message 10 of 16

Libbya
Mentor
Mentor

I cannot seem to replicate the issue.  Rotating before or after stretching the width seems to work fine.  The only issue I saw in the 10 minutes I spent playing with the block and adjusting the various sizes/rotations was that I would want the rightmost grip to keep the same ratio of door sizes and adjust the overall size of both leaves rather than adjusting only the size of the right leaf. 

Message 11 of 16

äcäp
Enthusiast
Enthusiast

Hi @Libbya,

Thanks for looking at and re-evaluating the issue. It has been years, and I think it was solved last time.

But I was recently trying to improve the block by adding more options in the Visibility States. All functions work fine but when it comes to all the 'Glass Door' options, a similar issue happened. The right door leaf didn't stretch up, the rotate grip and the door swing dashed line (angular dimension) won't attach to the edge of the door leaf.

I tried to add and remove objects in the Action Selection Set many times to get it to work but still failed.

 

Screenshot 2024-11-13 120555.png

 

My revised dynamic block (DW_Door02) is attached. Hopefully, you or anyone else can help me solve my door block issue. Please let me know what steps I missed.

 

I don't want to keep the same ratio of the door sizes and adjust the overall size of both leaves because sometimes the door selection needs to be customized according to the designer/client's needs. The sizes will vary while the leaves size ratio will sometimes will have a different width between those two 😊

 

Cheers!

 

0 Likes
Message 12 of 16

Libbya
Mentor
Mentor

I guess I didn't play enough with the glass door visibility.  You have a new overall width linear parameter for the glass door visibility.  If you look at the Door (Open) visibility state and select the Door Width parameter, you will see that it has three actions associated with it:  R Leaf Stretch, Move, and Door Stretch.  When you go to the Glass Door (Open) visibility state and select the new Glass Door Width parameter, you will see that it only has a single action associated with it (Glass Door Stretch).  You need to add two more actions that will serve the same functions as the Move action and R Leaf Stretch action but will act on the glass door components.  

Message 13 of 16

äcäp
Enthusiast
Enthusiast

Thanks for your guide @Libbya. I tried to understand it carefully but it seems like I still don't understand how Parameter and Action works in Dynamic Block.

I tried adding two more actions as you told me, to get the same functions (Move1 & R Glass Leaf Stretch action) but it still didn't work. I noticed that the earlier Door Stretch action had 25 objects in its Selection Set while I only got 23 objects in my Glass Door Stretch action. I cannot find the rest 2 objects to get into the Selection Set.  I even did a 'teardown' process to see what objects had been selected but still failed. My intention for this is to create a double-leaf door dynamic block with synchronized action for both the door and glass door. I'm not thinking of separating the actions between those two types of doors.

 

Screenshot 2024-11-18 185621.png

 

The issue persists. Refer to my video recording below.

 

0 Likes
Message 14 of 16

Libbya
Mentor
Mentor
Accepted solution

You missed two things when adding those actions.  

1.  R Glass Leaf Stretch needs to have its angle offset property changed to 20.

2.  R Glass Leaf Stretch needs to be added to the selection set of the Rotate 1 action.  

Message 15 of 16

äcäp
Enthusiast
Enthusiast
Accepted solution

Dear @Libbya, you are a genius!
I'm so happy that my door dynamic block is working now.
I changed the two things as per your guide, but for item number 1, I changed the offset property to 270 instead of 20. I guess that you mistyped the value. It's okay. I understand, and I learned a lot from you.

 

Attached is the final result of the 2 Leaf Door dynamic block for everyone's reference.

 

Thank you so much!

0 Likes
Message 16 of 16

Libbya
Mentor
Mentor

Yup, 20 was a typo.  I thought I typed 270...