Wiretap (Read Only)
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Unusual getNumChildren / getNodeTypeStr Problem

1 REPLY 1
Reply
Message 1 of 2
bfattorini
452 Views, 1 Reply

Unusual getNumChildren / getNodeTypeStr Problem

Using Python.

I have one particular REEL that according to getNumChildren contains eleven children.

When I try to list the chidren, say using the supplied WireTap Python example listChildren.py, it will manage to list seven CLIP's but then fail on the eighth when trying to obtain node type with the message:

raise 'Unable to obtain node type: %s.' % child.lastError()

Unable to obtain node type: The given ID is not valid. The ID must begin with the root node of the host. The root node may be queried through the call getRootNode.

Is perhaps what I'm seeing the result of a corrupt clip?

Brian
1 REPLY 1
Message 2 of 2
Anonymous
in reply to: bfattorini

Yes, it's possible that you have a corrupt clip. The error message could be improved here though. Please have a peek at the server logs to see if anything better shows up.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report