Unsure whether this’ll work with all file formats, but for native Maya files there’s the returnNewNodes
argument for cmds.file()
, you can pass that to cmds.select()
.
--
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 python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/f04f5e39-35e7-47de-aab5-60ab9bc2b14bn%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAFRtmOAwYBJgwaikfydKfZvsHksdanopy7E%2BseSPpX5-OJbucQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/93680c1f-f729-47b2-8a4a-1f9f471751a1n%40googlegroups.com.