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. This registration is typically done by the register_OLE_bridge.ms script found in /scripts/startup, but performing the registration requires that User Access Control is disabled (that is, running 3dsmax.exe as an administrator). Running this script with User Access Control disabled registers 3ds Max as an OLE server. You need to do this once 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