TBC Macros and Extensions

 View Only

how to retrieve the location where an entity was selected on-screen using a rectangle/polygon selection - in a 3DView

  • 1.  how to retrieve the location where an entity was selected on-screen using a rectangle/polygon selection - in a 3DView

    Posted 10 hours ago

    Using a Wpf.Memberselection it works in a 2D-View with MostRecentPickIntersections.

    That gives back a list with the entity serials numbers and a sub-list with all the intersection points where the selection polygon crossed the entity. As Point3D's, without elevation information, but that's ok for my purpose.

    But that one fails completely in a 3D-View. The whole list is empty. So, how to achieve the same in a 3D-View?

    I'd like to polygon-select multiple lines in 3D-View and find out which end of each line was crossed, to know on which end the user i.e. wants to extend them.

    A Wpf.SelectEntity has PickPointProjected, that gives back a 3D location, even in 3D View, but is only useful for one entity at a time.



    ------------------------------
    Ronny Schneider
    ------------------------------