Message 1 of 14
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hallo miteinander
Ich habe folgendes Problem:
Wie kann ich beim ENDE den Block auf die letzte Polylinie ausrichten (momentan steht da "0")
(defun c:<Test()
(setq START(getpoint "\nStart: "))
(setq MP1 (getpoint START "\nMP1: "))
(command "_pline" START MP1 (while (/=(getvar "CMDACTIVE")0)(command pause)))
(setq ENDE (getvar "Lastpoint"))
(command "_-insert" "spi-bew-pfeil" START "12.5" "12.5" MP1)
(command "_-insert" "spi-bew-pfeil" ENDE "12.5" "12.5" "0")(prin1)
) ;_ end of defun
Schöne Grüsse
Christian
Solved! Go to Solution.