How to identify the name of imported STEP models?

I'm experimenting with the C# IE_WPF Open CASCADE demo. I'm importing STEP models from multiple files into the app. When I programmatically iterate through the imported models, I would like to be able to identify which model is which. Ideally, I'd like to know the filename that a model came from, though I would settle for some sort of unique identifier. I've searched the docs and the code and have come up empty-handed so far. Any ideas?

Thank you!

Forum supervisor's picture

Dear dev5000,
I can suggest you to browse the 'Extended Data Exchange (XDE)' functionality of OCCT. The corresponding user's guide is at your disposal (see occt_xde.pdf, draw your attention to the chapter "Properties").
Examples of usage you can find at the corresponding XDE Draw component (see package XDEDRAW).
If you will need our technical support you may contact us via the Contact Form We will try to find a solution/workaround acceptable for you.
Training and e-learning courses are also at your disposal -
Best regards