Eduardo Celiz Posted November 25, 2020 Posted November 25, 2020 (edited) CADTUTOR'S FRIENDS I HAVE A PROBLEM WITH THE FOLLOWING CODE: (command"bOUNDARY" Pto-med"") IT ALLOWS ME TO GENERATE BOUNDARYS WITHIN CLOSED AREAS BUT I HAVE THE UNCONVENIENCE THAT IT STOPS WHEN I ENCOUNTER AN ERROR MARK ME THE FOLLOWING: Valid hatch boundary not found.nil WHAT I'M LOOKING FOR IS TO GIVE YOU A CONDITION THAT WHEN I RECOGNIZE THE ERROR, IT DOES NOT STOP BUT THAT I PASS IT TO LONG Edited November 26, 2020 by Eduardo Celiz Quote
devitg Posted November 29, 2020 Posted November 29, 2020 Hola Eduardo . Quote For better understanding, and maybe get further help, please upload such sample .dwg and .lsp Quote
tombu Posted December 7, 2020 Posted December 7, 2020 Modified version of https://cadtips.cadalyst.com/area/label-areas?q=area/label-areas I've used for many years that gives user option to create a region if (command "-boundary" B1 "") returns an error producing an object with a value for area when hatch doesn't have one. DDAREA.lsp DDAREA.dcl Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.