It looks like you're new here. If you want to get involved, click one of these buttons!
I'm trying to call the DRC engine from a Ruby macro; and run this script on a linux box without a display connection. instance_eval throws an error as it appears instance_eval relies on the layout being loaded in the UI.
For example, the macro:
layout = RBA::Layout::new() drc_script = "script here" engine = DRC::DRCEngine::new engine.instance_eval(drc_script, '')
run without a display adapter:
klayout -zz -r mymacro.rb
throws error "/drc.lym:4065: No layout loaded - no default layout. Use 'layout' or 'source' to explicitly specify a layout."
Is there another way to run DRC without a display connection?