Search the Community
Showing results for tags 'oip'.
-
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
- 5 replies
-
- parameter
- visibilites
-
(and 3 more)
Tagged with:
-
I think every PIO'S Setup Dialog needs checkboxes for which entry will appear in OIP, or not. Also I think OIP entries should have an option to collapse groups of entries and a better visual separation.
-
I would like the ability to lock/unlock an objects proportions in the Object Info Palette much like you can in Illustrator. This option should default on for imported images. Then you could enter an x dimension and have the y change in proportion. It would also be useful for all sorts of geometric objects, both 2D and 3D. This functionality already exists for Image Props with the Lock Aspect Ratio checkbox. KM
-
I'm curious to know if its possible to display values generated by a Marionette network in the OIP. I've experimented a little with the Marionette OIP controls and I am able to display static info using Marionette.WidgetType.TextStaticParam. I've created a couple of simple custom nodes for Maker Info and Object Name and I'm able to essentially trick Marionette into displaying this info for Marionette Objects (image below). But what if I wanted to display the area of an object generated by a Marionette Object in a static manner like what you see with a regular VW object. Is this possible? Is there a way to feed a variable from a network back to the OIP? I know I can easily display something like this as text on the drawing but I'd like it in the OIP. Thanks, Kevin OIP Example.vwx