ScriptSpot home

ZOA Path Editor

Downloads

3ds Max compatibility
Unknown
Community compatibilityNo compatibility reports yet

No reports yet for the available releases.

Community reviewsNo reviews yet.

Listing details

Version
4.00
Original version requirement
tested on maxR2016
Author’s update date
Legacy votes
39
Listing created
How compatibility works

Compatibility comes from the author’s supported range or requirements in the original listing. A tested version records what the author tried.

“2020 unconfirmed” in the catalog means support for 3ds Max 2020 is still unknown.

Community reports record successful tests on specific releases.

Posted by

andrasmiklos

Credited author: Balogh Andras Miklos

More by this author

Simple Path relinker application for maps, ies, hdri corona proxy and vrayproxy objects. Features are: path text replacing and copy functions. The two text fields below each section are for "original" and for "future" paths. $ stand for string. Use it to copy a map path of a selected map to the desired text field.

User interface for the maps section. Others look the same.

Revision 1: I have uptaed the script with Maelvon's nice function. Thanks Maelvon!

Revision 2 | New in v3.00:
-new ui with radiobutton filtering (use the refresh button for manual update!)
-Object selection via map name
-works for HDRIs and environment maps

Revision 4 | New in v4.00:
-sorting is possible
-works for corona related stuff

If you find a bug, report it!

Setup & notes

The old versions of the script is still availabele at the links below:
http://www.zoa.hu/maxscripts/zoa-path-editor.ms
http://www.zoa.hu/maxscripts/zoa-path_editor_v300.ms

Comments (30)
remark3d

4K-up bitmaps problem

Why script do not see textures with above 2K?

henning

Bug

For everyone not having Corona installed may I suggest following change to the code:


	if CoronaBitmap != undefined then (
		for m in getClassInstances CoronaBitmap do
		(
		if m.filename!=undefined then 
			(
			if (findItem map_tmp_list m.filename) == 0 then
				(
				append map_tmp_list m.filename
				append map_list #((getFilenamePath m.filename),(getFilenameFile  m.filename), (getFilenameType  m.filename), "bitmap","unused", #()  )
				)
			)
		)
	)

and further down:


-- fn set_bitmap----------------------------------------------------------------------------------------------	
fn set_bitmap	old_file new_file =
	(
	for m in getClassInstances BitmapTexture do
		(
		if m.filename == old_file do ( m.fileName=new_file)
		)
	if CoronaBitmap != undefined then (
		for m in getClassInstances CoronaBitmap do
			(
			if m.filename == old_file do ( m.fileName=new_file)
			)
		)
	)
1rv

Sorting! Hell yeah!Many

Sorting! Hell yeah!
Many thanks.
P.S. my compliments to your portfolio, great stuff!

1rv

Andras could you make the headlines work please? I mean pressing "file path" above would sort items by path?
Edit: it was requested earlier I missed it . any good news?

Reply to 1rv
andrasmiklos

Took me almost a year to come back to this, but finally sorting is possible. :D
Please also note, that the script was done compatible with Corona, thanks to some code from "Nik" @ the Corona Forum.

1rv

I see. May I request one additional button?
Many times after Path Editor has already re-pathed assets to a new place I insert some additional geometry.
Could this button automatically copy and re-path to the last used path the assets from newly created geometry?

onodi.andras

The $ button

does copy the path of a selected item into the actual path field. That's like a boost for the vacuum cleaner. :)

1rv

Amazing tool! works like a vacuum cleaner.
Thank you for sharing!
could you explain in deep ELI5 :) what exactly the '$' button does?

amir3dsmax

cant get hdri in vray dome light

crystal3d

Greetings, may i suggest to edit the V3 version

so that it behaves like in zoa v1 , no colum sorting but sorting by path as default...

It would immediately be practical as v1...

thanks

Ralf120

Thanx for the great job

Really thanx
is there a possibility to add rename bitmap feature?

just like "Project name_##"

thank you,

malucow

Wonderful script, congratz!

malucow

Wonderful script, congratz!

andrasmiklos

Working on it...Anyone can help?

Thanks for your comments guys. Actually I was thinking of doing that earlier, but didn't really know how sorting works in a listview. Is this the right post I should start along - http://forums.cgsociety.org/archive/index.php/t-795426.html - or does anyone know of a better tutorial or thread that deals with the same issue?

Martin Frodl

please add sorting by columns

andrasmiklos

New Version Available - v.3.00

I have just uploaded a new version. It has a brand new ui, with all the different asset-types in one window. You can filter the content of the main window with the appropriate checkbox. Please note that you have to press the refresh button once you have changed the filters.
A new feature is that you can select the objects a map is on.
I think this new UI opened up a whole lot of new ways where the script could be developing to. I wanted to ask you guys which new feature would be the most useful? :) Possibilities are:
-file renaming
-map preview with a map replace option
-dropdown list of recently used paths
-organizing the list by pressing the elements in the first row of the table

Reply to andrasmiklos
crystal3d

Hi again, nice to see you update !

I am glad that it resolves HDRIs aswell , much apreciated here!

About your questions

i think 2nd and the third one has the upper hand in priority but i cant help but ask for an "overwrite" option for the files that are already there but modified/new.

currently, if the file is there, it just skips to the next bitmap and the bitmap or proxy remains obsolete.!

here my bug hunt begins :)

ps: i really began missing the autosorting of file paths from C:\ to Z:\

andrasmiklos

Thanks for the Comments

Crystal3D, I appreciate your good advice. Those modifications would be great indeed. I will look into it when I have some time. Stay tuned!

crystal3d

one sugestion though...

Vray HDRI is not considered as an asset file there fore it s now shown in the windows, the problem is this tool is such a complete tool that i forget that is has actually some missing features and that leads to some renders without proper HDRI files,

if u dont mind, i got one other suggestion...

* a path box that can recall previous entries.

*a warning message that asks if they really want to enter the path as "c:\maps" , ZOA needs it as "c:\maps\" at the moment.here i see some people having difficulty with it i guess.

crystal3d

beautiful script

been using it for 6 months and it works MARVELOUS together with colin's relink bitmaps.

One suggestion is an option to "overwrite existing files" currently it does not.

thank you sir!

andrasmiklos

Thanks Maelvon for the function. It works like a charm!
I absolutely had no time to do scripting lately, so I'm really happy someone did the work for me. :)
If you give me your emailadress, I'd be pleased to give you a proper credit.

Maelvon

"Bitmap undefined" bug

fn collect_map_list =
    (
    map_list=#()
    for m in getClassInstances BitmapTexture do --(if (findItem map_list mapfileN) == 0 do (append map_list m.filename))
        (
            local mapfileN = m.filename as string
            if (mapfileN != "undefined") do
                (
                local index = findItem map_list mapfileN
                if index == 0 do append map_list mapfileN
                )
        )
    sort map_list
    )

I've done thoses modification and the Undefined Bitmap Bug seems to be resolved.

Thanks for the script Andras Miklos.

 

Matyrix

Really usefull script, thanks

Really useful script, thanks for sharing!
Videófelvevésre ajánlom a "Hypercam2" programot, videókonvertálgatáshoz pedig a: http://www.erightsoft.com/SUPER.html

Keep it up! :)

onodi.andras

Let me help you -

- as Andras Balogh might not be around now, and I was using his tool for a year now anyways. There are two text fields. The top one is only useful if you are trying to replace a portion of your path string to something else, so don't waste your time with that if you are just fixing paths. Hit the select missing button. That will highlight the maps that max can't find. Use the bottom text field and navigate to the directory (or just paste the path) where your missing maps are and hit "set new path". Well, I hope this helps. :)
What exactly is not working?
We are planning to create a video tutorial, but don't really know which screen capture app would suite us. Any idea?

Reply to onodi.andras
jsrocha

Thanks for your help, i´ll try the script again doing the way you told me. I´ll let you know if everything goes ok.
Cheers,

Jsrocha

jsrocha

Sorry man, i don´t know how this script works. I´ve tried to set the path several times, in a way that seemed the right way to me, but it never worked. Maybe a little tutorial will help..........or the problem is that i´m too dumb :/
thanks

Reply to jsrocha
crystal3d

let me help you as a gratitude to the author

you are pasting "D:\Downloads\Textures" to set new path function.

PROBLEM:= "D:\Downloads\Textures"
should be "D:\Downloads\Textures\"

i think script should be kept this way, cause it is usefull for something else.
it is usefull if you want to rename textures by a prefix, and repath it by this tool.