Only SOLID hatching in the background - lisp

Only SOLID hatching in the background - lisp

pavel
Contributor Contributor
446 Views
22 Replies
Message 1 of 23

Only SOLID hatching in the background - lisp

pavel
Contributor
Contributor

I need help figuring out how to change the order of SOLID hatches to the background so that they are at the very bottom. And most importantly, I need it to work on blocks and dynamic blocks. Thank you very much for your ideas. Ideally, a Lisp solution.

0 Likes
Accepted solutions (1)
447 Views
22 Replies
Replies (22)
Message 21 of 23

ВeekeeCZ
Consultant
Consultant

Removed by the user.

0 Likes
Message 22 of 23

pavel
Contributor
Contributor
Accepted solution

Thank you, but this does not work for me either. In the end, I modified the LISP with the help of AI, and it works on blocks as well as on isolated solid hatches.

0 Likes
Message 23 of 23

paullimapa
Mentor
Mentor

I executed HSTB.lsp on your "solid in block.dwg" and it works fine just as I posted previously successfully moving the solid hatch pattern inside the block to the back without a need to use the AI generated VL functions.

paullimapa_0-1758569064984.png

 

I then made a copy of your "solid in block.dwg" and called it "solid in block & solid not in block.dwg" (attached) which now included an exploded version of the same block so that there's now a separate hatch solid pattern by itself.

This time I executed SOLIDHATCHTOBACK.lsp which handles both solid hatch patterns inside as well as outside of blocks just as @BlackBox_ & I posted previously and once again all solid hatch patterns are successfully moved to the back.

paullimapa_1-1758569248257.png

 

I've include a video demonstrating this as well as both lisp functions in case you get confused by previous postings.


Paul Li
IT Specialist
@The Office
Apps & Publications | Video Demos