ScriptSpot

Forum topic · General Scripting

Merge Problems

By Mrjacks2o · 2009-02-04

Description

every time i save the script as a new name and Run it the script works fine when i restart max 2008
and press the button to lunch it script gives this error

--Type error: Unrecognized mergeMAXFILE parameter:, got: undefined

my script

macroScript FlattenSpline category:"HowTo" tooltip:"Flatten Spline"

(
(
mergemaxfile "Round.max" fobj_names #select
(
)
)
)

thanks

Comments (1)

Mrjacks2o · 2009-02-04

I got it working by targeting the file thanks

mergemaxfile "C:\\Program Files\\Autodesk\\3ds Max 2008\\Scripts\\Startup\3DJM\\Round.max" #("Round") #select #MergeDups