@shaunwu25 wrote:
Hi All,
I’m developing a plug-in using c# in the visual studio environment.
I tried to simply use the sub layer name to find my objects.private void RunScript(object x, object y, ref object A) { Rhino.DocObjects.RhinoObject[] myObjs = RhinoDoc.ActiveDoc.Objects.FindByLayer("subLayerName"); A = myObjs; }
But it’s a no go, and the output is empty.
Any suggestion?Regards,
Shaun
Posts: 3
Participants: 2