SiNi Help Documentation

⌘K
πŸ‘SiNi Software Help Docs
▢️Getting started!
πŸŽ“Education Licences
πŸ‘€SiNi Account
πŸ†—Registration and Account
ℹ️User Dashboard
πŸ› οΈInstallation and Licensing
βœ…Subscription as a Service (SaaS)
πŸ”„Resellers
πŸ–₯️3ds Max Plugins
πŸ–₯️Utility Plugins
πŸ–₯️Object Plugins
πŸ–₯️Licensing Plugins
βš™οΈSiNi Configuration
πŸ–₯️MAXScripts
πŸ–₯️Setup and installation
πŸ–₯️SiNi MAXScripts Directory
πŸ–₯️MAXScripting for BATCH
πŸ–₯️MAXScript - StackUp Instructions
πŸ”’Release Changelog
πŸ”’Current versions
#️⃣Legacy versions
βœ…Known Issues
πŸŽ“Knowledge Base
❓FAQ - Questions?
✴️Suggested workflows
🌐Shortcuts
🌐Customer Support
🌐Technical Support
🌐Downloads
🌐YouTube Channel
🌐SiNi Forum
🌐Social Media
🌐3Disciple Magazine
🌐3ds Max Indie License
Docs powered byΒ archbeeΒ 
4min

MAXScripting for BATCH

The SiNi BATCH script works with headless MAXScripts, meaning they do not have additional code to load dialogue boxes or perform additional actions. The MAXScripts must be capable of running from start to finish with no human interface.

Example One

Below is an example of a headless MAXScript, in this case, the Clean tool.

Text
|

The top line is the function (fn) followed by the function name (cleanFiles) and = ( is the start of the function.

The middle lines call each of the functions to perform. In this case, it is calling SiNiScript MAXScript functions from the Forensic plugin.

) The last bracket closes the function.

cleanFiles() calls the function.

Example Two

Another example of a simple MAXScript is using the Corona Material Converter from Chaos, but adapting it to run in silent mode.

Text
|

ο»Ώ

Updated 19 Dec 2022
Did this page help you?
Yes
No
UP NEXT
MAXScript - StackUp Instructions
Docs powered byΒ archbeeΒ 
TABLE OF CONTENTS
Example One
Example Two