- ;;这个也能做毕业论文??
- (defun C:SPLL (/ S1 FILE)
- (vl-load-com)
- (prompt "\nSelect Spline: ")
- (if (setq S1 (ssget ":E:S" '((0 . "SPLINE"))))
- (progn
- (setq FILE (open "C:\\AA.CSV" "W"))
- (write-line "拟合点的座标值:" FILE)
- (mapcar '(lambda (X)
- (if (= (car X) 10)
- (write-line (vl-princ-to-string (cdr X)) FILE)
- )
- )
- (entget (ssname S1 0))
- )
- (close FILE)
- )
- )
- (princ)
- )
|