Hello,
I wrote a script that does a simple check up if the selected object is used in any Link or InExcludeData field trough the scene (objects, tags, nodes..), so you can debug a messy project and find out which objects are important or not.
I never updated it to include Field list, so I come here for help since I am lost.
The code to crawl trough is as follows
def iter_container(bc):
for value in bc:
if type(value[1]) == c4d.InExcludeData:
for i in range(0, value[1].GetObjectCount()):
if value[1].ObjectFromIndex(doc, i) == op:
return 1
if value[1] == op:
return 1
I figured out I have to check
if type(value[1]) == c4d.FieldList:
But how do iterate trough it and check each objects like with inexcludedata?
Thanks for help!
Sandi