KLayout 0.29.8 (2024-11-26 926dac96c) [master]

Ruler Properties

These are the properties that can be configured for rulers:

The "Label format" is an arbitrary text with embedded expressions that may represent a measurement value. Each such expression starts with a dollar sign, followed by the expression string. The expression syntax supports the basic operations ("*", "/", "+", "-" ..), bitwise operations ("|", "&", ..), the conditional operator ("x:y?z") as well as some functions, i.e. "abs", "sqrt", "exp". It includes a "sprintf" function. These are some examples:

A description of the expression syntax and the functions available can be found in About Expressions.

This is a list of all variables available: