It looks like you're new here. If you want to get involved, click one of these buttons!
How to interface DRC engine to the Ruby engine in Klayout?
such that I can transfer Ruby variable values between the two engines?
In the Example script, how to I pass the variable "Die_Orientation" from the calling ruby script to the DRC engine?
and viceversa, how to I pass the content of the variable "l10" from DRC engine to Ruby?
mydrc = <<DRC
l10 = input(15)
l1 = input(1)
(l10 ^ l1).sized(-0.002).output(100, 0)
Die_Orientation = "vertical"
eng = DRC::DRCEngine::new
Thank you in advance