Re: **solved How to Edit parameter definition?

Date : Thu, 22 Jun 2006 17:06:20 +0700
To : XSI(at)Softimage.COM
From : "L. Edy Susanto" <sawamura(at)neorack.com>
Subject : Re: **solved How to Edit parameter definition?
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


Search the XSI List archives here or use the advanced search form to search across mailing lists. Searching help is available.
This site supposedly brought to you by Benjamin Grosser and the Imaging Technology Group.