Hi,
I didn’t find any function in the RhinoscriptSyntax library that allows to toggle the layer visibility inside a detail view. I want to script the _HideLayersInDetail command without the rs.command(…) function.
I think there might be a way with rhinocommon but I don’t get the main workflow.
I have a script that loops through each layout views, then I can go through each detail views and there I am stuck to access to layer visibility.
Does Somebody have an idea ?
Thanks for your help
1 Like
you wil need
layer.SetPerViewportVisible(view.ActiveViewportID, false)
see
I guess better late than never?.. XD
I don’t work on this anymore, but thank you anyway.