C# .net command that extract area out of multiple closed polyline to a table IN SORTED ORDER
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I know data extraction command exist but I cannot find a way to have the areas be sorted in any meaningful way other than biggest to smallest.
Possible solution 1: somehow assign some useful numbering system attribute for data extraction to reference from and sort.
Possible solution 2: use fields and reference the area of the polyline. I will manually sort and move the poly line in such a way that they can be sorted using their geometric center location. Then write a command that will write input field expressions in the table like %<\AcObjProp Object(%<\_ObjId 2875408902560>%).Area \f "%lu2%pr1">% in the cell according to the location of each polyline.
possible solution 3:(most ideal solution) I already have text in the center of the polyline and those text can help me sort the polylines. I can somehow extract the text position and the polyline's geometric center and match the two and then write it into the table similar to solution 2. Say if I wrote A2 as text then it will input the area in A2 of the cell. This would be most ideal.
any ideas?