..I was thinking maybe the CBIR change block insertion routine could be rewritten to parse multiple blocksDo you mean Lee's CBBR command? It uses "LM:changeblockbasepoint" function so look there, it can be easily modified for change insertion point for each block in selection to the center of it's bounding box.
whereas for the insertion point the center of the geometry will be used.
Anyone you understands this story and have any idea (for other workarounds), I would appriate it.
Thanks
Hans
(if (and (= 'ename (type ent)) (setq nbp (getpoint "\nSpecify New Base Point: ")))
(vla-getBoundingBox (vlax-ename->vla-object e) 'll 'ur)
source: http://www.cadtutor.net/forum/showthread.php?54046-Bounding-Box-LISP (if (= 'ename (type ent))
;; (vlax-invoke (vlax-ename->vla-object e) ; how does this work exactly?
(progn
(vla-getboundingbox ent 'minpoint 'maxpoint) ; something like it, but will not work on block definition
(vlax-safearray->list minpoint) ; will not work on blocks
(print minpoint) ; will not work on blocks
(setq nbp minpoint) ; that would be the idea
Certainly possible - I'll take a look when I get some time.