Message 1 of 5
Count amount of annotation scales in XRefs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi!
I am trying to create a lisp that gets in some way accesses all Annotation scales that each XRef contains. I have this lisp below that counts the amount of annotation scales in the current drawing, but have not succeeded in getting access to any XRef's scale list, either by using (dictsearch (namedobjdict) "ACAD_SCALELIST") since it only works with the active drawing or by any other method. Is it even possible?
(defun GetScaleListEntities (/ lst item)
(setq lst nil)
(foreach item (dictsearch (namedobjdict) "ACAD_SCALELIST")
(if (= 350 (car item))
(setq lst (cons (cdr item) lst))
) ;end if
) ;end foreach
lst
)