There are no specific tutorials (that I know of) to create parametric (stretchy) objects.
If you have a good understanding of how to script in GDL you shouldn't find it too hard.
If you are not familiar with GDL scripting then that is what you will need to learn.
There have been a few post here in the past listing good GDL resources to help you learn.
The GDL Cookbook by David Nicholson-Cole is still very good in my opinion (although a little dated now).
In fact it does have some examples of stretchy objects in 2D and 3D.
Here is a post that may have some helpful links.
http://archicad-talk.graphisoft.com/viewtopic.php?p=231433&highlight=cookbook#231433
Barry.
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11