Home Youtube GitHub

Custom Steps error


#1

Following along the import_geo script from youtube.
This step is failing me at the moment

Traceback (most recent call last):
File “C:\Users\BennGarnish\Documents\mgear_3.0.5\scripts\mgear\shifter\guide.py”, line 1110, in runStep
cs.run(customStepDic)
File “C:/Users/BennGarnish/Dropbox/GameChange/NewTemplateChar/mGear/build/scripts/pre/import_geo.py”, line 27, in run
self.import_geometry()
File “C:/Users/BennGarnish/Dropbox/GameChange/NewTemplateChar/mGear/build/scripts/pre/import_geo.py”, line 35, in import_geometry
pm.importFile(os.path.joint(path, “assets”, “face.ma”))
AttributeError: ‘module’ object has no attribute ‘joint’


#2

I think you need to correct this
pm.importFile(os.path.joint(path, “assets”, “face.ma”))
to
pm.importFile(os.path.join(path, “assets”, “face.ma”))


#3

THANK YOU!!!
Always gets me some simple text that’s been mis-spelt.