merging specific named objects
Sorry guys - just started MaxScripting...not sure if this is a really easy question or not.
I am trying to merge in a specific named object from another max file...I only want the ojbect named box001.
on btn33 pressed do mergeMaxFile "filepath\box.max" "box001" #useMergedMtlDups
Thanks for the help!
Comments
hi
i hope this example w'd help --
my recent MAXScripts RSS (archive here)
Hi Anubis, Thanks for the
Hi Anubis,
Thanks for the reply. I appricate it!
Two things, should mxs be mxf?
Also, I am getting a Syntax error: at = expected name
In Line: objs = #
Hmm...
mxf is just a variable and it should pointed to existing .MAX scene file (full path like "C:\\dir\\sub_dir\\box.max"). If for instance your "box.max" is in your '3dsmax\scenes' folder then next w'd get correct path:
mxf = GetDir #Scene + "\\box.max"
...or may use a dialog to locate/select file:
[EDIT] Oups... i saw it now :) it was my type error, yes, in the line "objs = ..." it should be
mxf
:Dmy recent MAXScripts RSS (archive here)
YES!
Got it....Thanks you! That helped me out alot!
Need to do some homework on arrays.