SCRIPT (Command)

A script is a text file with command or a script call on each line.

You create script files outside the program using a text editor text editor that saves in ASCII format (for example, Notepad on Windows or TextEdit on Mac OS). The file extension must be .scr.

Each line of a script contains a command, and each blank space in a script is significant because it is like pressing Enter or the Spacebar. You must be familiar with the sequence of prompts for a command to provide an appropriate sequence of responses in a script.

Draw Polyline with Script

  • Command line enter: Script
  • Browser a script file, it may contain comments, as follows:

pline 4,5 6.0,8 @2,2 @3<30 10,10