Michael,
I was already out of office when you posted
Yes I tought the ‘Length property must do it.
But when I run
(vlax-get-property (vlax-ename->vla-object (entlast)) 'Length)
I get
ActiveX Server returned the error: unknown name: LENGTH
Although when I inspect the
(vlax-ename->vla-object (entlast))
I get in the inspect window
(wanted to paste in here)
i get
Acad3Dpolyline
in the header
If i do the same with a normal line, i get the length property.
That was when I posted it to the swamp.
Marks post gives nil as a result and yours 0.0
I use Acad 2002, but that should not be it.
Thanks in advance
Bernd