I need help for taking quantity

I need help for taking quantity

sf21808
Participant Participant
3,002 Views
14 Replies
Message 1 of 15

I need help for taking quantity

sf21808
Participant
Participant

Hello Guys, I need help for taking quantity either using hatch or closed polyline

 

I have to take plants quantity sheetwise.

 

sf21808_0-1733482908720.png

 

 

 

the above image is one sheet. The quantity I have written with leader are separate quantity of every planting.  I need to combine the same type of plantings sheetwise and make table like this.

 

sf21808_1-1733482908592.png

 

This is for single sheet. need to do it for 50 sheets. If there is any way to do that let me know. If cant do it with hatches, I could make it a closed polyline and find area. 

 

PS - I know we cant automate every part. if only quantity can be taken somehow is fine.

Thanks in advance.

0 Likes
Accepted solutions (1)
3,003 Views
14 Replies
Replies (14)
Message 2 of 15

pendean
Community Legend
Community Legend

Aren't you looking for something like this?
https://www.lee-mac.com/arealabel.html

 

and maybe this

https://www.lee-mac.com/lengthfield.html 

0 Likes
Message 3 of 15

sf21808
Participant
Participant

I've tried these already. In area label, we have to select every polyline individually and it gives area individually. Is there a way to calculate the cumulative area of all polylines within a specific layer and inside a selected portion (e.g., a red rectangle) in AutoCAD, without having to select each polyline individually?

sf21808_3-1733496336726.png

 

I don't need the length measurements, so the second link isn't useful for me

0 Likes
Message 4 of 15

ВeekeeCZ
Consultant
Consultant

Post some sample file. dwg, not a picture. You can anonymize it a little bit but keep a larger portion of hatches across multiple rectangles. It's not so easy to split hatches. There would be side effects.

0 Likes
Message 5 of 15

paullimapa
Mentor
Mentor

Try my free AOL app. In the AOL window there’s a command called Select which would let you select a set of closed plines and label them with a number along with an area. Then you can run the AOT command to generate a Table with the labels and areas showing a total on the bottom row. 


Paul Li
IT Specialist
@The Office
Apps & Publications | Video Demos
0 Likes
Message 6 of 15

sf21808
Participant
Participant

I already split the hatches separately. I just need to take quantity the rectangle wise in a table like shown above. I have attached the dwg file.

0 Likes
Message 7 of 15

sf21808
Participant
Participant

Your tool is amazing man. I might use it later. but I need to create a table combining the polylines layer wise. If have any that's close, please let me know 

0 Likes
Message 8 of 15

Sea-Haven
Mentor
Mentor

I can see one problem when looking at each sheet it would be better as a polygon rather than a rectang, if you get all the areas in the rectang and then do again in another layout you have duplications, where if you do use a rectang viewport draw a boundary around the area of interest and use that for table result. Plot it or not your choice.

SeaHaven_0-1733533763259.png

 

I have 2 programs the first will make multiple layouts for you walking along a PLINE and at a scale, it twists the viewport to match the pline so view is horizontal. The second is a make table of blocks up to 5 attributes deep counting them as result in table, this could be changed to recognize layers and areas. For me draw each table in the layout. Will have to look for it but did find previously hatch in table cell. 

 

Walk along Red pline, making layouts.

SeaHaven_2-1733534903466.png

Sorry not free but cheap like a 6 pack of beer as I have to customise the code to suit your title blocks and change table code for areas by layer, one freebie for you is export table to Excel. Do not have excel open. Note will not work with LT2024 or 25.

 

 

 

 

0 Likes
Message 9 of 15

sf21808
Participant
Participant

Hey,

 

Thank you for your suggestion, but I have to stick with rectangles (sheets) as they are based on A1 size templates. I've already set up layouts for 50 sheets, so the boundary adjustments you mentioned won't be feasible at this stage.

What I need now is a way to generate a quantity (area) table for each sheet, capturing either polyline or hatch. If your tool can help automate this process, that would be great—especially if it can group area layer wise.

0 Likes
Message 10 of 15

paullimapa
Mentor
Mentor
Accepted solution

Try this POLYAREA.lsp taken from here:

https://www.cadtutor.net/forum/topic/77121-lisp-table-with-polyline-areas-by-layer-name/

It'll let you select the area you want to tally and then create a table based on Layer & pline:

paullimapa_0-1733597330028.png

 


Paul Li
IT Specialist
@The Office
Apps & Publications | Video Demos
0 Likes
Message 11 of 15

Sea-Haven
Mentor
Mentor

I think you mis understood me "but I have to stick with rectangles (sheets" that is what my program does it walks along a pline making rectangs, it rotates the rectangs to suit so following the shape, it twists the view so that it appears in a layout viewport horizontal. 

SeaHaven_1-1733634951699.png

 

SeaHaven_0-1733634565397.png

Ok version 2 is a grid answer see movie. The next step using one or both is that all the layouts are made.

 

As per my other comment I would be inclined to have boundary shapes within those viewports for the area calculations, the worst is some one will just add all the sheets areas and if duplications it will be wrong answer. 

 

If walking along pline it makes like 50 in a few seconds. The grid version is a bit slower as it takes time to place the rectangs.

 

 

0 Likes
Message 12 of 15

sf21808
Participant
Participant

Thanks man. This will work. But I still have a lot of work to do manually. But, this will make my work easier

0 Likes
Message 13 of 15

sf21808
Participant
Participant

Thanks for your time and suggestion. But this wont work for me. I don't need rotate the rectangle along the shape. The sheets (rectangle) and layout is already set. I just have to follow the same as in the drawing I provided.

0 Likes
Message 14 of 15

paullimapa
Mentor
Mentor

Glad to have helped...cheers!!!


Paul Li
IT Specialist
@The Office
Apps & Publications | Video Demos
0 Likes
Message 15 of 15

Sea-Haven
Mentor
Mentor

Did you look at the movie in post 11 ? That is version 2 of the make layouts from rectangs. It does what you want. Will make 50 very fast.

0 Likes