External Application Management
The functions and constants in this section are defined directly in the ads module.Functions
Not available for Intellicad 2000.
Not available for Intellicad 2000.
Not available for Intellicad 2000.
Not available for Autocad 2000 and later.
Not available for Autocad 2000 and later.
Not available for Autocad 2000 and later.
Invoke an external function defined in another ADS/ARX application. The first argument is the name of the external function. If the function was defined as an AutoCAD command, the string must include the C: prefix. The remaining arguments must match the external function's argument list in their order, types, and value ranges.
If invoke() succeeds, it returns the values as returned from the invoked function to the ADS/ARX environment, possibly None.
A ValueError exception indicates that the external function is not currently loaded, that it (or a function that it calls) is defined in the same application but hasn't been registered using ads_regfunc(), or that the argument list contains invalid items.