import layers from iges file

We export an iges file from a CAD tool, and then import this file to OpenCascade.
Can OpenCascade import the layers which is in iges file? We want to find the layers in the iges file.
Is it possible? Is there any example?

Daniel Neander's picture

Hello comak,

Using XDE you can import layers for Iges.
Draw examples can be found in file XDEDRAW_Layers.cxx, specifically getLayers method.

Thanks