SiNiScript - MAXScript code samples
The following are a few MAXScript examples to help you understand writing your own scripts.
Tip - Copy and paste the code
To use the below MAXScript samples, copy the whole text, then in 3ds Max open the MAXScript Editor and paste the code into it. Save the MAXScript. To evaluate hit Ctrl+E.
Attach By Parent This MAXScript has been written to incorporate SiNiScript functions. It's designed to attach REVIT objects by their parent objects, ie doors.
Forensic - Remove empty layers
Sculpt - Attach all mesh objects into one mesh
Unite - Relink missing files in an external 3ds Max file, to a given path
If you are interested in learning the basics of MAXScripting please check out the following link.
If you are interested in learning the basics of Python scripting please check out the following link.