PixelFarmer
09-29-2006, 10:07 AM
Hello:
I haven't done much LScripting, but I'm starting to.
I have a gaggle of objects that I want to lock so I can hide them using the item filter in the dope sheet. I have created scripts to change their display properties (hidden, bbox, etc.), but I'm not able to figure out how to lock them. Say I have 100 objects named Image001.lwo, Image002.lwo etc). Below is what I have, I'd imagine its a simple thing to do.
Thanks.
Mitch
----------------------------------------------------------
@warnings
generic
{
SelectItem("Image001");
ItemLock();
SelectItem("Image002");
ItemLock();
SelectItem("Image003");
ItemLock();
...
}
I haven't done much LScripting, but I'm starting to.
I have a gaggle of objects that I want to lock so I can hide them using the item filter in the dope sheet. I have created scripts to change their display properties (hidden, bbox, etc.), but I'm not able to figure out how to lock them. Say I have 100 objects named Image001.lwo, Image002.lwo etc). Below is what I have, I'd imagine its a simple thing to do.
Thanks.
Mitch
----------------------------------------------------------
@warnings
generic
{
SelectItem("Image001");
ItemLock();
SelectItem("Image002");
ItemLock();
SelectItem("Image003");
ItemLock();
...
}