Jump to content

Pline lengths organized in a table


Caderious Jackson

Recommended Posts

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?

Link to comment
Share on other sites

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.

rebar data extraction.JPG

DataExtraction test.dwg

Edited by Dadgad
Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...