Change various hatch color within a dynamic block with visibility states

Change various hatch color within a dynamic block with visibility states

jsinobasN8VK5
Contributor Contributor
2,203 Views
3 Replies
Message 1 of 4

Change various hatch color within a dynamic block with visibility states

jsinobasN8VK5
Contributor
Contributor

Hello comunity,

 

i struggle with the possibility of creating a Flows Dynamic Block. The problem i face is that i need to change between 14 different users (colors) that can be combined in different ways. No more than 6 of them can be present in one single block so i already created a visibility state that allows me to select from 1 to 6 flows.

 

Now i need to select the color for this 6 posibilities independently, so for example, if i select 4 flows i would like to be able to select each flow color from the 14 posibilities and that if i need to do the same in a different area with  4 different colors the block allows me. 

 

I was thinking about a dropdown menu (Lookup+Visibility) but this will cause this block to be super heavy and not practical. Is there a way to create this block in an efficent way? 

 

thanks in advance

0 Likes
2,204 Views
3 Replies
Replies (3)
Message 2 of 4

3wood
Advisor
Advisor

I am afraid you either need a customized add-on or a heavy dynamic block to make it work.

Dynamic block parameters do not include its entity colors or layers.

Refer to this discussion: https://forums.autodesk.com/t5/dynamic-blocks-forum/change-color-of-an-object-by-parameter/td-p/6644...

 

0 Likes
Message 3 of 4

3wood
Advisor
Advisor

Another way to speed up the process might be using GROUP.

Just copy 6 blocks in a row and use command GROUP to group them up. Then press Crtl+Shift+A to select the group.

You can press Crtl+Shift+A at any time to temporally allowing change individual block color or delete 1 or 2 blocks, then press Crtl+Shift+A again back to group selection.

You can also copy the whole group as a new group and then change individual block properties inside the new group.

This method doesn't create complicated dynamic blocks and it will keep the file simple.

 

0 Likes
Message 4 of 4

handras_2025
Explorer
Explorer

First of all sorry for reviving an old thread.

Probably you've figured a way out.

 

Like others said it is not possible to change a property by an action in a dynamic block.

But the thing you asked can be done in multiple, easier ways.

 

1. Create a dynamic block with a linear parameter, add Array action to it. Limit the number of array items by changing linear parameter distance type to increments. Change objects color to ByLayer and save the block. This way you can change color by modifying the blocks layer. No visibility states required.

2. This is the same as Nr.1 but with different visibility states. I attached a sample dwg.

0 Likes