Although you can create this functionality on the fly in the logic
section for custom properties created from within a script, it is not
maintained when saving and reloading the scene. You need to create a
self-installed custom property instead to make it a permanent effect:
SDK>Customizing with the SDK>Custom Properties>Property Callbacks
It will looks like this:
//DoLArm on changed
function aa_MoCap2IKTemplate_paramDoLArm_OnChanged(){
paramLArmName.ReadOnly = !paramDoLArm.Value;
PPG.PPGLayout.Item("paramLArmPick").SetAttribute("ButtonDisable",
!paramDoLArm.Value);
PPG.Refresh();
}
Hope this helps.
-André
Denis-Jose Francois wrote:
Bernard...
I've been trying to do the same thing (get something to happen when
something else changes in a scene) but without much luck. What kind of
property plug in do you mean? can you point to anywhere that gives
more details?
In the Docs none of the listed events include 'onchanged'... which
sounds like what I'm looking for....
cheers
DJF
---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi