I am playing around with True Rectangle by Gile:
http://www.theswamp.org/index.php?topic=29339.0(Thank you Gile for that great reactor example!)
Basically Gile's code updates the coordinates of a rectangle after every user modification, making sure it stays a true rectangle. If the rectangle is a hatch boundary the hatch is not automatically updated (the rectangle can of course be the boundary of any number of hatches). The only solution I have come up with is to move the rectangle after the coordinates have been updated:
<snip>
(setvar 'cmdecho 0)
(vl-cmdf "_.move" ent "" '(0 0 0) '(0 0 0))
(setvar 'cmdecho 1)
<snip>
Without success I have also tried the following on individual hatches:
(vla-evaluate (vlax-ename->vla-object (car (entsel))))
(vla-update (vlax-ename->vla-object (car (entsel))))
(vla-setpattern (vlax-ename->vla-object (car (entsel))) achatchpatterntypepredefined "ANSI32")
Is there a different way (not using vl-cmdf) to force all the hatches of which the rectangle is a boundary to update?