I have a very quick questions, I am doing the grasshopper plugin in visual C#, I want to extract the material by doing this:
Rhino.DocObjects.Material mat = Rhino.RhinoDoc.Materials[mtsc];
But it always return me an error like this: An object reference is required for the non-static field, method, or property 'Rhino.RhinoDoc.Materials.get'