Hello,

Please, do you know the Rhinocommon statements in VB.NET to activate the Ghosted view.

I would like to do the same thing that I do with the Menu View, but coding in VB.NET with RhinoCommon.

Thank you.

Best regards.

Jean-Luc

Tags: Display, Ghosted, Semi, mode, transparent

Views: 38

Replies are closed for this discussion.

Replies to This Discussion

Hi Jean-Luc,

See if this example is helpful to you:

https://github.com/dalefugier/RhinoCommon/blob/master/VB/SampleVbCo...

 -- Dale

Hello Dale,

Thank you very much. You have helped me out !

The statement that I was searching was this one :

Dim modes As Rhino.Display.DisplayModeDescription() = _
Rhino.Display.DisplayModeDescription.GetDisplayModes()
Dim DispMode As Rhino.Display.DisplayModeDescription = Nothing
DispMode = modes(3)

Dim _RhDocView As Rhino.Display.RhinoView = _RhDoc.Views.ActiveView
_RhDocView.ActiveViewport.DisplayMode = DispMode
_RhDoc.Views.Redraw()

Jean-Luc

RSS

Translate

© 2013   Created by McNeel Admin.

Badges  |  Report an Issue  |  Terms of Service