• Help Home
  • English (US)
    1. English (US)
    2. 日本語
3ds Max 2026 Developer
    • 3ds Max Developer Overview
    • MAXScript Help
      • MAXScript Introduction
      • Script Examples In This Help
      • What is New in MAXScript
      • Learning MAXScript
      • Frequently Asked Questions
      • How To - Practical Examples
      • MAXScript Language Reference
      • 3ds Max Objects and Interfaces
      • MAXScript Tools and Interaction with 3ds Max
      • Interaction with Other Programming Languages and Environments
        • OLE Automation
          • Setting Up MAXScript OLE Automation
          • Exposing MAXScript Functions
          • 3ds Max Specific Errors
          • Running the OLE Demo
          • SafeArrayWrapper Class
        • DotNet In MAXScript
        • Executing Python from MAXScript
      • Interaction With The Operating System
      • MAXScript Retopology
      • 3ds Max USD Scripting Guide
    • 3ds Max Python API Help
    • 3ds Max Developer Help
    • 3ds Max MCG Help
    Share
    • Email
    • Facebook
    • Twitter
    • LinkedIn

    3ds Max Specific Errors

    There are two errors that may be reported to OLE clients when calling exposed MAXScript functions that are specific to 3ds Max:

    #512 -- an exception or interrupt occurred while running the called function

    #513 -- the called function attempted to return an unsupported data type

    Parent page: OLE Automation

    Was this information helpful?

    Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License. Please see the Autodesk Creative Commons FAQ for more information.

    • Privacy Statement
    • Legal Notices & Trademarks
    • Report Noncompliance
    • © 2025 Autodesk Inc. All rights reserved