# Python Insert Dynamic Block Reference function

**URL:** <https://forum.dynamobim.com/t/python-insert-dynamic-block-reference-function/66794>\
**Category:** Developers\
**Tags:** python\
**Created:** [August 4, 2021, 12:09am UTC](https://forum.dynamobim.com/t/python-insert-dynamic-block-reference-function/66794 "2021-08-04T00:09:55Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![mzjensen](https://avatars.discourse-cdn.com/v4/letter/m/b77776/32.png) [@mzjensen](https://forum.dynamobim.com/u/mzjensen)\
**Post date:** [August 4, 2021, 3:26am UTC](https://forum.dynamobim.com/t/python-insert-dynamic-block-reference-function/66794/3 "2021-08-04T03:26:12Z")

</div>

See answer here:

> [@How to insert BlockReference from python](https://forum.dynamobim.com/t/how-to-insert-blockreference-from-python/65469):
>
> Is there a way to insert a block reference from python? Im able to add attribute tags or set dynamic properties to existing blocks easily, but cant seem to replace the BlockReference.ByCoordinateSystem() block with a line of python code. Anyone have a way? Thanks in advance!

Using a Python node is not going to circumvent the bindings unless you run through Dynamo Player. Like Jacob said, you could also use a _Function Apply_ node in combination with Dynamo Player to achieve the same result.

 ![FunctionApply](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/b/d/bdfc1c69a15df3f221e725b060f78f68bbc950ba.png)

---

_[View the full topic](https://forum.dynamobim.com/t/python-insert-dynamic-block-reference-function/66794)._
