Exemplo n.º 1
0
        static void SelectEvents_OnSelect(
            ObjectsEnumerator JustSelectedEntities,
            SelectionDeviceEnum SelectionDevice,
            Point ModelPosition,
            Point2d ViewPosition,
            View View)
        {
            VertexSelectEffect effect = new VertexSelectEffect(
                _clientGraphicsMng,
                ModelPosition,
                0.01,
                0.8);

            RenderStyles styles =
                AdnInventorUtilities.GetProperty(
                    AdnInventorUtilities.InventorApplication.ActiveDocument,
                    "RenderStyles") as RenderStyles;

            effect.GraphicsNode.RenderStyle = styles["Glass (Limo Tint)"];

            _clientGraphicsMng.DrawDynamicGraphics(effect);
        }