Message 1 of 14
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi All
I have this ductwork block, with 3 attributes within it... I also use this lsp routine to quickly change the height of the attribute text (if required)...
now when I use this lisp routine on this particular ductwork block (visibility state - Flat oval ductwork... only one of the 3 attributes changes height... when I would like all 3 to change... can anyone explain why only one is changing... I've attached the block dwg and also attached the lisp routine...
The lisp routine works perfectly on all the other blocks I use - its just this one it doesn't work on.
Many Thanks in advance 🙂
(defun c:AttHeight ( / s a i)
(if (and (setq s (ssget '((0 . "INSERT") (66 . 1))))
(setq a (getreal "\nSpecify height: "))
)
(repeat (setq i (sslength s))
(setpropertyvalue (entnext (ssname s (setq i (1- i)))) "Height" a)))
(princ)
)
Solved! Go to Solution.