Get layer objects, or get objects layer?

Previous topic - Next topic

Gibbz

Im working on a script that uses layers. But I cant find any way to get a layers objects, or any object properties which shows which layer the object is on.

Is there any way to do either of these?