Setting Up MAXScript OLE Automation

In order to use the OLE Automation features in MAXScript, you need to register 3ds Max as an OLE Automation server in the system registry:

  1. Open the Maxscrpt.reg file that ships with 3ds Max in Notepad or some other text editor.

  2. Edit this registry entry file to make sure it references the correct 3ds Max executable. Make sure the last line specifies the correct location for your 3ds Max executable. The supplied Maxscrpt.reg file points to c:\3dsmax\3dsmax.exe by default.

  3. Save the file and exit the editor.

  4. Locate the Maxscrpt.reg registry file in Windows Explorer and double-click it.

This registers 3ds Max as an OLE server. You need to do this on all the systems you expect to run 3ds Max as an OLE server.

For more information, see the following topics:

Exposing MAXScript Functions

3ds Max Specific Errors

Running the OLE Demo