On 10/10/2015 at 20:19, xxxxxxxx wrote:
HI,
I was looking for a solution to remove Dynamic Body Tags with python, I tried with this script (below) it work perfectly with all other tags, except the dynamic body tags.
It gave me this Error message:
Script:
import c4d
def main() :
Parent = doc.SearchObject("Parent")
objList = Parent.GetChildren()
selected = doc.GetActiveObjects(0)
for ob in selected:
obSelected = ob.GetName()
if obSelected == "Parent" :
for child in objList:
TagList = child.GetTags()
for childTags in TagList:
childTags.Remove()