|
Hello… I would like to know if there is a feature in 3DSMAX or maybe a script available which allows you to save/export the link association between objects and be able to load/import this back in.
website: http://www.all3dmax.com
| Attachment
|
|
|
|
|
|
No there isn’t. It this sort of tool is very easy to write in Max Script. Might be time to learn it.
Paul Neale
PEN Productions Inc.
penproductions.ca / paulneale.com
Master Classes for Max, Mudbox and Composite
DotNet Tutorials
MX Driver Car and Trailer Rig On Sale!
|
|
|
|
If you want to go the script route, perhaps this thread would be better moved to the Maxscript forum (it’s not really a rigging question per se).
Max 4.2 through 2013.
XP-64 (SP2)
NVidia 9800GTX-512 (Driver 266.58).
Core 2 Quad Q6600 2.4GHz, 8Gb Ram, DX9.0c.
|
|
|
|
Steve good idea, could you please move this thread to the script section.
website: http://www.all3dmax.com
|
|
|
|
Warning. These are very basic routines, not optimised in any way, no error checking etc.
Saving it…
( local fName = "c:/hierarchy.txt", fh
fn getChildren theParent =
(
local ch, theChild
for ch = 1 to theParent.children.count do
(
theChild = theParent.children[ch]
format "\"%\" \"%\"\n" theParent.name theChild.name to:fh
if theChild.children.count != 0 then
getChildren theChild
)
)
fh = createFile fName
getChildren selection[1]
close fh )
Loading it back…
( local fName = "c:/hierarchy.txt", fh, objNames = #()
fh = openFile fName mode:"r"
while not eof fh do
(
theString = readLine fh
objNames = filterString theString "\" "
(getNodeByName objNames[2]).parent = (getNodeByName objNames[1])
)
close fh
)
Max 4.2 through 2013.
XP-64 (SP2)
NVidia 9800GTX-512 (Driver 266.58).
Core 2 Quad Q6600 2.4GHz, 8Gb Ram, DX9.0c.
|
|
|
|
There IS a script for that purpose (I wrote a time ago) - HierarchyState:
http://www.scriptspot.com/3ds-max/scripts/hierarchy-state
The idea behind is simple. You can solve this in an other way.
It fit my needs for the time it was made (just a note to the ‘professors’)
Max 9 through 2009, XP-Pro x64 SP2
ASUS EAH3450 Series (Driver 8.470).
Core 2 Duo E8400 3GHz, 4Gb Ram, DX9.0c.
|
|
|
|
Thank you both Steve_Curley and Anubis for taking the time to respond.
Anubis I have just used your script and it does exactly what I needed, thanks again!
website: http://www.all3dmax.com
|
|
|
|
Well… I started using this script and then myself and about 10 other people (20% of the company) where made redundant because the company attempting to cut-costs by sending our work off-shore… to India. *sigh*
Anyone looking for a Graphic Artist :P
website: http://www.all3dmax.com
|
|
|