Note
New in version 7.00
Table of Contents
This module contains functions for inserting "Virtual Elements" into the MineSight Viewer window, allowing one to effectively "highlight" existing elements, or create new "highlights" at arbitrary positions.
Note that all virtual elements created by this moudle can also be cleared and/or saved through the Virtual Elements menu in MS3D.
See grail.ms3d.element for the definitions of Point, Point List and Face List.
All add_* functions return a token that can be passed to clear to remove the new virtual element.
"Highlight" an existing element by creating a virtual element at the exact same position. Returns a token just like the add_* functions, which can be used to remove the new virtual element.
Element must be an object of class Element (see grail.ms3d.element). Also note that only Markers, Polylines, Polygons, Shells and Labels are supported. Passing any other sort of element to this function will result in a ValueError.
Labels are treated specially in that a marker is insterted at the centre of the label, rather than a virtual label of the same dimensions being inserted.