| Article | 60001063 |
| Type | Wish |
| Product | Engine |
| Date Added | 1/15/2010 12:00:00 AM |
| Fixed | (1/15/2010 12:00:00 AM) |
| Submitted by | meimaroglou Stavros |
Summary
Support closest to cursor or eye nearest for signle entity select method
Solution
Currently GetEntityFromPoint of vdLayout returns the first entity that passes throw pick rect, searching from the last to the first item in entities list.
In version 6018 a new global property EntitySelectMode was added in vdDocument in order to support closest or eye nearest select method .
The EntitySelectMode is a type of VectorDraw.Render.PickEntityMode enum which contains the following values:
DrawOrder : Is the default operation .The entity picking operation returns the first entity that passes throw pick rect, searching from the last to the first item in entities list.
Closest :The entity picking operation returns the closest entity to the picking point.
EyeNearest :
The entity picking operation returns the entity that is nearest to the picking point in the Current View Z-order.
