Charge un fichier JavaScript à partir d'une URL, puis exécute le code JavaScript contenu dans le fichier.
Invite à entrer le nom d'une URL et d'un fichier JavaScript. Par exemple :
Command: WEBLOAD Enter name of URL to load: http://website/filename.js
Le fichier JavaScript doit contenir une définition des fonctions et un appel de la fonction, comme illustré dans l'exemple ci-dessous.
// Function definition
function pickPoint() {
    function onComplete(args) {
        var resObj = JSON.parse(args);
        if (resObj) 
            alert('You picked: ' + resObj.value.x + "," + resObj.value.y + "," + resObj.value.z);
    }
    function onError(args) {
        alert('Error picking point: ' + args);
    }
    var optionsFirst = new Acad.PromptPointOptions('Pick a point', new Acad.Point3d(0, 0, 0));
    Acad.Editor.getPoint(optionsFirst).then(onComplete, onError);
}
//Invocation of function
pickPoint();