itacad Posted October 24, 2024 Posted October 24, 2024 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 Quote
BIGAL Posted October 24, 2024 Posted October 24, 2024 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. Quote
itacad Posted October 25, 2024 Author Posted October 25, 2024 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. Quote
BIGAL Posted October 25, 2024 Posted October 25, 2024 (edited) You can use extrim in a lisp, (etrim ent pt) just load extrim 1st. It uses the defun internally ETRIM. Edited October 25, 2024 by BIGAL Quote
itacad Posted October 28, 2024 Author Posted October 28, 2024 Thanks to you too, I certainly won't succeed but at least it's another indication, thanks 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.