Devika Padmakumar Nair
Ansys Employee

Hello, seems like no layer is detected here. 

  1. Have you tried the example file? does that work?
  2. Make sure the all geometries you are trying to extact has same layer def as given in script. eg, for ring make sure zmin is 0 and zmax is 0.9