how to use bbox in layer_proc.rbm

edited April 2013 in Ruby Scripting
Hi All,
i am using layer_proc.rbm in klayout, can anyone kindly tell me how to create bbox in klayout?

Thanks

Jian

Comments

  • edited November -1

    Hi Jian,

    bbox returns the bounding box of the current cell and is not a layer method.

    It is used like this:

    bbox.not(input("1/0")).output("10/0")
    

    This sample inverts layer 1/0 by subtracting it from the bounding box and delivers the result to layer 10/0.

    Regards,

    Matthias

Sign In or Register to comment.