PDA

View Full Version : MaxScript and X-refs


Kramsurfer
02-11-2003, 11:35 PM
I'm currently working with multiple xrefs of the same file in a master file and want to turn them on/off by their parent dummy. I've worked around locating the proper parent with Aranda Morrison's "Extend XrefScene 1.0" XRef extensions from the ScriptSpot, but am having trouble have the xrefs update after being changed.
The work around renames the filename to create a unique instance of the x-ref, but seems to loose the association with the original file. After restoring the original name, MAX still sees it as missing.

Any ideas or help on dealing with multiple x-refs great appreciated.


Thanks..

Keith Morrison

gaggle
02-12-2003, 07:59 AM
I.. have no idea about the specific script in question and such. I just thought that if you loose connection to the referenced files, can't you then go into the Xref menu, and on each object re-select the file you want to use?

Kramsurfer
02-12-2003, 03:18 PM
Yes, I can manually update the list, but I need to do it in script.. Automation is the key to productivity...

I've tried all the "xrefs.updatechangedXrefs / attemptupdate" type commands...
they seem to do nothing...

Keith

CGTalk Moderation
01-14-2006, 09:00 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.