# Creating a Revit Legend with Dynamo script, Python needed

**URL:** <https://forum.dynamobim.com/t/creating-a-revit-legend-with-dynamo-script-python-needed/51765>\
**Category:** Revit\
**Created:** [June 12, 2020, 12:10am UTC](https://forum.dynamobim.com/t/creating-a-revit-legend-with-dynamo-script-python-needed/51765 "2020-06-12T00:10:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kerstinf](https://avatars.discourse-cdn.com/v4/letter/k/ce7236/32.png) [@kerstinf](https://forum.dynamobim.com/u/kerstinf)\
**Post date:** [June 12, 2020, 12:10am UTC](https://forum.dynamobim.com/t/creating-a-revit-legend-with-dynamo-script-python-needed/51765/1 "2020-06-12T00:10:51Z")

</div>

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!

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/8/3/83d925a5eb274fc23d7d053955d0b785d64847ce.png)
