I using CRhinoLayerTable::AddLayer() to create new layer “NM$”
Then I delete the layer.
I import the same 3dm file and using CRhinoLayerTable::AddLayer() to create new layer “NM$” again.
The object is “NM$” layer
but layer dialog has no “NM$” layer
How to update layer dialog?
You can force the Layer panel to repaint by calling
RhinoRedrawLayerManagerWindow(). See rhinoSdkLayer.h for details.
Is this what you are looking for?
I using RhinoRedrawLayerManagerWindow()
It is not working.
“NM$” layer still do not on layer dialog.
After I changing layer filter type, “NM$” layer shows on layer dialog.
How can I do?
Are you using Rhino 5?
Can you provide me step-by-step instruction on how to repeat what you are seeing?