R8 - BUG - Grasshopper Content - Detail Visibility Not Retained

Hello,

I am procedurally generating drawings with Grasshopper via the R8 components.

Creating linetypes, hatches, etc. within GH then baking/caching to Rhino Model for the end result of automated Construction Documents (Full Set with many sheets, Floor plans, elevations, details, electrical plans, etc. most of it is going smoothly)

Unfortunately, every time GH recomputes, it ignores the Per Detail visibility attributes set in Rhino Layers.

In example, If I generate a series of curves on layer “Diagram::Test Curves” it will show up in a Detail View on a layout page despite the layer “Diagram::Test Curves” being set to “New Detail On = Off” and “Layout On = No”

I have a feeling this is happening because the example layer “Diagram::Test Curves” is being created dynamically at bake time in GH and therefore it either is not updating the Rhino layer table, or reading form the Rhino layer table to understand the Detail specific visibility settings that exist on that specific layer in between bake “cycles”.

Please see the video here outlining the issue:

@kike @AndyPayne

I appreciate your time and response,

Thank you!

Test Files:
R8_GH_Detail_Visibility_Bug_Manual_Layer_Creation_In_Rhino.3dm (64.3 KB)
R8_GH_Detail_Visibility_Bug_Automated_Layer_Creation_In_Grasshopper.3dm (59.3 KB)
R8_GH_Detail_Visibility_Bug_Automated_Layer_Creation_In_Grasshopper.gh (6.2 KB)

1 Like

This endeavor is great! I can see your point. likely this issue is due to the intention of the feature. it is always easier to assume <Create a Layers , Override Existing> than <Checking Layers, If existing then keep, else create new layers>
I’d love to see a solution for this one is implemented.
Thank you for the hard work testing these features for usability.

1 Like

I’m definitely thinking that’s the default behavior, that it checks against the Grasshopper exposed options on the components but ignores the others for now.

But man, it’s a bear to check the visibility across a full document set :upside_down_face:

Hopefully it can be updated to accommodate existing layer visiblity or set it from within GH.

Thanks for your response @tay.othman

1 Like

Hi @michaelvollrath,

This definition is baking two new circles on two new layers.
Since are new, Grasshopper is fully replacing them, this way when colors are disconnected and all is pushed again is pushed with the default values and honors only to what you have on the canvas, everything from the previous iteration is lost.

All this content is still volatile even is already on the model because didn’t start from a reference on the model, so is not updating but replacing, else after assign the orange to the object and deassing it back the color would stay orange no matter the color you assign to the layers.

Right now to enable the behavior you are looking for you need to reference the layers you want to push with all its attributes defined, included the per-viewport visibility you edited from the UI.

Something like this.

A new issue we have here is that ‘Query Layers’ will not return us any layer on the first run, so to solve this you can use something like this.

If missing ‘List Item’ will return nulls and ‘Replace Nulls’ will pass the names, else the existing Layers are passed.
With this setup all the Layer attributes are present in Grasshopper since the start of the solution and preserves them when pushed.

I know is a workaround but I hope it helps until we have something to control layer attributes per detail.

2 Likes

Thanks for explaining and sharing a workaround @kike , I really appreciate it!

I’ll give this a go and have no problem implementing a workaround until the there’s visibility control in the future.

I’ll report back but from what I can tell, this appears to cover what I’m after for now. Thank you!

Unfortunately there is a bug in 8.1 that does not allow you to create a Cluster with all this group of components.
In 8.1 ‘Query’ components do not expire when there is a change on the model if they are on a Cluster.
This is fixed in 8.2.

1 Like

Thanks for noting that! When the bake component was first introduced it had some erratic behavior when clustered so since then, anything that I am using to reference, or bake to the model I have been keeping those components in regular graph space and clustering in between as needed.

That being said, I’m looking forward to the opportunity of it working inside clusters as that will of course be really beneficial on repeated use cases and graph organization.

Thanks Kike!

The problem you mention on ‘Content Cache’ was fixed on 8.0, please give it a chance to clusters again.

This is about Query on Clusters now.

2 Likes

Awesome, will do, thank you!