Creating Instances In Dynamic Blocks

Creating Instances In Dynamic Blocks

christianbaileypaulsen1
Advocate Advocate
285 Views
1 Reply
Message 1 of 2

Creating Instances In Dynamic Blocks

christianbaileypaulsen1
Advocate
Advocate

So right now the only way i know how to "create" instances using a dynamic block is with visibility states. Say i have one visibility state called "off" where there is just a square with no text, then i have another visibility state called "on" where there is that same square but with some text underneath it. Im "creating" that instance of the text by turning it off and on using visibility states. 

 

My question is, does anyone have alternative methods of doing this same thing? Turning instances inside of a block off or on, or deleting and making new instances without using visibility states? Perhaps maybe using an attribute somehow?

 

My end goal would be to in theory, create instances by editing an attribute. Maybe enter 2 into the attribute to make 2 circles, or 3 for 3 circles. 

 

Anyways, if anyone does have a way of creating instances within a block without using visibility states it would be great to learn something new.

 

Thank you!

0 Likes
286 Views
1 Reply
Reply (1)
Message 2 of 2

christianbaileypaulsen1
Advocate
Advocate

So ive been working on my block this morning. I found that i like to use a block properties table instead of a visibility drop down just because it gives a bit of a cleaner look. This is still not ideal though. Not using any drop down and only editing an attribute would work best.

 

Ive attached my block for reference. The panel on the left is our base panel, and all of our different size panels will be based off this example once perfected. This block has the block properties drop down for infills. We then have upper panels which is essentially the same thing but with 2 more connectors. The connectors are just nodes with properties. Nothing fancy.

 

The block in the middle was my first attempt at making an upper panel. I just blocked the original panel on its side and then added in two more connectors. When doing this i lose the ability to select the infills because it is a block inside of a block.

 

So then i created the panel on the far right which is the same thing as the middle panel but i had to recreate the block properties lookup. This wasnt hard but did take a bit more time. We have to create these blocks for 10+ different sizes of panels and it could be very time consuming.

 

Does anyone have a way around this so that i can count the infills without the dropdowns?

0 Likes