It looks like you're new here. If you want to get involved, click one of these buttons!
I have written a code in Klayout version 0.24.10 which is working well when I use this version. However, after downloading the new version 0.25.3, I get and error for the following line of code: t = RBA::Trans::new(RBA::Trans::r0, 0, 0)
This is the error: undefined method `r0' for RBA::Trans:Class
Could you please let me know how to resolve this?
Thanks
Comments
Problem solved in the new version I had to type capital R:
t = RBA::Trans::new(RBA::Trans::R0, 0, 0)
Yes, that's right. Constants are written with capital letters in Ruby, that's why the lower-case "r0" was deprecated (see for example https://www.klayout.de/0.24/doc/code/class_DTrans.html).
Matthias