hoknamahn Posted June 13, 2004 Share Posted June 13, 2004 How to create an interface element looks like a combo box in subnet type operator (i mean that ui element which is possible to create with pragma choice directive in VEX type operator)? Quote Link to comment Share on other sites More sharing options...
edward Posted June 13, 2004 Share Posted June 13, 2004 Not quite sure what you mean. All I see in that picture are menus and folders. You can create both of those easily in the Parameters tab of the Operator Type Properties dialog. Quote Link to comment Share on other sites More sharing options...
Mcronin Posted June 13, 2004 Share Posted June 13, 2004 Yes, it's the menus he's referring to. Do this. Pipe a tube a box and a sphere into a switch SOP. Select these 4 SOPs and ctrl-rmb and select "collapse to subnet". ctrl-rmb on the new subnet and select "create type from" and accept on the OTL dialogue. right click on the new OTL and select "Type properties". Go to the parameters page in the Type Properties. Go inside the OTL network. Drag the switch parameter from the switch SOP into the parameters box of the parameters tab of the OTL properties page. Set it to integer, size 1, and range to 0 2. Click the menu toggle at the bottom of the parameters tab in the type properties. Create 3 tokens like this: 0 Tube 1 Box 2 Sphere You should now have a nice dropdown menu with String labels that controls the switch inside the OTL. Quote Link to comment Share on other sites More sharing options...
hoknamahn Posted June 13, 2004 Author Share Posted June 13, 2004 Thanks! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.