Cthulhu
11-19-2009, 02:53 PM
Hey,
I am trying to do a pretty basic script which just lists my objects in the scene like the Outliner.
The thing is, I have no idea how get the correct objects, because the "ls" command lists all kind of stuff that I do not want.
Example:
I have a camera. In the Outliner, it is listed as "camera1"
now, when I do a "ls -cameras", the result is "cameraShape1", which is not what i wanted.
What can I do to get the same results as shown in the Outliner?
Thanks for your help!
I am trying to do a pretty basic script which just lists my objects in the scene like the Outliner.
The thing is, I have no idea how get the correct objects, because the "ls" command lists all kind of stuff that I do not want.
Example:
I have a camera. In the Outliner, it is listed as "camera1"
now, when I do a "ls -cameras", the result is "cameraShape1", which is not what i wanted.
What can I do to get the same results as shown in the Outliner?
Thanks for your help!
