MotorXP-AFM Scripting API
    Preparing search index...

    Function require

    • require() loads a module. Unlike include(), it returns an object containing the data exported by the loaded file.

      Parameters

      • path: string

        Path to the script file to include.

      Returns Object

      If the file has no explicit exports, returns an empty object ({}).