建立變更圖面中設定的腳本

 
 
 

此腳本打開格線,將整體線型比例係數設定為 3.0,將圖層 0 設定為目前圖層且將圖層顏色設定為紅色。

  1. 在文字編輯器中,輸入 grid on
  2. 在下一行,輸入 ltscale 3.0
  3. 在下一行,輸入 layer set 0 color red 0
  4. 加入一個空行。
  5. 將檔案儲存為 ASCII 文字格式 (TXT 檔),副檔名為 .scr

    腳本檔可能包含註解,例如:

; Turn grid on
grid on
; Set scale for linetypes
ltscale 3.0
; Set current layer and its color
layer set 0 color red 0

; Blank line above to end the LAYER command