Hi, I've made some skill function to output a layer to autocad dxf. Therefore I use dbLayerOr to merge all shapes on a new layer. However dbLayerOr (and the other dbLayer... functions) only processes shapes. Vias and Pcells are not taken into account. Therefore I first need to do a dbFlattenInst, which destroys the hierarchy of the current processed cell, so therefore I have to work on a copy of the cell). On top of that in a larger design dbFlattenInst can take a lot of time, since it processes all the layers and I'm only interested in one of them. Is there some other function available which does take into account Pcells and Vias? There must be something, I reckon, f.i. the "mark net" function is taking into account hierarchy and Pcells and Vias (I wonder how that works, maybe some internal or undocument function?). The layers are all rendered to the display, so there must be some data structure available with rendered layers. It would be nice if it was possible to access that. Regards, Wim