It looks like you're new here. If you want to get involved, click one of these buttons!
Hi, I've been learning klayout with python scripting and can do something like drawing a simple pattern, inserting the subcell, and writing out. However, I want to "select" the existing path (like waveguide or electrode path with known layer and datatype, and only showing in the top cell) and "edit" it such as modifying the polygon points, extract the points , or delete it only with python scripting.
Would you please show me a simple python script how to "select" the polygon which includes the specific point (such as the highest point of the specific layer/datatype in the top cell) and "modify" it only with python scripting instead of UI?