Page 1 of 1

relink lost 3D objects

Posted: Sat Jul 04, 2009 10:23 pm
by ulrik
I modified Crashcore's "Relink lost images" script a bit and made it work for 3d objects, I used the script "ObjectSource" to get the information I needed to make it work.
I tested it with AS Pro 6 on my mac osx leopard machine and so far it seems to work fine, if you would like to test it here it is:
http://www.musikboden.se/asfiles/ub_rel ... bjects.lua

Posted: Fri Aug 07, 2009 3:07 am
by webshark2000
Do you know of a script for Mac that does this? This one works great on PC, but when we tired to use it for Mac it won't let you select the .obj files.

Thanks.

Posted: Sat Aug 08, 2009 5:51 pm
by ulrik
webshark2000 wrote:Do you know of a script for Mac that does this? This one works great on PC, but when we tired to use it for Mac it won't let you select the .obj files.

Thanks.
That's strange, it works for me on leopard 10.5.8 on a ppc g5, what os do you run and what version of AS?

Posted: Mon Aug 10, 2009 10:44 pm
by webshark2000
10.5.7 I'll try updating the OS and see if that fixes it.

Thanks.

Posted: Mon Aug 10, 2009 11:48 pm
by ulrik
It worked when I used 10.5.7 as well, must be something different, do you try to relink the .obj files, and they are greyed out?

Posted: Tue Aug 11, 2009 6:05 pm
by webshark2000
Yes, it won't let me select them.

Re: relink lost 3D objects

Posted: Tue Oct 27, 2009 5:54 pm
by rogermate
ulrik wrote:I modified Crashcore's "Relink lost images" script a bit and made it work for 3d objects, I used the script "ObjectSource" to get the information I needed to make it work.
I tested it with AS Pro 6 on my mac osx leopard machine and so far it seems to work fine, if you would like to test it here it is:
http://www.musikboden.se/asfiles/ub_rel ... bjects.lua
Worked for me on Windows.

Now just to summarize. The purpose of this menu script is to update the currently open .anme file as to the location of the .obj files. This is needed when either the .anme or the .obj change position in the file system.

It seems you only need to point to any file in the same folder, than any missing .obj file that exists in that folder will be relinked.

Thanks Ulrik.

Posted: Tue Oct 27, 2009 6:04 pm
by ulrik
I'm glad it worked on windows too. :D