Article | 60001063 |
Type | Wish |
Product | Engine |
Version | 6017 |
Date Added | 1/15/2010 |
Fixed | Yes [1/15/2010] |
Submitted by | meimaroglou Stavros |
Keywords |
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.