Door marks for type

Hey all, i am newbie on Dynamo Studio ad i have a problem with my first script, i want to automate my door marks (and eventually windows), i am reading the primer, watching some videos but actually i am not sure how do it

This is what i want to do and my progress so far


Sorry for my english and thanks in advance