How do I run "Polyline From Selection"

There are methods described to launch a Qcad function from its scriptfile.
Including the things a user would set up when initiating the function.

But I have to look that one up too.
it won’t be obvious …
keywords; script, run, …

Another example would be:

Regards
CVH