Hello Anna
1) So with TLENGTH Lisp routine (see my 1st message), you get the Total Length of objects in "current" units (mm ou cm ou m or km or etc)
2) I add the other versions: TLENGTH_100 and TLENGTH_1000
3) TLENGTH_100 divides the result by 100 so for example: cm to m
3) TLENGTH_1000 divides the result by 1000 so for example: m to km
4) I hope these 3 Lisp routines (from Patrick) wil help you !?
5) You can load (with APPLOAD) the 3 versions and after you will have 3 new commands: TLENGTH , TLENGTH_100 , TLENGTH_1000
6) PLEASE remind that these Routines are Lisp/VLisp routines, so they can ONLY interact with real DWG objects !
AND NOT with MAP FDO Objects coming from: SHP, SQLite, SDF, Oracle, PostGIS, ArcGIS, ArcSDE, etc ...
7) I will appreciate 2 real simple DotNet routines doing the SAME thing (Total Length / Total Area) with FDO Objects : ONLY the Total Length / Total Area (if applicable) of all FDO selected objects ... Nothing more ... Because MORE means MONEY !!
Regards, Patrice
Patrice ( Supporting Troops ) - Autodesk Expert Elite
If you are happy with my answer please mark "Accept as Solution" and if very happy please give me a Kudos (Felicitations) - Thanks
Patrice BRAUD
