KLayout 0.29.8 (2024-10-28 63dd591e5) [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 supportis 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: