Entity Properties - Line - Length and Angle
Comments
-
Yes is the quick answer, have a look at Lee-mac.com for his pline properties lisp it gives an extensive answer.
The quick and dirty 1 liner copy to command line. To get you started.
(vla-get-length (vlax-ename->vla-object (car (entsel "Pick pline "))))
If you explain more what it is your trying to do some one may have a program already done. NOT just get length.0 -
I'm looking to get the Angle and the Bearing from a property lines to generate a table, to use as a key, full of line curve data.ALANH said:If you explain more what it is your trying to do some one may have a program already done. NOT just get length.
0 -
I changed from the idea of the entity being a polyline to just a line.0
-
Ok you want a Bearing and distance label. That is easy to do either a line or a pline. Again there is multiple answers to this question, the way to find is like this, Google label bearing and distance Autocad Lisp.
I would also try Bricscad rather than Autocad. Adding Cad and lisp makes it work.
0 -
Thank you Alan0