Brep entity drawing is optimized, so you need to recompile the entity after changing any face color:
myBrep.Faces[5].Color = Color.Red;
myBrep.RegenMode = CompileOnly; myBrep.Compile(new CompileParams(design1));
design1.Invalidate();
Brep entity drawing is optimized, so you need to recompile the entity after changing any face color:
myBrep.Faces[5].Color = Color.Red;
myBrep.RegenMode = CompileOnly; myBrep.Compile(new CompileParams(design1));
design1.Invalidate();
Comments
Please sign in to leave a comment.