Search found 1 match
- Wed Aug 28, 2024 1:35 am
- Forum: DG Kernel discussions
- Topic: Set face color
- Replies: 1
- Views: 3308
Re: Set face color
This was added in v7.0, I think. You need to query IBRepShape_DG out of IBRepFace_DG. and use the IBRepShape_DG.GetAppearance , which is actually an IMaterial_DG. (query/cast). It is in the Shape Explorer sample: Click 'More Face Properties' at the bottom. In the popped-up dialogue there is Per Face...