Choose operator dialog

   5150   4   0
User Avatar
Member
398 posts
Joined: July 2005
Offline
Is it possible to call Choose Operator dialog from custom VEX type operator? Maybe some undocumented pragma exists?
In this picture you can see what I mean http://www.aviajournal.interami.com/tmp/choose_op.gif [aviajournal.interami.com]
f = conserve . diffuse . advect . add

fx td @ the mill
User Avatar
Staff
4441 posts
Joined: July 2005
Offline
Try:

#pragma hint <parmname> oppath <optype>

Where <parmname> is the name of your parameter, and <optype> is “sop”, or “pop”, or “obj/geo”… A complete list of available optype values is in the VEX compiler documentation unter the “hint” pargma.

Mark
User Avatar
Member
398 posts
Joined: July 2005
Offline
In my help for 6.5.53 I see only

#pragma callback
#pragma crypt
#pragma help
#pragma info
#pragma name
#pragma label
#pragma hint
#pragma range
#pragma choice
#pragma group
#pragma rendermask


And for hint only following options: none, toggle, color, direction, position, angle, file, image, geometry, hidden.

Maybe you have newer help Thanks I will try it!

P.S. It works! Thanx again
Edited by - June 3, 2004 17:46:29
f = conserve . diffuse . advect . add

fx td @ the mill
User Avatar
Member
941 posts
Joined: July 2005
Offline
The #pragma that Mark mentioned is (one flavour of) “#pragma hint”… which is in your list
There are many kinds of hints, and they are all controlled through arguments to a single directive: #pragma hint

Cheers!
Mario Marengo
Senior Developer at Folks VFX [folksvfx.com] in Toronto, Canada.
User Avatar
Member
398 posts
Joined: July 2005
Offline
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)?
f = conserve . diffuse . advect . add

fx td @ the mill
  • Quick Links