Jump to content

Recommended Posts

Posted

Is it possible to create a routine to autohatch once a closed boundary appears, basically linetypes are inserted from tool palette on certain layers and once they are inserted i have to hatch the boundaries manually, is it possible to hatch it automatically once the boundary has been created rather than manually doing it?

 

image.thumb.png.20b33925c43d521c32ede697189bf12a.png

Posted

AutoLISP includes a type of object called a reactor. You can create a database reactor to fire when you create a polyline on a specific layer, and program it to hatch that polyline.

 

I've never used a reactor in AutoLISP, but they're useful in other languages like SQL. Someone else may have the time to write and debug that code for you, or you can do it yourself if you have some experience with AutoLISP.

 

Welcome to the forum!

Posted

Bit hard to tell what is going on under the thick red line. You can in a lisp or at command level do Hatch "last". 

 

-hatch s (entlast) 

 

 

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...