Can anyone help me to place pins with limited number of layers? I trust the placement of Encounter so I don't want to
go for pin editor. I just want to limit layers, e.g up to M4. By default pins are placed to all the layers available in LEF
You can use setPinConstraint or specify the max routing layer using setMaxRouteLayer.