Almost got it!
rig = rig_mod.rig
That’s because the module was already imported in the line above, but cannot use the from ... syntax since that would try and import it again. Your rig_mod is a perfectly fine imported module.
--
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/5fbb91c7-1c54-458b-8115-f932a6397404n%40googlegroups.com.