Search the Community
Showing results for tags 'object info panel'.
Found 1 result
I'm trying to set parameter visibility in the object info panel. In the old vector script I would retrieve the custom object information as follows: result:= GetCustomObjectInfo(objname,oh,rh,wh); I would then set the visibility of the parameter as follows: SetParameterVisibility(oh,'parametername',FALSE); In python I am trying to accomplish the same thing. I've tried the following: result = vs.GetCustomObjectInfo(objname,oh,rh,wh) and then I attempted to set the visibility as follows: vs.SetParameterVisibility(oh, 'parametername', FALSE) when i run the script I get the following error: NameError: name 'objname' is not defined Does anyone know how to accomplish this using best practice? Thanks, Derek