amb2301 Posted November 17, 2020 Share Posted November 17, 2020 Hi friends, i have a task to find out the offset distance, which is below 0.5m offset then i need a lisp to highlight or circle that location. please consider only the pline offsets & ignore line offsets. could someone please help me to do this task. Thanks in Advance. Quote Link to comment Share on other sites More sharing options...
BIGAL Posted November 18, 2020 Share Posted November 18, 2020 Need more info a dwg or image at least. Quote Link to comment Share on other sites More sharing options...
amb2301 Posted November 18, 2020 Author Share Posted November 18, 2020 5 hours ago, BIGAL said: Need more info a dwg or image at least. Thanks for looking on this thread Sir, my dwg file size is so big, so i m just keeping the small part of it in this sample, i have marked the offset below 0.5m in green circled, could you please have a look on it.offset_sample.dwg Quote Link to comment Share on other sites More sharing options...
BIGAL Posted November 19, 2020 Share Posted November 19, 2020 Just an idea not code if you say draw a ploygon at say middle of a pline say 0.6 radius then use that with ssget "F" it will look for something at less that 0.5. (command "polygon" 10 inst "I" 0.6) (setq co-ord (mapcar 'cdr (vl-remove-if-not '(lambda (x) (= (car x) 10)) (entget (entlast))))) (setq ss3 (ssget "F" co-ord (list (cons 0 "LWPOLYLINE")))) Quote Link to comment Share on other sites More sharing options...
amb2301 Posted November 21, 2020 Author Share Posted November 21, 2020 7 hours ago, BIGAL said: then use that with ssget "F" it will look for something at less that 0.5. Sir sorry for the late reply, there were some issues in my computer, so i cant able to check/reply you, could you please provide some sample, so it will be easier for me to understand. Sir , Actually i have 1000's of instances like this in each dwg itself, so if am manually draw 0.6m circle in each pline, i will take more time. so i m looking for a lisp to do this task. If possible please tell me Sir. Quote Link to comment Share on other sites More sharing options...
devitg Posted November 21, 2020 Share Posted November 21, 2020 8 hours ago, amb2301 said: Sir , Actually i have 1000's of instances like this in each dwg itself, so if am manually draw 0.6m circle in each pline, i will take more time. so i m looking for a lisp to do this task. If possible please tell me Sir. Would you pick as you guess it is near 0.5 m or want to check along the PLINE , at a given distance , and mark where it happen the OFFSET is > 0.5 ? Quote Link to comment Share on other sites More sharing options...
amb2301 Posted November 22, 2020 Author Share Posted November 22, 2020 19 hours ago, devitg said: Would you pick as you guess it is near 0.5 m or want to check along the PLINE , at a given distance , and mark where it happen the OFFSET is > 0.5 ? Sir, thanks for looking on it, Yes i want to check along wherever the pline with offset of below 0.5m. Actually i need to do Quality checking of each drawings & mark the offset distance, which is below 0.5m. Quote Link to comment Share on other sites More sharing options...
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.