Mon, 04/18/2022 - 09:38
how to append like OCAF or other OCC data scheme or something to maybe a AIS shape or TF Shape?
I would like to append attributes to object so that individual shapes would have attributes like object type, fill, color, material etc.
Mon, 04/18/2022 - 10:41
Dear John,
Normally the reverse dependency is implemented. In OCAF all the visualization attributes are stored to support save/open or undo/redo for displayed shapes too. Please, take a look at TPrsStd_AISPresentation class and the whole TPrsStd package created for this.
Regards,
Mikhail.
Mon, 04/18/2022 - 14:45
thanks for pointing the way, appreciate it. One more question to bother you about. Do you have a example on this that I could look at?
Mon, 04/18/2022 - 15:35
You can consider some samples provided with OCCT sources: