Parametric primitives through python script I'm trying to get into blender Scripting and am having a hard time finding examples or info on how one would create something like 3DS Max's Scripted Primitive; parametric objects that can be modified at any time after creation, not only until you perform another action, like standard blender object.

Main thing is I want to generate geonetry through code, not with blend shapes or by simply moving components around, and I want to be able to go back at any time and adjust this geometry.

Ideally there's an example script out there that does something similar, I'm experienced enough with Python to figure it out, it's just documentation is very lacking and I find info on google that is over 10 years old!
I don't know if you're still searching for this but I found something that may be what you're looking for. It's an Add-On called "Wonder Mesh". The Add-On allows you to generate and edit the parameters of its available primitives. That being said, the author states that you need to convert the object to a "regular mesh" if you want to modify the primitive. It overwrites modifications to the Object Data that were made in Edit Mode.

Here is a direct link to the Add-On:

https://blendermarket.com/products/wonder-mesh

(You can purchase it here or go to the bottom of the page for the GitHub link)

Here is a video on the most recent version for Blender v2.8:

https://www.youtube.com/watch?v=zUFWcGAoDPw

Here is a video on a older version (in case it's useful): 

https://www.youtube.com/watch?v=WCnwnwuDbfk