ScriptSpot home

ScriptBuilder

Downloads

3ds Max compatibility
Unknown
Community compatibilityNo compatibility reports yet

No reports yet for the available releases.

Community reviewsNo reviews yet.

Listing details

Version
0.3
Original version requirement
tested under 2012
Author’s update date
Listing created
How compatibility works

Compatibility comes from the author’s supported range or requirements in the original listing. A tested version records what the author tried.

“2020 unconfirmed” in the catalog means support for 3ds Max 2020 is still unknown.

Community reports record successful tests on specific releases.

Posted by

sergo

Credited author: Sergo Pogosyan

More by this author

This script is made after the *nix's MAKE utility. It helps you quickly "save-and-compile" multi-file maxscripts and make additional steps in building process such as closing windows, running compiled scripts, copying files etc. All this by pressing toolbar button! Enjoy!

Setup & notes

It will save-and-compile current script in maxscript editor, but if your script consists of several files (main file, function file) then you can create special build.ms script and describe build process in that file (just like in Makefiles). For example I'm using this build.ms file to build BatchCam2 maxscript:

--build.ms file. compiles script in current directory.
--this file gets called by ScriptBuilder maxscript.

category_name = "Sergo Pogosyan"
script_name = "BatchCam2"
output_file = "BatchCam2_compiled.ms"
full_output_file = \\
pathConfig.appendPath (getFilenamePath (getSourceFileName())) output_file
try CloseRolloutFloater batchCam2_floater catch()

filein @"BatchCam2.ms" --this is main file that eventually will 'compiled'

if (doesFileExist full_output_file) then
deleteFile full_output_file
copyFile (pathConfig.appendPath (getdir #usermacros)\\
(category_name + "-" + script_name + ".mcr")) full_output_file

macros.run category_name script_name

As you can see this build.ms file closes script window, compiles main script file, re-runs newly compiled script and even makes a copy of compiled script in the development directory.

The key feature of this script - access to the maxscript editor's window - is pointed out by Denis from the cgsociety.org. Detailed info could be found in the script source.

Comments (0)