Join generic family to ceiling

i have a duct hanger placed over ducts and i have to join these hangers to ceiling.

i had tried a code available on dynamoforum which it didnt work.

Your help is appreciated.


5fbb43f256c36ccc0a095e07a592788c689d13eb_2_690x368