知識社群登入
位置: AutoCAD開放式教學 > 討論區 > 討論
lisp
1樓
; file: mid-per4.LSP

(defun c:mid-per4( / )
  (setq en1 (entsel "\n Select Line: "))
  (setq ent1 (car en1))
  (setq p1 (cadr en1))

  (command "-array" ent1 "" "p"
   (osnap p1 "mid") 2 90 "")
  (princ)
  ); end defun
; end of file