Kyle
Ansys Employee

This might be caused by some sort of rounding error, try reducing the database units (the third argument) in the "gdsopen" command of the "extract_countour_script" string to 0.1e-9: