Rhinoscript: Set Layer Visibility per Detail

Is there a Rhinoscript method to set layer visibility on a per-detail basis in layouts? I can’t find this in the online documentation, and I see that there is a method available in Rhinocommon: Layer.SetPerViewportVisible (I’m very new to scripting, but Rhinocommon actions do not transfer to Rhinoscript, correct?) Thanks.

HI @Brayton_Orchard,

You will need to use Python (with RhinoCommon), as RhinoScript (VBS) doesn’t not have a method that will do this.

– Dale

Dah. Thank you for the quick response.