Message 1 of 8
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
(defun c:mim (/ bry)
(setvar "cmdecho" 0)
(setvar "OSMODE" 1)
(if (= ant2 nil)(setq ant2 10))
(setq ant2_t (getreal (strcat "\nÖlçek giriniz <" (rtos ant2 2 2)"> : ")))
(if (= ant2_t nil)(setq ant2_t ant2))
(setq ant2 ant2_t)
(setq bry(getpoint "\nBu noktaya: "))
(command "-insert" "mim01" "scale" ant2 bry "")
(setvar "cmdecho" 1)
(setvar "OSMODE" 0)
(princ)
)
D:\Blocks\ «--- Supported...
xxxx01.dwg
xxxx02.dwg
xxxx03.dwg
xxxx04.dwg
Hello to everyone
I have blocks in this order in the folder I specified.
When I run the mim command; How can I call the block with the last numeric value?
(command "-insert" "xxxx04" "scale" ant2 bry "")
Solved! Go to Solution.