Message 1 of 4

Not applicable
07-05-2018
03:51 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
HI THERE,
I am trying to count the # of all blocks in my drawing. Normally bcount works in my autocad but it is not working in autolisp. Am i doing something wrong below
(defun c:COUNTLO()
;(ssget "_X" '((0 . "INSERT")(2 . "Block_Name")))
(SETQ SSLO '(ssget "_X" '((0 . "INSERT"))))
(COMMAND "BCOUNT" "SSLO" "")
)
Solved! Go to Solution.