Dear experts,
I would like to know how to get the list of rhino layers names \ full-path \ even properties in a document using C#.
Thanks in advance,
K
Dear experts,
I would like to know how to get the list of rhino layers names \ full-path \ even properties in a document using C#.
Thanks in advance,
K
One way is to use the Layers table in the doc:
{
foreach (Rhino.DocObjects.Layer layer in RhinoDoc.ActiveDoc.Layers)
{
Rhino.RhinoApp.WriteLine(layer.FullPath);
}
}
Seems to work here from grasshopper editor.