How do I change the color of a few faces from the Brep.Faces array?

 

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();
Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.