Hi - I am learning scripting in Soft Image. I want to write a script that hides the background partitions in every pass but the pass that is currently selected. Is this possible? If so, how would I accomplish this? I have been using VBScript for everything else, but an example of how to do this in any language would be useful. Thanks!
for p in si.ActiveProject.ActiveScene.Passes:
if not p.IsEqualTo( Application.ActiveProject.ActiveScene.ActivePass ): part = p.Partitions("Background_Objects_Partition") part.Parameters("viewvis").Value = 0