Command Entry: WEBLOAD

← Prev | ↑ Chapter | Next → | Index | Symbols

Command Entry: WEBLOAD

Name

WEBLOAD

Aliases

None.

Synopsis

Loads a JavaScript file from a URL, and then executes the JavaScript code contained in the file.

Options

None.

Argument Sequence

Enter the name of a URL pointing to a JavaScript file (for example, https://website/filename.js) to load and execute.

Description

Loads a JavaScript file from a URL, and then executes the JavaScript code contained in the file. The loaded file must contain both a function definition and an invocation of that function; any JavaScript or AutoCAD JavaScript API function can be called, with the exception of the prompt() function.

Category

customization

Availability

  • AutoCAD, all versions: documented.
  • BricsCAD: not documented.
  • clautolisp: Not yet implemented: (command …) stops at it, with a "; cador:" notice on the console and no AutoLISP error; the call is recorded on the command log.

Compatibility

AutoCAD all only. BricsCAD: not present.

clautolisp

Not yet implemented: (command …) stops at it, with a "; cador:" notice on the console and no AutoLISP error; the call is recorded on the command log. Support tier: package-specific – one vendor's surface; specified and classified, not scheduled for implementation.