How to turn on/off mesh wire display?

Hi all,

How to turn on/off mesh wire display?
I want to control in command.
How to do by using SDK?

Check out this documentation page and the sample on it: DisplayModeDescription.DisplayAttributes Property

Hi Nathan,

I want to real time turn on/off mesh wire display, not using Rhino options.
Do you have an example in C++?
Thanks for your help

I gave you code for C# using RhinoCommon, allowing you to control it via code without having to go through options GUI.

I’m not sure how to do this exactly in C++, but you’ll have to usethe CRhinoDisplayAttrsMgr - Rhino C++ API: CRhinoDisplayAttrsMgr Class Reference . Also look at Rhino C++ API: DisplayAttrsMgrListDesc Class Reference and Rhino C++ API: CDisplayPipelineAttributes Class Reference