Hi JB you miss the last ")"
But then it works , not as you want .
The problem is that a MLINE has two 11 in the entity list , see
((-1 . <Entity name: 400b5d58>) (0 . MLINE) (330 . <Entity name: 400b5cf8>) (5
. 2B) (100 . AcDbEntity) (67 . 0) (410 . Model) (8 . 0) (100 . AcDbMline) (2 .
STANDARD) (340 . <Entity name: 400b5cc0>) (40 . 20.0) (70 . 0) (71 . 1) (72 .
2) (73 . 2) (10 46.9202 164.76 0.0) (210 0.0 0.0 1.0) (11 46.9202 164.76 0.0) (12 0.993089 -0.117364 0.0) (13 0.117364 0.993089 0.0) (74 . 2) (41 . 0.0) (41
. 0.0) (75 . 0) (74 . 2) (41 . -20.0) (41 . 0.0) (75 . 0) (11 362.23 127.497
0.0) (12 0.993089 -0.117364 0.0) (13 0.117364 0.993089 0.0) (74 . 2) (41 . 0.0)
(41 . 0.0) (75 . 0) (74 . 2) (41 . -20.0) (41 . 0.0) (75 . 0))
You can see it in
BOLD And from a LIST command you have
Command: _list
Select objects: 1 found
Select objects:
MLINE Layer: "0"
Space: Model space
Handle = 2B
Justification = Top, Scale = 20.00, Style = STANDARD
Vertex 0: X= 46.9202 Y= 164.7604 Z= 0.0000
Vertex 1: X= 362.2304 Y= 127.4970 Z= 0.0000
So the second "11" is the pt2 you need to get .
I do not know how to do it , but sure you will .
Please letme know how do you cope it.
I will post the dwg I use on the lilly pond