Hi there:
After creating a Custom
Pset, I would like to see if it was created. Using Find, I am not getting the
correct answer. Could someone let me know what I am doing wrong
//script
var oCustomProperty =
Application.ActiveProject.ActiveScene.Root.AddProperty("CustomProperty",0,"LensControls"
) ;
oEnum = new
Enumerator(Application.ActiveProject.ActiveScene.Root.Properties );
for
(;!oEnum.atEnd();oEnum.moveNext()) {
logmessage
(oEnum.item().fullname);
}
var oPSet =
Application.ActiveProject.ActiveScene.Root.Properties.Find("LensControls");
if (oPSet == null){
logmessage
("No");
}else{
logmessage ("yes");
}
Thanks
Biju