th0rse
06-20-2009, 03:57 PM
Hey!
I'm trying to get my script to list the sets that I have in the scene. In fact, I donīt want to get all the sets that exist in the scene but those that show up in the Outliner when the option "DAG Objects Only" is ticked.
In the outliner those sets are shown like this:
http://www.davidmartinez.com/tmp/images/sets.jpg
I've tried to use the following commands:
ls -sets
and
listSets -as
Both of them return a lot of nodes that I donīt want to use. Is there any way to show only those that are showing up in the Outliner when the option "DAG Objects Only" is ticked ??
And what is the difference between these nodes and the ones that those commands are returning?
Thanks in advance
I'm trying to get my script to list the sets that I have in the scene. In fact, I donīt want to get all the sets that exist in the scene but those that show up in the Outliner when the option "DAG Objects Only" is ticked.
In the outliner those sets are shown like this:
http://www.davidmartinez.com/tmp/images/sets.jpg
I've tried to use the following commands:
ls -sets
and
listSets -as
Both of them return a lot of nodes that I donīt want to use. Is there any way to show only those that are showing up in the Outliner when the option "DAG Objects Only" is ticked ??
And what is the difference between these nodes and the ones that those commands are returning?
Thanks in advance
