Skip to content

SCRIPT — Run Script

Runs a command script (.scr).

Runs a script: a .scr text file whose lines are typed on the command line one after another, as if the user entered them. Use it to repeat tasks (setting up layers, purging, changing variables…) in one or more drawings.

Usage

  1. Enter SCRIPT (or SCR) or click its button.
  2. Choose the .scr file in the dialog box. (In a script that calls another one, its path is typed.)
Enter script file name:
  1. The lines run in order. Meanwhile the keyboard does not reach the command line.

How a script is written

; Current layer, linetype scale and purge
CLAYER Exterior wall
LTSCALE 50
-PURGE A * N

Notes

See also

SETVAR · APPLOAD · -PURGE · AutoLISP

Download LinceCAD Manual contents