# Dynamo Office Hours: Blocking It Out

**URL:** <https://forum.dynamobim.com/t/dynamo-office-hours-blocking-it-out/88791>\
**Category:** Civil 3D\
**Created:** [April 20, 2023, 6:10pm UTC](https://forum.dynamobim.com/t/dynamo-office-hours-blocking-it-out/88791 "2023-04-20T18:10:37Z")\
**Posts on this page:** 11\
**Page:** 1

<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:** [April 20, 2023, 6:10pm UTC](https://forum.dynamobim.com/t/dynamo-office-hours-blocking-it-out/88791/1 "2023-04-20T18:10:38Z")

</div>

Hi everyone!

Just wanted to share the sample files that I used during the demo portion of the Dynamo Office Hours session this morning (April 20, 2023).

The `05_DriveCar.dyn` example was an extra fun one that I didn’t get to in the presentation, but here’s what it does 😜

![car](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/2/0/201f2fdec157b4f2ac45ee11abea4158f4603ff3.gif)

Enjoy!

[Example.dwg](https://forum.dynamobim.com/uploads/short-url/kHu68d2Encwe3gQqrrVoz9HswVk.dwg) (5.1 MB)  
[Luminaires.dwg](https://forum.dynamobim.com/uploads/short-url/drkWh8T5LAFcYOjwg1cy4pRUOf6.dwg) (631.2 KB)  
[01\_PlaceTrees.dyn](https://forum.dynamobim.com/uploads/short-url/pkd9f9PTJ93jriMH9yWd2O1HHZz.dyn) (84.4 KB)  
[02\_EditBlockDefinition.dyn](https://forum.dynamobim.com/uploads/short-url/mvrFNU65S4OBt4OL2kDKfrXh0Oi.dyn) (21.2 KB)  
[03\_PlaceLegend.dyn](https://forum.dynamobim.com/uploads/short-url/zgrJBUCmxHFcqmLZGINJ8GQ0fkd.dyn) (66.2 KB)  
[04\_PlaceLuminaires.dyn](https://forum.dynamobim.com/uploads/short-url/kCDOSkhhusulRq7KG2ApLjRzc6j.dyn) (57.5 KB)  
[05\_DriveCar.dyn](https://forum.dynamobim.com/uploads/short-url/SUzzcaKIbZQI8g6XbJKhalER8w.dyn) (54.7 KB)

---

<div class="post-metadata">

**Author:** ![patrick.ericson](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/patrick.ericson/32/121411_2.png) [@patrick.ericson](https://forum.dynamobim.com/u/patrick.ericson)\
**Post date:** [April 20, 2023, 8:40pm UTC](https://forum.dynamobim.com/t/dynamo-office-hours-blocking-it-out/88791/2 "2023-04-20T20:40:16Z")

</div>

Thanks for sharing, @zachri.jensen  
I will try the car 🙂

---

<div class="post-metadata">

**Author:** ![patrick.ericson](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/patrick.ericson/32/121411_2.png) [@patrick.ericson](https://forum.dynamobim.com/u/patrick.ericson)\
**Post date:** [April 26, 2023, 3:13pm UTC](https://forum.dynamobim.com/t/dynamo-office-hours-blocking-it-out/88791/3 "2023-04-26T15:13:51Z")

</div>

Really liked the idea of insert blockreferences from Xref so I created my own version with layer, rotation and insertion from more then one xref.  
Thanks for inspiration @zachri.jensen 🥳

---

<div class="post-metadata">

**Author:** ![belal.hasheesh](https://avatars.discourse-cdn.com/v4/letter/b/7feea3/32.png) [@belal.hasheesh](https://forum.dynamobim.com/u/belal.hasheesh)\
**Post date:** [January 8, 2024, 7:57am UTC](https://forum.dynamobim.com/t/dynamo-office-hours-blocking-it-out/88791/4 "2024-01-08T07:57:39Z")

</div>

@zachri.jensen Thanks for this.  
i have clarification  
if you need to set 3 different block to Alignment  
we can do it from offset alignment 1st block at center ,2nd right and 3rd left  
but once i did 1st block if i need to do other blocks it’s replace the first one automatic.  
Also the same case if we put (If statement)  
Why is this happen?  
should i repeat the same node for alignment ?

---

<div class="post-metadata">

**Author:** ![patrick.ericson](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/patrick.ericson/32/121411_2.png) [@patrick.ericson](https://forum.dynamobim.com/u/patrick.ericson)\
**Post date:** [January 8, 2024, 11:58am UTC](https://forum.dynamobim.com/t/dynamo-office-hours-blocking-it-out/88791/5 "2024-01-08T11:58:57Z")

</div>

Not sure if I understand you correct but can you share your graph and an example file?

---

<div class="post-metadata">

**Author:** ![belal.hasheesh](https://avatars.discourse-cdn.com/v4/letter/b/7feea3/32.png) [@belal.hasheesh](https://forum.dynamobim.com/u/belal.hasheesh)\
**Post date:** [January 8, 2024, 2:41pm UTC](https://forum.dynamobim.com/t/dynamo-office-hours-blocking-it-out/88791/6 "2024-01-08T14:41:37Z")

</div>

Thanks for replying  
The same graph and same dwg.  
If you try to run first script with circle block to draw it at right side of alignment. Then,  
if you try again to run script with another block like center(tree) or left (triangle) it’ll delete the old one that we draw it in the first (circle block(Right side)).

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/2/b/2b6212aebd76354893d53a3e6fd1555ee073712c.png)  
[test.dwg](https://forum.dynamobim.com/uploads/short-url/b111mzQ7ahXT4YuNOyyhambzKrl.dwg) (6.6 MB)

---

<div class="post-metadata">

**Author:** ![patrick.ericson](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/patrick.ericson/32/121411_2.png) [@patrick.ericson](https://forum.dynamobim.com/u/patrick.ericson)\
**Post date:** [January 8, 2024, 3:06pm UTC](https://forum.dynamobim.com/t/dynamo-office-hours-blocking-it-out/88791/7 "2024-01-08T15:06:56Z")

</div>

I see.  
That is related to object binding in Dynamo.  
Not at my computer at the moment but check the left menu ( I think it say Dynamo) and then Object binding. In that menu, uncheck all options. I think will help you.

> [@Dynamo For Civil 3D Binding](https://forum.dynamobim.com/t/dynamo-for-civil-3d-binding/77487/2):
>
> Hi @mparks8G2XN, This has been a point of confusion for a lot of folks for quite awhile, so let’s take the time to do a deep dive. Here’s an example. I’m using Civil 3D 2023 with Dynamo Core 2.13. Below is the test graph, about as basic as you can get - create a circle on layer 0 at the model space origin. (click to expand/collapse) play_button Case 1: No Binding Data Retained Cases 2-4 below will all have the same behavior when disconnecting/reconnecting input ports and changing input value…

---

<div class="post-metadata">

**Author:** ![belal.hasheesh](https://avatars.discourse-cdn.com/v4/letter/b/7feea3/32.png) [@belal.hasheesh](https://forum.dynamobim.com/u/belal.hasheesh)\
**Post date:** [January 9, 2024, 7:28am UTC](https://forum.dynamobim.com/t/dynamo-office-hours-blocking-it-out/88791/8 "2024-01-09T07:28:04Z")

</div>

still the same problem

---

<div class="post-metadata">

**Author:** ![belal.hasheesh](https://avatars.discourse-cdn.com/v4/letter/b/7feea3/32.png) [@belal.hasheesh](https://forum.dynamobim.com/u/belal.hasheesh)\
**Post date:** [January 23, 2024, 3:20pm UTC](https://forum.dynamobim.com/t/dynamo-office-hours-blocking-it-out/88791/9 "2024-01-23T15:20:40Z")

</div>

is there not anyway to solve this problem??

---

<div class="post-metadata">

**Author:** ![jacob.small](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jacob.small/32/161030_2.png) [@jacob.small](https://forum.dynamobim.com/u/jacob.small)\
**Post date:** [January 23, 2024, 7:44pm UTC](https://forum.dynamobim.com/t/dynamo-office-hours-blocking-it-out/88791/10 "2024-01-23T19:44:34Z")

</div>

Best to start a new topic, including the .dyn and dwg you are using, a note on the Civil 3D and Dynamo versions you are using, and an indication of the binding settings you are using in environment when running the graph.

---

<div class="post-metadata">

**Author:** ![belal.hasheesh](https://avatars.discourse-cdn.com/v4/letter/b/7feea3/32.png) [@belal.hasheesh](https://forum.dynamobim.com/u/belal.hasheesh)\
**Post date:** [January 25, 2024, 1:06pm UTC](https://forum.dynamobim.com/t/dynamo-office-hours-blocking-it-out/88791/11 "2024-01-25T13:06:20Z")

</div>

Noted , Thanks
