diff --git a/src/lay/lay/doc/about/drc_ref_global.xml b/src/lay/lay/doc/about/drc_ref_global.xml index 917ada706..96c622861 100644 --- a/src/lay/lay/doc/about/drc_ref_global.xml +++ b/src/lay/lay/doc/about/drc_ref_global.xml @@ -306,6 +306,8 @@ clip(0.mm, 0.mm, 0.5.mm, 0.6.mm) # shapes now will be taken from the given rectangle and clipped to it l1 = input(1, 0) +
+To remove the clip condition, call "clip" without any arguments.
Similar to log, but the message is printed formatted as an error
-Usage:
See Source#extent for a description of that function. diff --git a/src/lay/lay/doc/about/drc_ref_source.xml b/src/lay/lay/doc/about/drc_ref_source.xml index 05525f41e..20a46bee9 100644 --- a/src/lay/lay/doc/about/drc_ref_source.xml +++ b/src/lay/lay/doc/about/drc_ref_source.xml @@ -96,18 +96,31 @@ Use the global version of "edges" without a source object to address the default
This method has been introduced in version 0.27.
-Usage:
+Without an argument, the extent method returns a layer with the bounding box +of the top cell. With a cell filter argument, the method returns a layer +with the bounding boxes of the selected cells. The cell filter is a glob +pattern. +
The extent function is useful to invert a layer:
inverse_1 = extent.sized(100.0) - input(1, 0)+
+The following example returns the bounding boxes of all cells whose +names start with "A": +
+
+a_cells = extent("A*")
+