got it guys. thx :)
ActiveSceneRoot.Properties("My_CP").parameters("ReadOnly").ReadOnly = false;
ActiveSceneRoot.Properties("My_CP").parameters("ReadOnly").SetCapabilityFlag(1,
true);
L. Edy Susanto wrote:
Hi,
I wonder if it's possible to edit the custom parameter definition.
I accidentally create a read only parameter and now I want to get it
to be an animatable param.
like in the case below, how do I change the "ReadOnly" param to an
animatable param?
var CP = ActiveSceneRoot.AddCustomProperty("My_CP", false);
var param1 = CP.AddParameter3 ("ReadOnly", siInt2, 5, 0, 10, false,
true);
var param2 = CP.AddParameter3 ("Animatable", siInt2, 5, 0, 10, true,
false);
InspectObj(CP);
thx.
rgds,
e.s.
---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in
body:
unsubscribe xsi
--
L. Edy Susanto
Infinite Frameworks
---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi