On 05/02/2017 at 10:47, xxxxxxxx wrote:
User Information:
Cinema 4D Version: R18
Platform: Windows ;
Language(s) : C++ ;
---------
I am playing with an idea for a plugin, but it is based on the assumption that the needed information is available ... somewhere.
Before I dive in I'd like to know if this needed information is indeed actually available.
Before doing any selection (points/polygons/edges) the candidate items are drawn highlighted when the user hovers over them (using live selection, ring selection, loop selection, path selection, ...)
Would it be possible for a plugin, be it a message, scenehook or tag, to listen to a particular message in order to detect which items are being drawn highlighted.
I know that in i.e. case of polygons I could use a ToolData plugin and use a viewportselect to perform a GetNearestPolygon to detect the polygon underneath the mouse cursor, but that would mean I need to duplicate all native selection tools in order to detect the items being highlighted.
I know it is far fetched but I was hoping there was a message being sent to let Cinema know which items to draw highlighted?