Posts: 5
Registered: ‎12-27-2006
Message 1 of 2 (198 Views)

Unusual getNumChildren / getNodeTypeStr Problem

198 Views, 1 Replies
04-11-2007 02:37 AM
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?

Distinguished Contributor
Posts: 103
Registered: ‎05-11-2004
Message 2 of 2 (198 Views)

Re: Unusual getNumChildren / getNodeTypeStr Problem

04-11-2007 09:53 PM 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.
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.