Real path of files (Missing, Found in ...)

Using AssetTracker i can see the real path of files (bitmaps, vray proxies, photometric webs, etc.).

For example, vrayproxy is pointing to file "c:\1\mymesh.vrmesh", but 3dmax have found file in user paths or in max-file folder. AssetTracker says: "c:\1\mymesh.vrmesh", missing, found in "c:\myproject" (where "prj.max" file is).

But via MaxScript i cannot get this real path ("c:\myproject"):
print $myproxy.filename -> "c:\1\mymesh.vrmesh"

In case of bitmaps function "usedMaps()" for bitmapTexture node is helpful. But is there more general way to get real path of linked file (bitmap, vraymesh, ies, xref etc.)?

Thanks in advance.

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Tertium's picture

just found: n =

just found:

n = mapPaths.getFullFilePath o.filename

zahid hasan's picture

thanks for the usefull info.

thanks for the usefull info.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.