Forum Groups
  All forums
    Help & Feedback
      Questions
      Work in progress
      Finished Art
      Non-Max related
    Community
      Offtopic
      News
    Hardware
    Photography


Featured Threads
  inspiration alert!!!
(36 replies)
  Indespensible MaxScripts, Plugins and 3rd Party Tools
(37 replies)
  The allmighty FREE Resources Thread !
(17 replies)
  spam alert!!!
(4886 replies)
  Maxforums member photo gallery index
(114 replies)
  Maxforums Member Tutorials
(89 replies)
  three cheers to maxforums...
(240 replies)
  101 Things you didnt know in Max...
(198 replies)
  A Face tutorial from MDB101 :D
(95 replies)
  Maxforums.org Members Gallery
(516 replies)
  SON OF POST YOURSELF
(637 replies)
  Dub's Maxscript Tutorial Index
(119 replies)

Maxunderground news unavailable

[HLP] Need some help running maxscript via command line
show user profile  jpedleham

3dsmax.exe -silent -mxs loadMaxFile "[MAX FILE NAME]" for i = 1 to theMixer.numMaxMixers() do theMixer.removeMaxMixer 1 false 1 maxfilesave

Ive tried running the above (after navigating to the max directory) and it opens max but it doesnt seem to actually carry out the maxscript.

Im trying to make it so that the huge bloated files my team have to work with dont have to be opened to remove the motion tracks as this sometimes takes over an hour simply to open the file for larger models. Id like to run this script without having to wait all that time if possible eventually creating a small vb.net frontend to handle the file path browsing making it much easier for the less tech savvy ones to sort out their work.
Can anyone help?
Thanks
Jack
read 381 times
2/5/2015 4:24:01 PM (last edit: 2/5/2015 4:24:01 PM)
show user profile  Garp
I believe the entire script part - from after -mxs to the end - should be within double quotes. Something like:
3dsmax -silent -mxs "some maxscript here" file_to_load.max




read 375 times
2/5/2015 5:10:51 PM (last edit: 2/5/2015 5:25:10 PM)
show user profile  jpedleham
Ok cool ill give that a go cheers. is there a way to run max simply through command, without having to load the max interface etc? Kind of in the same way backburner does.
Cheers

read 355 times
2/6/2015 9:38:38 AM (last edit: 2/6/2015 9:38:38 AM)
show user profile  Garp
Did you search the doc? There's a page describing the various switches.




read 345 times
2/6/2015 4:43:39 PM (last edit: 2/6/2015 4:43:39 PM)
show user profile  br0t
There is a flag that will keep Max minimized, but there is no real "headless" mode for Max, that would reduce loading time considerably

never get low & slow & out of ideas


read 332 times
2/6/2015 10:18:50 PM (last edit: 2/6/2015 10:18:50 PM)
show user profile  jpedleham
br0t was describing pretty much what i want but unfortunately if thwats the case it looks like a case of grit your teeth and wait for the files. Motion tracks are the plague of our model library at the moment. thousands in each file!
Cheers for the help guys.
read 313 times
2/8/2015 6:37:21 PM (last edit: 2/8/2015 6:37:21 PM)
#Maxforums IRC
Open chat window


Support Maxforums.org