delete and free memory

I would like to remove all the objects that I have created reading an IGES file from every context and FREE the MEMORY but none of my instruction seems to work (EraseAll, CloseAllContexts ...)
Someone can help me? Thank you

Sharjith Naramparambath's picture

Hi Anna,
I think using the Remove function instead of EraseAll will alone help you to remove the objects completely from the context.
About freeing memory you need not worry, cascade (Handles) it all!