Print Page | Close Window

Changing feature size with proximity to an object

Printed From: CAD Forum
Category: EN
Forum Name: AutoCAD
Forum Description: Discussion about AutoCAD and AutoCAD LT, viewers, DWG and DWF formats, Design Review, AutoCAD 360, add-ons
URL: https://www.cadforum.cz/forum_en/forum_posts.asp?TID=12329
Printed Date: 21.May.2026 at 22:05


Topic: Changing feature size with proximity to an object
Posted By: htchalk
Subject: Changing feature size with proximity to an object
Date Posted: 09.May.2017 at 10:45
Hi everyone,

This is a 2D problem, and I'm using AutoCAD 2016

I have drawn a large and complicated polygon on a square canvas, and I have a regular array of small circles covering my drawing (These can be in a different layer to the polygon, if that helps). I want to size the circles proportionally to their proximity to the polygon, so that the circles near the edge of the polygon are small, and the circles far away from the polygon are large, and eventually merge together. 

Is there a bit of LISP code I can use to achieve this? I have no idea where to start.



Replies:
Posted By: John Connor
Date Posted: 09.May.2017 at 11:34
I don't know of any existing lisp routine that can do what you want.  I think to get the process started you would have to provide a lisp guru with a copy of a drawing that simulates exactly what you want to accomplish and outline any specific parameters like starting circle diameter and end circle diameter, etc.


-------------
"Humans have a strength that cannot be measured. This is John Connor. If you are reading this, you are the resistance."

<<AutoCAD 2015>>



Posted By: maconcepsion
Date Posted: 09.May.2017 at 14:38
Therte is an active LISP code that can be used tho you must check references
http://help.autodesk.com/view/ACD/2016/ENU/?guid=GUID-265AADB3-FB89-4D34-AA9D-6ADF70FF7D4B


Posted By: John Connor
Date Posted: 09.May.2017 at 15:28
Check references?


-------------
"Humans have a strength that cannot be measured. This is John Connor. If you are reading this, you are the resistance."

<<AutoCAD 2015>>




Print Page | Close Window