ZOA Path Editor

39 votes
Version: 
4.00
Date Updated: 
01/10/2017
Author Name: 
Balogh Andras Miklos

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!

Additional Info: 

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

Version Requirement: 
tested on maxR2016

Comments

Comment viewing options

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

4K-up bitmaps problem

Why script do not see textures with above 2K?

henning's picture

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's picture

Sorting! Hell yeah!Many

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

andrasmiklos's picture

Took me almost a year to come

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.

András Miklós Balogh - [email protected]

1rv's picture

Andras could you make the

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?

1rv's picture

I see. May I request one

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's picture

The $ button

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

András Onodi - CEO @ ZOA Architectural Animation & 3D Rendering
Join Us on Facebook!

1rv's picture

Amazing tool! works like a

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

amir3dsmax's picture

cant get hdri

cant get hdri in vray dome light

crystal3d's picture

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

Comment viewing options

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