hi, how can we change the color of a face ? i tried to cast it into an entity but i guess face is not an entity? thanks.
Are you talking about Autodesk.AutoCAD.DatabaseServices.Face class?
Face object is an Entity (e.g. Face class is derived from Entity class). You can see it clearly in Object Browser of VS:
Therefore you should be able to change its color as you do with any entity of other types (via Face.Color or Face.ColorIndex property). No need to cast it to Entity class
Norman Yuan
BoundaryRepresentation.Face is an BrepEntity, which has a SubentityPath property. I guess you would go after this property to find out what entity (or entities) is used to form the Face
Norman Yuan