Structural Bracing automation with Dynamo

Hi all Dynamo Experts,
I need your help to create this code which generates structural bracing

this from youtube
https://www.google.com/search?q=BRACING+USING+DYNAMO&rlz=1C1CHBD_enNZ913NZ913&oq=BRACING+USING+DYNAMO&gs_lcrp=EgZjaHJvbWUyBggAEEUYOTIHCAEQIRigATIHCAIQIRigAdIBCjEyMTE1ajBqMTWoAgCwAgA&sourceid=chrome&ie=UTF-8#fpstate=ive&ip=1&vld=cid:37725bb8,vid:8NOdLbD2Dg4,st:0

Does one have a code please share it, I appreciate

How to get help on the Dynamo forums - FAQ - Dynamo (dynamobim.com)