Jump to content

Recommended Posts

Posted

Good morning, I present you a problem that I identify for its solution the use of dynamic blocks, but what I said only to introduce the topic.

in plant design, certain objects are positioned according to their "coverage area".

I'm talking for example about presence detectors, smoke detectors, etc., that is, those objects that work by detecting something in the room where they are installed.

It is therefore necessary to check on the plan that the coverage area of one or more devices covers the necessary surface.

To perform this check, unfortunately, you have to rely on polygons specifically designed to be applied to the block, and check with your own eyesight for the presence of uncovered areas.

In your opinion, would it be possible to create a dynamic block from a hatch, which visually covers only the area affected by the verification?

Let me explain better: I would like to create a hatch that "auto-interrupts" when it touches other lines (which in my case would be the walls of the room).
I attach an example file.
Thanks in advance for any suggestions

 

area copertura.dwg

 

Posted

I dont think you need any code, I used Extrim and got "desired result", it does not hatch the corners but is so close. Just type Extrim pick your purple pline, then outside.

Posted

Thanks! I didn't know about this useful function that simplifies the manual step that I have to continuously perform... but unfortunately it doesn't replace it...

I also hope that I don't need a lisp code to generate the automation that I need, I hope that there is some way to use the basic potential of autocad to ensure that an object (hatch, polygon, polyline etc.) can be represented up to where it is needed and that is in the entire free area up to the intersection with other objects.

Thanks anyway, it was useful to ask because you taught me something new.

Posted (edited)

You can use extrim in a lisp, (etrim ent pt) just load extrim 1st. It uses the defun internally ETRIM.

Edited by BIGAL
Posted

Thanks to you too, I certainly won't succeed but at least it's another indication, thanks

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...