Eduardo Celiz Posted November 25, 2020 Share 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 Link to comment Share on other sites More sharing options...
devitg Posted November 29, 2020 Share Posted November 29, 2020 Hola Eduardo . Quote For better understanding, and maybe get further help, please upload such sample .dwg and .lsp Quote Link to comment Share on other sites More sharing options...
tombu Posted December 7, 2020 Share 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 Link to comment Share on other sites More sharing options...
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.