# Placing Revit family detail item in selected view

**URL:** https://forum.dynamobim.com/t/placing-revit-family-detail-item-in-selected-view/97387
**Category:** Revit
**Tags:** dynamo
**Created:** [January 22, 2024, 12:12pm UTC](https://forum.dynamobim.com/t/placing-revit-family-detail-item-in-selected-view/97387 "2024-01-22T12:12:07Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![brageCRRV7](https://avatars.discourse-cdn.com/v4/letter/b/958977/32.png) [@brageCRRV7](https://forum.dynamobim.com/u/brageCRRV7)
#### Post date: [January 22, 2024, 12:12pm UTC](https://forum.dynamobim.com/t/placing-revit-family-detail-item-in-selected-view/97387/1 "2024-01-22T12:12:07Z")

</div>

"Hey!

I have created a Dynamo script that places a Revit detail family item (just an ‘x’) in the center of a concrete recess with the correct length and height based on recess dimensions. This works for several recesses on the same floor.

My problem is that I can’t control which view the detail families appear in. How can I control this? I would like to place them in every view with just one click. (I have tried different lacing options and the view range is the same for both view.)"

 ![DetailItem_2024-01-22_12-54-35](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/1/0/1012f79203521e049607f9f5a97fdf2514472add.png)  
 ![Skjermbilde 2024-01-22 131028](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/1/d/1d238c83c515e393ec8041b5a071e5cad022c9f0.png)

---

<div class="post-metadata">

### Author: ![Hyunu\_Kim](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/hyunu_kim/32/100239_2.png) [@Hyunu\_Kim](https://forum.dynamobim.com/u/Hyunu_Kim)
#### Post date: [January 24, 2024, 7:18am UTC](https://forum.dynamobim.com/t/placing-revit-family-detail-item-in-selected-view/97387/2 "2024-01-24T07:18:46Z")

</div>

Are there hundreds of this? Unless, I’d rather to use shaft fuction if I were you.

---

<div class="post-metadata">

### Author: ![brageCRRV7](https://avatars.discourse-cdn.com/v4/letter/b/958977/32.png) [@brageCRRV7](https://forum.dynamobim.com/u/brageCRRV7)
#### Post date: [January 24, 2024, 7:35am UTC](https://forum.dynamobim.com/t/placing-revit-family-detail-item-in-selected-view/97387/3 "2024-01-24T07:35:25Z")

</div>

Thank you for the replay!

Yeah I know, creating shaft is a solid option and will go that route if there is no other way.

But kinda want to place these detail items in a specific view if that is possible, might want to place other detail items in the future.

---

<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 24, 2024, 8:24am UTC](https://forum.dynamobim.com/t/placing-revit-family-detail-item-in-selected-view/97387/4 "2024-01-24T08:24:45Z")

</div>

There is a node called something like FamilyInstance.ByPointInView, or DetailItem.ByPointInView in the clockwork package which can achieve what you want. Just set up lacing to take a list of views for each point and a consistent family type.

---

<div class="post-metadata">

### Author: ![brageCRRV7](https://avatars.discourse-cdn.com/v4/letter/b/958977/32.png) [@brageCRRV7](https://forum.dynamobim.com/u/brageCRRV7)
#### Post date: [January 24, 2024, 9:44am UTC](https://forum.dynamobim.com/t/placing-revit-family-detail-item-in-selected-view/97387/5 "2024-01-24T09:44:07Z")

</div>

Thank you for the replay!

Sadly the clockwork package did not work for me, used the node FamilyInstance.ByPointInView

---

<div class="post-metadata">

### Author: ![sovitek](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/sovitek/32/116237_2.png) [@sovitek](https://forum.dynamobim.com/u/sovitek)
#### Post date: [January 24, 2024, 9:51am UTC](https://forum.dynamobim.com/t/placing-revit-family-detail-item-in-selected-view/97387/6 "2024-01-24T09:51:19Z")

</div>

Hi @brageCRRV7 do you have the dynamoironpython package installed ?

---

<div class="post-metadata">

### Author: ![brageCRRV7](https://avatars.discourse-cdn.com/v4/letter/b/958977/32.png) [@brageCRRV7](https://forum.dynamobim.com/u/brageCRRV7)
#### Post date: [January 24, 2024, 10:14am UTC](https://forum.dynamobim.com/t/placing-revit-family-detail-item-in-selected-view/97387/7 "2024-01-24T10:14:18Z")

</div>

Hi!

Yes, that package is installed

---

<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 24, 2024, 12:12pm UTC](https://forum.dynamobim.com/t/placing-revit-family-detail-item-in-selected-view/97387/8 "2024-01-24T12:12:12Z")

</div>

> [@brageCRRV7](#):
>
> FamilyInstance.ByPointInView

Works just as well. Setup your list lacing and levels correctly and you’re good to populate this on every plan you’d like.

---

<div class="post-metadata">

### Author: ![brageCRRV7](https://avatars.discourse-cdn.com/v4/letter/b/958977/32.png) [@brageCRRV7](https://forum.dynamobim.com/u/brageCRRV7)
#### Post date: [January 24, 2024, 12:32pm UTC](https://forum.dynamobim.com/t/placing-revit-family-detail-item-in-selected-view/97387/9 "2024-01-24T12:32:29Z")

</div>

I tried this node, but it is not possible to set the levels! The node familyInstance.ByPointAndLevel does that, but then I cant control what active view the family is placed in.

---

<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 24, 2024, 12:37pm UTC](https://forum.dynamobim.com/t/placing-revit-family-detail-item-in-selected-view/97387/10 "2024-01-24T12:37:04Z")

</div>

> [@brageCRRV7](#):
>
> but it is not possible to set the levels!

The view has a level associated to it. Detail components don’t have a level after all - they are view hosted.

As long as your views are for the right level(s) you should be good to go.

---

<div class="post-metadata">

### Author: ![brageCRRV7](https://avatars.discourse-cdn.com/v4/letter/b/958977/32.png) [@brageCRRV7](https://forum.dynamobim.com/u/brageCRRV7)
#### Post date: [January 24, 2024, 1:59pm UTC](https://forum.dynamobim.com/t/placing-revit-family-detail-item-in-selected-view/97387/11 "2024-01-24T13:59:06Z")

</div>

Got it to work! Just changed one little detail.

So I used the node Document.ActiveView, I am familiar with it and it have work before, but not this time, changed it to Views, where I select the view drom a drop down menu and then it worked.

Summery  
Node **FamilyInstance.ByPointInView** from the clockwork package works for placing detail family items on a view using the node **Views** and a specified point.
