PDA

View Full Version : Adjusting the layout of a Custom Parameter


pete
03-24-2009, 11:56 PM
Hi there

just wondering if it is possible to adjust the layout of a custom parameter. I'd like to put it in groups etc and add buttons to make it a little more user friendly than just a huge disorganised list of stuff. I've looked at the custom property wizard but it seems pretty complicated and I read somewhere that it doesn't support proxy parameters.

Here's a little script i made to create a test object and put some proxy params in a set.
How would I go about putting the u and v segs into a group (for example)?

SetValue "preferences.Interaction.selecttextbox", False
SetValue "preferences.Interaction.autoresize", False

CreatePrim "Sphere", "MeshSurface"
set oRoot = ActiveSceneRoot
set oSphere = oRoot.findchild ("sphere")
logmessage oSphere
set prop = oSphere.AddProperty("CustomProperty",false, "BLAM")
AddProxyParam oSphere&".BLAM", "sphere.sphere.radius","Radius"
AddProxyParam oSphere&".BLAM", "sphere.polymsh.geom.subdivu","U_Segs"
AddProxyParam oSphere&".BLAM", "sphere.polymsh.geom.subdivv","V_Segs"

inspectObj "sphere.BLAM"

SetValue "preferences.Interaction.selecttextbox", true
SetValue "preferences.Interaction.autoresize", true

http://www.naffupdate.com/forumfiles/customP.jpg


- Sorry this one has turned out to be a bit more scripty than I first thought, maybe should have put it in another category...

Thanks
Pete

CGTalk Moderation
03-24-2009, 11:56 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.