network drive path to UNC path
Hi!
How can I change(replace) may network drive path to UNC using maxscript ?
ex:
T:/work/model_A/texture
T:/work/model_B/texture
T:/work/render
change to
//PC01/work/model_A/texture
//PC01/work/model_B/texture
//PC01/work/render
I just want to change "T:" to "//PC01",
and these are the list of I like to change.
map path
Render Output path
Render Elements path
XRef Objects path
Im using max2012
thank you
Comments
...
can tell whether this works in Max2012
but lets hope its helpful anyway.
my recent MAXScripts RSS (archive here)
IES file
Hi,
I used your script and it work great :), except it's not converting the IES file for photometric light. i tried to change some of the code but with no success.
I need help to add this feature
Thanks...
I could change bitmaps using
I could change bitmaps using script below,
but I have no idea how to write "Render Output path""RenderElements path"and"XRef Objects path" in maxscript.
for m in (getClassInstances bitmapTexture) do (
drive = toLower (subString m.filename 1 2)
if (drive == "T:") then ( m.filename = "\\\PC01" + subString m.filename 3 -1 )
)