--
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/1b028a8e-5868-48f4-81c9-e79faf78145d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
On Tue, Sep 12, 2017 at 11:01 AM jettam <justin...@gmail.com> wrote:Q1 .. Is it okay for Maya (2017) to load two userSetup files upon launch, a .mel version and a .py version?Q2. I am trying to get maya to auto load my 'see' module upon launch. So I add this code to my userSetup.py Unfortunately this doesnt work. Could someone tell me what I am missing in this code.// PYTHON CONVENIENCE TOOLfrom see import seeIf I remember correctly, Maya would pick up the py file first if it exists, otherwise it would use the mel script (or visa versa?) but I believe you should only have one or the other.That import statement looks correct to me, and it is similar to what I do in my own userSetup.py:import maya.cmds as cmdsimport maya.OpenMaya as om
--
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_maya+unsub...@googlegroups.com.
@robert, thanks for that info, goldmine!
@jettam If that comment is present in your userSetup.py then you’ve got a syntax error and the import would not happen. Try using a # instead of a //
// PYTHON CONVENIENCE TOOL
from see import see
# PYTHON CONVENIENCE TOOL
from see import see
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_maya+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/1b028a8e-5868-48f4-81c9-e79faf78145d%40googlegroups.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 python_inside_maya+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/5b88ad89-99cd-4651-9cf3-3484f02bc1a8%40googlegroups.com.
--
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_maya+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/a7512dda-b076-482f-bc39-595615581e1d%40googlegroups.com.