Message 1 of 6
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have a code in which first i get lwpolyline from drawing
(setq pl (entget (car (entsel)))
then i get endpoint of this lwpolyline
(setq plbbb (cdr (assoc 10 (reverse pl))))
then i have in my drawing block with insertion point at the end of my polyline, and i want to obtain a selection set with this block only
(setq ssblock (ssget "_X" (list (cons 10 plbbb) (cons 0 "INSERT"))))
The question is - why this ssget function is worked and gives me a selection set with this block although end point of lwpolyline is 2d (without z) and insertion point of block is 3d (with z = 0). ?
If i want compare endpoint of lwpolyline and insertion point of block, the =, eq and equal returns nil
Solved! Go to Solution.