diff --git a/pyaml/common/element.py b/pyaml/common/element.py index e18da8d6..7314c8d1 100644 --- a/pyaml/common/element.py +++ b/pyaml/common/element.py @@ -252,7 +252,16 @@ class Element: Unique element name. lattice_names : str or None, optional Lattice element selector associated with this element. Defaults to - ``name`` when omitted. + ``name`` when omitted. A pyAML element can be associated to several lattice elements. + + | Supported syntax of lattice_names: + | ``list(name,[name])`` : Lattice element names + | ``[name]@idx[,idx]`` : Lattice element indices in the subset formed by name. + | ``[name]#start_idx..end_idx`` : Lattice element range in the subset formed by name. + + In the above syntax, if the name is not specficied, the whole set + of lattice element is used for indexing. + description : str or None, optional Human-readable element description.