On 16/08/2017 at 04:30, xxxxxxxx wrote:
Hello,
I am trying to iterate trough tag attributes with a script:
import c4d
def main() :
if op is None: return
for tag in op.GetTags() :
bc = tag.GetDataInstance()
for value in bc:
print value
if __name__=='__main__':
main()
It all goes well until it comes to some "unsupported" attributes, likes of Weight tag, Visual Selector tag...
It gives an error with such tags stating:
"AttributeError: Parameter value not accessible (object unknown in Python)"
I really have no idea how to bypass this. Is there a better way of doing this? Or am I missing something obvious?
Thanks,
Sandi