Thanks both for the info.

On Monday, December 01, 2014 3:52:33 PM, Bradley Friedman wrote:
As in mel before it, I’ve generally forced it to import into a group, and hence 
have the ability to specify the group name.  Then I acquire the new group by 
name.  By definition, its children are the things that were imported.  If the 
new group is undesirable, I un-parent the contents and then delete it once I’ve 
used it to get a handle on the file contents.

Ugly, but effective.

-brad

On Dec 1, 2014, at 3:06 PM, Eric Thivierge <[email protected]> wrote:

Is there a way to get a pointer / node of the top node of a Maya file that was imported 
using the PyMel method "ImportFile"? It seems it may be returning all of the 
nodes that are imported and then I'd have to iterate through them all and see which one 
doesn't have a parent?

Thanks,
Eric T.

--
You received this message because you are subscribed to the Google Groups "Python 
Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/547CCA5C.6090608%40hybride.com.
For more options, visit https://groups.google.com/d/optout.


--
You received this message because you are subscribed to the Google Groups "Python 
Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/547CD5E6.1050204%40hybride.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to