How to serialize object action with code

is there a method to make a linspace like
obj longitudinal velocity with [3, 5, delta_v = 0.5]
obj action duration t [3, 5, delta]
obj lateral movement [A, B …]
the desired result is to make many scenarios with code
GUI tool is not efficient enough to for feature development

If you just want to parametrize the numbers given a fixed template for maneuvers, it can be done with KeyValues and NamedValues. If you want to generate a set of maneuvers programmatically, you want have to look into the TestRun InfoFile.

thanks for replying.
Currently Modify testRun file to change traffic object action
Is there a way to find all the property for single traffic object?