Pipe Penetration schedule Though Firewalls

How can I begin to writing this program using dynamo?