10 The following example explain how to replace hexa in script mode.
11 For parameters description see the gui documentation of replace hexa.
15 elts = doc.replace (qpattern, pd2,c1, pa2,c2, pb2,c3)
17 Operations on *elts*: :ref:`tuielements2`
23 .. literalinclude:: test_doc/replace_hexa/replace_hexa.py
29 .. image:: _static/before_replace_hexa.png
33 Before hexa replacement
36 .. image:: _static/after_replace_hexa.png
40 After hexa replacement
42 GUI command: :ref:`guireplacehexa`