
Sun, 05/16/2010 - 02:26
Forums:
How can I change the color of the shape.
I have a step file loaded with XCAF and am able to select solids and faces in local context.
if the shape is a solid I can change its material with its ascociated TPrsStd_AISPresentation
not its color, if it's a face I can't change its material nor its color with the ascociated TPrsStd_AISPresentation. Does anybody have a clue or some simple example?
Thanks,
Arjan
Mon, 05/17/2010 - 12:21
Hello Arjan,
I think you should use the XCAFDoc_ColorTool to assign a color to a label (and herewith to the shape).
This might be helpful: http://opencascade.blogspot.com/2008/12/adding-colors-and-names-to-your....
Regards,
Dennis
Wed, 05/19/2010 - 12:19
Hello Dennis,
You are right, I tried myself also but had mixed results.
I will try again tonight, I think I better understand XDE now.
Regards,
Arjan.