Xgen file path error


#1

Hi Everyone,

I am getting this error while trying to create region maps in xgen:

Error while trying to do ptexBake
// Error: XGen: Failed to find test_plane_desc/Region/pPlane1.ptx //
// Error: XGen: Searched path includes:
D:/work/Bharat/Titus2018/xgen/collections/test_plane_col/test_plane_desc/Region/pPlane1.ptx (Part of path doesn’t exist)
C:/Users/Rohit/Documents/xgen/test_plane_desc/Region/pPlane1.ptx (Part of path doesn’t exist)
C:/Program Files/Autodesk/Maya2018/plug-ins/xgen/presets/test_plane_desc/Region/pPlane1.ptx (Part of path doesn’t exist) //
// Error: line 1: XGen: Failed to find test_plane_desc/Region/pPlane1.ptx //
// Error: line 1: XGen: Searched path includes:
D:/work/Bharat/Titus2018/xgen/collections/test_plane_col/test_plane_desc/Region/pPlane1.ptx (Part of path doesn’t exist)
C:/Users/Rohit/Documents/xgen/test_plane_desc/Region/pPlane1.ptx (Part of path doesn’t exist)
C:/Program Files/Autodesk/Maya2018/plug-ins/xgen/presets/test_plane_desc/Region/pPlane1.ptx (Part of path doesn’t exist) //

This is how my xgen file path looks like:
${PROJECT}xgen/collections/test_plane_col

I tried putting the absolute path as well, but same error:

What am I missing here?

Thanks,

Rohit


#2

Did you try to address help desk?
Contact support representatives at achieveessays to help you with this error.


#3

are you on windows.?
there is a windows bug wich prevent maya from overwriting the ptex file.
you have to close and reopen maya.

are you using maya2018.4.?


#4

you can set relative and absolute paths in the XGen file path, to point to the location directly. The relative path uses the ${PROJECT} flag, but you can add an absolute path or paths using ; separation

XGen file path editing

cheers