andy_06 Posted January 25, 2022 Posted January 25, 2022 Hi all, I have had some help on here previous which has been great. I am looking for a lisp routine that exports the Nodes (GN), diameter (label) and then states if an End Cap and Reducer is present and then exports to a CSV similar to the attached. I have attached an example CAD drawing and CSV, is this possible? Many thanks TEST - End Cap Reducer.dwg Test.csv Quote
andy_06 Posted January 25, 2022 Author Posted January 25, 2022 13 minutes ago, andy_06 said: Hi all, I have had some help on here previous which has been great. I am looking for a lisp routine that exports the Nodes (GN), diameter (label) and then states if an End Cap and Reducer is present and then exports to a CSV similar to the attached. I have attached an example CAD drawing and CSV, is this possible? Many thanks TEST - End Cap Reducer.dwg 163.38 kB · 1 download Test.csv 110 B · 0 downloads Apologies, I should have mentioned that the diameters can be any number of sizes so would need to cope with various sizes (i.e. 63mm, 90mm, 125mm, 180mm etc). Quote
BIGAL Posted January 26, 2022 Posted January 26, 2022 (edited) This require say 5 steps to get the answer, for me I would go back steps making life easier, and have layers 63PE, 90PE, and so on removes 1 step of finding a label. If you had a simple lisp draw pline on correct layer and label at same time would make sense. I have something similar to do with pipes and it just means type 90PE at command line. Taking it the next step would be add reducer or end cap, as you draw it, would make a table or csv at the same time want length also ? Ps have table to excel. Now getting into donation could write direct to excel as you draw. So have a think about an overall improvement rather than after the event. This image is from a free library dcl toggle choice. Took like 1 minute to make the calling code. Edited January 26, 2022 by BIGAL 1 Quote
andy_06 Posted January 26, 2022 Author Posted January 26, 2022 7 hours ago, BIGAL said: This require say 5 steps to get the answer, for me I would go back steps making life easier, and have layers 63PE, 90PE, and so on removes 1 step of finding a label. If you had a simple lisp draw pline on correct layer and label at same time would make sense. I have something similar to do with pipes and it just means type 90PE at command line. Taking it the next step would be add reducer or end cap, as you draw it, would make a table or csv at the same time want length also ? Ps have table to excel. Now getting into donation could write direct to excel as you draw. So have a think about an overall improvement rather than after the event. This image is from a free library dcl toggle choice. Took like 1 minute to make the calling code. Hi, thanks for your input. To simplify things would it be possible to list and count certain blocks within the drawing? I could change the name or visibility of the end caps and reducers so that their name includes the diameter. Quote
BIGAL Posted January 27, 2022 Posted January 27, 2022 (edited) That would remove a number of steps, counting blocks is easy, still think about the overall approach, choose number, draw pline to next number, on correct layer, add ends if required, make table at same time. A rethink and a bit of automation saves hours. Edited January 27, 2022 by BIGAL 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.