Draworder is unruly
Draworder is unruly
(OP)
Win2k ACAD2ki
In normal everyday 2d drawings where Layouts are used, we find that if you access Mspace from within the Layout, and apply Draworder | Back to, say, some bhatch shading, then the next command you use puts the shading back on top. It seems as though you have to Draworder your shading entities 3 times to get it to "take". REGEN or REGENALL don't fix it as it does in other cases. Two operators have the same difficulty.
All help is appreciated . . . Rocky
In normal everyday 2d drawings where Layouts are used, we find that if you access Mspace from within the Layout, and apply Draworder | Back to, say, some bhatch shading, then the next command you use puts the shading back on top. It seems as though you have to Draworder your shading entities 3 times to get it to "take". REGEN or REGENALL don't fix it as it does in other cases. Two operators have the same difficulty.
All help is appreciated . . . Rocky





RE: Draworder is unruly
(prompt "\nType H2B to sink all hatching")
(defun C:H2B (/ ss)
(setq ss (ssget "x" '((0 . "HATCH"))))
(if ss
(progn
(setvar "cmdecho" 0)
(command ".draworder" ss "" "b")
(setvar "cmdecho" 1)
);progn
);if
(princ)
);defun
Good luck.
RE: Draworder is unruly
It sort of looked like it just automated what we are doing by hand, but what do I know>>> (g)
Thanks . . . Rocky
RE: Draworder is unruly
RE: Draworder is unruly
Makes sense.
Typical AutoCAD
Thanks, guys . . . Rocky
RE: Draworder is unruly
Seriously, The bring to front aproach mentioned above (copy in place and delete original) is the only aproach to this particular problem I've encountered (and THAT with mixed success). Oh well.
Good luck,
C. Fee