i use RobotMesh class in my c# custom component,but when run in grasshopper,gh show this dialog…because my code is a lot lof ,it is hard to check ,can some one tell me where may be the problem,Thank you!
the RobotMesh is something like this:
public class RobotMesh
{
public Mesh GeoMesh;
public Rhino.Display.DisplayMaterial DisplayMat;
public RobotMesh(Mesh m,Rhino.Display.DisplayMaterial disMat)
{
GeoMesh = m.DuplicateMesh();
DisplayMat = disMat;
}
}