Allen,
Maybe a minor point regarding this function.
(defun ssdblk (effname / ssx ssf c en)
(setq ssx (ssget "X" (list (cons 2 (strcat effname ",`*U*")))))
(setq ssf (ssadd)
c 0
)
(if ssx
(repeat (sslength ssx)
(setq en (ssname ssx c)
c (1+ c)
)
(if (= (print (vla-get-effectivename (vlax-ename->vla-object en))) effname)
(ssadd en ssf)
)
)
)
ssf
)
This line (setq ssx (ssget "X" (list (cons 2 (strcat effname ",`*U*"))))) doesn't
make sense because you cannot do a filtered selection set based on effective name.
Discussed here previously. What you are doing, in effect, is selecting all anonymous
*U blocks and then post-processing.
Joe Burke
"Allen Johnson"
wrote in message
news:5606861@discussion.autodesk.com...
You'll need the attached file to change dynamic properties.
Then your macro would be something like:
Insert;MyDynBlock;\1;1;0;(chgdynprop (entlast) "Width" 18.0)