Justin Israel wrote:
On Sun, 18 Oct 2015 1:56 PM Christopher. <[email protected]
<mailto:[email protected]>> wrote:
General question about scripts, some scripts tell you to place
them in your python directory, whether that is your Maya default
installation directory or a custom directory set forth by your
maya env variable file. At the moment my scripts are all throw in
a custom python scripts folder, quite messy, I have begun placing
the scripts within the python scripts folder, but within a
respectful directory for organization, and also for easy upgrading
of scripts, maybe some of you do this as well ?
They don't have to specifically be placed in Maya's python locations.
They just need to be in the PYTHONPATH by some means. Like you said,
this may have been extended via the Maya.env or otherwise.
Since beginning to do this, I get when running the script command,
whatever that may be for a particular script; I get the following
error; *<script name> is not defined error* ?
Is this the actual python error? What were you trying to execute, and
where was it located on your file system?
This is the actual error, although the script is not called <script
name> you knew that, that is strictly a placeholder for the actual
script name. I placed the script in my pythonscripts path and I get that
error, does it matter if the script is within a folder in the
pythonscripts path ?
--
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]
<mailto:[email protected]>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/python_inside_maya/5b6513aa-f432-4f3a-8ffa-96356d9f79ea%40googlegroups.com
<https://groups.google.com/d/msgid/python_inside_maya/5b6513aa-f432-4f3a-8ffa-96356d9f79ea%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the
Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/python_inside_maya/8SgJdsUZ0b8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
[email protected]
<mailto:[email protected]>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA2bArC-iy8-JfZH7vzGzke84TOCpi2%2BjDLp88q5kbmn%3DQ%40mail.gmail.com
<https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA2bArC-iy8-JfZH7vzGzke84TOCpi2%2BjDLp88q5kbmn%3DQ%40mail.gmail.com?utm_medium=email&utm_source=footer>.
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/562313CA.4040005%40gmail.com.
For more options, visit https://groups.google.com/d/optout.