keku Posted September 4 Posted September 4 (edited) I'm new to Lisp and trying calculate the distance from a wall to a polygon box, as well as the distance between two polygon boxes. Additionally, I need to determine the dimensions of both the polygon box and the wall. I'm using Lee Mac's dimensioning code as a reference and trying to modify it to achieve these calculations.can i get this type of outcome using lisp Edited September 4 by keku Quote
BIGAL Posted September 4 Posted September 4 One way is to pick a side then drag over the objects to be dimensioned picking say square off the outside line, then using intersectionwith can get all the dim points, for what you want pick a corner point and a side and done. I dont use it but I think you can use Qdim also, others will comment. This task has been asked many times before, pretty sure answered at forums/autodesk. Post a sample dwg please. Quote
keku Posted September 5 Author Posted September 5 Thank you for your suggestions. I’ve tried using Qdim, but unfortunately, it doesn’t support my objective. I’m not familiar with intersectionwith or how to use it. If you have a code snippet or a sample image demonstrating its usage, I would greatly appreciate it. I’ve attached the sample DWG file as requested. Thank you for your assistance distance demo drawing.dwg 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.