Hola amigo @ritesh.trivedi885J6 buenas. you have a long and dificult journey, i advice you divide your script in stages:
- Insert the block and control the rotation to be aligned with the segment of your alignment.
- Control the dynamique block, (stretch action i supose) the value will be the length of the segment of your alignment.
- the paralels lines will be enough with an offset proces you must include all your standard that you mention to scale the lines.
I let you how to control dynamique parameters!!