how to use ocaf

hi, all.
I want use OCAF to append some attributes to shape. but I don't know how to create link from OCAF to a shape.
a simple example. when I create a box, and the box has color green, then use XDE to write a step file, how can I do?
thanks a lot.

Dennis G.'s picture

Hello Shu,

this might be what you are looking for:

http://opencascade.blogspot.com/2008/12/adding-colors-and-names-to-your....

Best regards,

Dennis