Help regarding dynamic blocks

Help regarding dynamic blocks

e_dpdeoliveira
Explorer Explorer
309 Views
8 Replies
Message 1 of 9

Help regarding dynamic blocks

e_dpdeoliveira
Explorer
Explorer

Hello, this is my first post on here, please excuse me if I am missing some information.

 

I want to make dynamic blocks of rectangular pannels, with the sides being adjustable.

 

For example, we will take the first one i want to do, as I will probably understand how they work in order to make the rest of them. 

Imagine two rectangles, one smaller inside. The smaller rectangle would contain a series of patterns, just like a hatch, except I am having trouble making hatches, and my patterns have curves in them. Superhatch doesnt work in dynamic blocks, or I have been told. The bigger rectangle would be the outline, ideally, you could adjust the margins between those two rectangles, vertically and horizontally (separately). The smaller rectangle with the pattern would be incremented, and centered, within those margins. The block would have adjustable grips, making it easy to adjust margins, and total dimensions.

 

Thank you

0 Likes
Accepted solutions (1)
310 Views
8 Replies
Replies (8)
Message 2 of 9

Brock_Olly
Collaborator
Collaborator

@e_dpdeoliveira 
Hi,

I gave it a shot, it's not perfect though. The pattern doesn't self-center.
Using constraints it's possible to make the pattern self-center but it'd require quite a bit more work.

Message 3 of 9

Brock_Olly
Collaborator
Collaborator

Here's an example using constraints

Message 4 of 9

e_dpdeoliveira
Explorer
Explorer

Hi, thank you so much, I am having trouble with the order of operations Autocad goes through, and what points I have to specify for it to work correctly, you did an amazing job!

Do you think you could tell me if it would be possible to have the arrows on the same basis. ex: the base point is at the outer perimeter, but the arrows are on the inside perimeter, thanks!!

Also maybe have the corners straight? When I try to do it everything stops working. thanks!

I will mark this as solution afterwards, you are amazing

 

0 Likes
Message 5 of 9

Brock_Olly
Collaborator
Collaborator

Hope this is what you were looking for.
I can't limit the dimensions to only increment based on the spacing value so you'll have to make sure they are always a multiple of their respective X or Y values. 
Otherwise the edge distance on one side will be off.

0 Likes
Message 6 of 9

e_dpdeoliveira
Explorer
Explorer

This was almost what I am trying to get as final result, here is a picture of what I wanted to modify in the other one that you submitted. 

e_dpdeoliveira_0-1747066917186.png

Just have the arrows giving the dimensions be at the extremity of the block, therefore moving with the margin if possible, if not, don't mind it. What I would prefer mostly is to have square corners in that same format, I tried adding some lines at the corner and giving them constraints, but to no avail... I just "learned" how dynamic blocks work. 

The newer one you sent in doesn't exactly center the dots, even without increments.

 

Thank you!

0 Likes
Message 7 of 9

Brock_Olly
Collaborator
Collaborator

You cannot have a static 'edge' value and center the dots at the same time. 
Also 'simply' moving these arrows changes the entire block.

Look into Geometric Constraints and you can try to adjust the block yourself.
https://help.autodesk.com/view/ACD/2024/ENU/?guid=GUID-54069D14-97BF-42C5-8B42-9087A18C49D8

0 Likes
Message 8 of 9

Brock_Olly
Collaborator
Collaborator
Accepted solution

This is the fastest way to make it square, I changed the corner lines to construction lines, this doesn't remove them but makes them invisible. Then added the corners and constrained them to the existing geometry.

Editing the arrows would change the entire logic of the block which I don't have time for right now.

0 Likes
Message 9 of 9

e_dpdeoliveira
Explorer
Explorer

Hello, Thank you so much for your time, I wasn't trying to be greedy, this is very appreciated. Thank you so much once again, hope you have a great week