Introduction to Maya - Rendering in Arnold
This course will look at the fundamentals of rendering in Arnold. We'll go through the different light types available, cameras, shaders, Arnold's render settings and finally how to split an image into render passes (AOV's), before we then reassemble it i
# 1 17-04-2015 , 10:37 AM
Subscriber
Join Date: May 2011
Posts: 58

Problem loading Python script

Hello,

I'm working through 'Realistic Outdoor Environments part 6' and have downloaded the djPFXUVs file (multiUV) and placed it in: (Mac) Users/Shared/Autodesk/maya/2013/python
When I run:
import djPFXUVs
djPFXUVs.layoutUI()

I get:
# Error: line 1: ImportError: file <maya console> line 1: No module named djPFXUVs #

I've not used python before so I'm out of my depth.
Any help would be greatly appreciated.

# 2 17-04-2015 , 04:39 PM
David's Avatar
SM Tea Boy
Join Date: Apr 2002
Location: Prague
Posts: 3,228
try putting your script here on a mac /Users/Shared/Autodesk/Maya/(Version)/scripts

you will need to restart maya or use the rehash command in the mel script window.

David user added image


From a readers' Q and A column in TV GUIDE: "If we get involved in a nuclear war, would the electromagnetic pulses from exploding bombs damage my videotapes?"
# 3 20-04-2015 , 01:48 PM
Subscriber
Join Date: May 2011
Posts: 58
Thanks David.

# 4 20-04-2015 , 02:18 PM
Subscriber
Join Date: May 2011
Posts: 58
just in case anyone else has this problem on 2013, I adapted this from another python thread:


import sys
sys.path.append("/Users/Shared/Autodesk/maya/2013/python")

import djPFXUVs
djPFXUVs.layoutUI()

# 5 20-11-2022 , 02:16 PM
Registered User
Join Date: Jan 2016
Posts: 2

HOW TO INSTALL THE SCRIPT IN MAYA 2023


Posting Rules Forum Rules
You may not post new threads | You may not post replies | You may not post attachments | You may not edit your posts | BB code is On | Smilies are On | [IMG] code is On | HTML code is Off

Similar Threads