Display full version of the post: Changing feature size with proximity to an object

htchalk
09.05.2017, 10:45
Hi everyone,This is a 2D problem, and I'm using AutoCAD 2016I 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.

John Connor
09.05.2017, 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.

maconcepsion
09.05.2017, 14:38
Therte is an active LISP code that can be used tho you must check referenceshttp://help.autodesk.com/view/ACD/2016/ENU/?guid=GUID-265AADB3-FB89-4D34-AA9D-6ADF70FF7D4B

John Connor
09.05.2017, 15:28
Check references?