How to set Detail Level of all views on Sheets

Hello, I am trying to figure out how to set the detail level of all views on sheets, but I don’t seem to be able to do it. Is detail level considered a built-in parameter? If not, then why doesn’t my script show any when I try to run it? I tried the element.parameters node, but that just runs indefinitely and never completes. Can anyone help me out here? thanks!

You can get the parameter value with Element.GetParameterValueByName. Detail Level can be set with the corresponding integer value.