Caderious Jackson Posted March 11, 2015 Posted March 11, 2015 Hello. I work in the precast concrete industry and I am looking for a simple lisp routine to shave some time off our rebar drawing process. Right now we use poly lines to draw in the rebar. From there we have to list every single line to get its length, plug these lengths and Qty's into an excel sheet, then import a table into the drawings. There has to be a lisp routine that can extract length and qty's of all poly lines and put this info into a table right? From there, we can take it a step further, put the different lines on layers by size, and pull this info into the table as well. Anyone have any ideas? Quote
Dadgad Posted March 12, 2015 Posted March 12, 2015 (edited) Welcome to CADTutor. This seems like something that could be done using the built in DATA EXTRACTION pretty easily. I just did this in a few minutes, and there are lots of ways this could be enhanced and further customized. Data Extraction is a wonderful tool. The table generated can be inserted in the drawing in either model or paperspace, and or exported as an external spreadsheet No more time to play right now, but this should get you headed in a good direction. The data extraction style is included in the .dwg, to get you on the tracks. I have never used LT, but imagine that you have Data Extraction available. There are quite a few optional settings, which should enable you to do most of what you describe without lifting a finger. Come to think of it, as you are using LT, I believe you are unable to use lisp, making this option even more appropriate. DataExtraction test.dwg Edited March 12, 2015 by Dadgad Quote
BIGAL Posted March 12, 2015 Posted March 12, 2015 Like Dadgad export to excel and reorganise then link the excel back to LT as a data link Quote
SLW210 Posted March 12, 2015 Posted March 12, 2015 I moved your thread to the AutoCAD LT Forum. 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.