How can I initialize userSetup for Mayapy / Sub process?
40 views
Skip to first unread message
I73
unread,
Oct 3, 2016, 4:21:17 PM10/3/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Python Programming for Autodesk Maya
I am trying to run a subprocess with mayapy and I am failing to import a module because I have a path that is set at run time by userSetup.py. The question is how can I load a 'userSetup.py' while running a process?
I73
unread,
Oct 3, 2016, 4:31:25 PM10/3/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Python Programming for Autodesk Maya
I asked too soon, I am now passing my actual module to the sub process and importing that when initialized. If there is a better practice I would be interested in hearing it,