Creating a Revit Legend with Dynamo script, Python needed

Hi So Im trying to solve, how I can create a legend with a Dynamo script, so far the Script collects the walls and counts the unique elements and places them on aPoint by Coordinates well, but then when I try to use a python to place it in the view the FamilyInstance Point by view says Null to all elements. Does anyone know of a python I could use to Import my elemnts on the script to the active view (Legend)? Please, would be of great help! Thanks!