# Place a light based a point location

**URL:** <https://forum.dynamobim.com/t/place-a-light-based-a-point-location/98316>\
**Category:** Revit\
**Tags:** revit, dynamo\
**Created:** [February 21, 2024, 10:18am UTC](https://forum.dynamobim.com/t/place-a-light-based-a-point-location/98316 "2024-02-21T10:18:16Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![exmove069](https://avatars.discourse-cdn.com/v4/letter/e/a8b319/32.png) [@exmove069](https://forum.dynamobim.com/u/exmove069)\
**Post date:** [February 21, 2024, 10:18am UTC](https://forum.dynamobim.com/t/place-a-light-based-a-point-location/98316/1 "2024-02-21T10:18:16Z")

</div>

Hi,  
I am newbee in using Dynamo, I am trying to set a light based on point location;  
the problem is that everytime I run the script the light goes under the point location as shown here.  
How to solve this ? thanks in advance.

---

<div class="post-metadata">

**Author:** ![exmove069](https://avatars.discourse-cdn.com/v4/letter/e/a8b319/32.png) [@exmove069](https://forum.dynamobim.com/u/exmove069)\
**Post date:** [February 21, 2024, 10:19am UTC](https://forum.dynamobim.com/t/place-a-light-based-a-point-location/98316/2 "2024-02-21T10:19:39Z")

</div>

![Capture d’écran (174)](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/2/c/2cc8a494873cb119921c0953517c8bed5b354e0c.jpeg)  
 ![Capture d’écran (175)](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/5/e/5ed31d160c804101087623244b4d2bbf13a35d53.png)

---

<div class="post-metadata">

**Author:** ![Alien](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/alien/32/40701_2.png) [@Alien](https://forum.dynamobim.com/u/Alien)\
**Post date:** [February 21, 2024, 11:15am UTC](https://forum.dynamobim.com/t/place-a-light-based-a-point-location/98316/3 "2024-02-21T11:15:59Z")

</div>

1: What is the Z point you’re setting it to? Is this correct?  
2: How is the family set up? It could be a faulty family.

---

<div class="post-metadata">

**Author:** ![exmove069](https://avatars.discourse-cdn.com/v4/letter/e/a8b319/32.png) [@exmove069](https://forum.dynamobim.com/u/exmove069)\
**Post date:** [February 21, 2024, 11:29am UTC](https://forum.dynamobim.com/t/place-a-light-based-a-point-location/98316/4 "2024-02-21T11:29:06Z")

</div>

1: I though it will take Z from that point location on the curve.  
2: Maybe I dont know I could simply drag the family then place it. It will directely set on the ceiling

---

<div class="post-metadata">

**Author:** ![Alien](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/alien/32/40701_2.png) [@Alien](https://forum.dynamobim.com/u/Alien)\
**Post date:** [February 21, 2024, 11:32am UTC](https://forum.dynamobim.com/t/place-a-light-based-a-point-location/98316/5 "2024-02-21T11:32:57Z")

</div>

Check that it has.

Then check the family base point. ~Maybe there’s some offset in the family?

---

<div class="post-metadata">

**Author:** ![gilberto.arechigaiba](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/gilberto.arechigaiba/32/204980_2.png) [@gilberto.arechigaiba](https://forum.dynamobim.com/u/gilberto.arechigaiba)\
**Post date:** [February 21, 2024, 1:32pm UTC](https://forum.dynamobim.com/t/place-a-light-based-a-point-location/98316/6 "2024-02-21T13:32:53Z")

</div>

Amigo @exmove069 buenas, how are you today?? take a look a this post, has what you need!!  
by the way use the node Family Instanse by point and level, this way you put the ligth familly in the rigth level, that help you later!!

> [@Positioning blocks from the cad blueprint](https://forum.dynamobim.com/t/positioning-blocks-from-the-cad-blueprint/89872/4):
>
> Hola Amiga Miranda @cintiamiranda21 , Que lindo nombre por cierto!! wink You are doing everything right, you just made a “debutant” mistake, who controls the height with respect to the level is the parameter: Elevation from Level and not the Z value of the point directly, you can also use the node FamilyInstanse.ByPoint, to use the Z value directly but in this case the families will not be associated with any level, simply exist and will be visible in the project, I hope this helps you!

---

<div class="post-metadata">

**Author:** ![exmove069](https://avatars.discourse-cdn.com/v4/letter/e/a8b319/32.png) [@exmove069](https://forum.dynamobim.com/u/exmove069)\
**Post date:** [February 21, 2024, 1:50pm UTC](https://forum.dynamobim.com/t/place-a-light-based-a-point-location/98316/7 "2024-02-21T13:50:04Z")

</div>

Hi, so I have an error :

 ![Capture d’écran (176)](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/5/3/531cba20d3faaf85370b659999b2447b3270ba70.png)

---

<div class="post-metadata">

**Author:** ![gilberto.arechigaiba](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/gilberto.arechigaiba/32/204980_2.png) [@gilberto.arechigaiba](https://forum.dynamobim.com/u/gilberto.arechigaiba)\
**Post date:** [February 21, 2024, 2:04pm UTC](https://forum.dynamobim.com/t/place-a-light-based-a-point-location/98316/8 "2024-02-21T14:04:52Z")

</div>

your family is level base?? check this may be this is why gives you an error, normally the ligths should be ceiling base or free to be able to change the elevation or placed in the ceiling automaticly!

---

<div class="post-metadata">

**Author:** ![exmove069](https://avatars.discourse-cdn.com/v4/letter/e/a8b319/32.png) [@exmove069](https://forum.dynamobim.com/u/exmove069)\
**Post date:** [February 21, 2024, 2:41pm UTC](https://forum.dynamobim.com/t/place-a-light-based-a-point-location/98316/9 "2024-02-21T14:41:18Z")

</div>

I just wanted to place the family based at point on curve that I have drawn on a ceiling. I have tried lot of methods none of them worked for me.

---

<div class="post-metadata">

**Author:** ![gilberto.arechigaiba](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/gilberto.arechigaiba/32/204980_2.png) [@gilberto.arechigaiba](https://forum.dynamobim.com/u/gilberto.arechigaiba)\
**Post date:** [February 22, 2024, 8:41am UTC](https://forum.dynamobim.com/t/place-a-light-based-a-point-location/98316/10 "2024-02-22T08:41:30Z")

</div>

Can you share your .rtv with the familly loaded please to take a closer look to the probleme please??

---

<div class="post-metadata">

**Author:** ![exmove069](https://avatars.discourse-cdn.com/v4/letter/e/a8b319/32.png) [@exmove069](https://forum.dynamobim.com/u/exmove069)\
**Post date:** [February 22, 2024, 11:30am UTC](https://forum.dynamobim.com/t/place-a-light-based-a-point-location/98316/12 "2024-02-22T11:30:03Z")

</div>

Hi, I would like to move those point from 0 to 365 like Z axe,  
thanks so much

 ![Capture d’écran (177)](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/e/b/ebc167f1459b9e09afae949eca3d9b8d47bff618.png)

---

<div class="post-metadata">

**Author:** ![gilberto.arechigaiba](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/gilberto.arechigaiba/32/204980_2.png) [@gilberto.arechigaiba](https://forum.dynamobim.com/u/gilberto.arechigaiba)\
**Post date:** [February 22, 2024, 1:10pm UTC](https://forum.dynamobim.com/t/place-a-light-based-a-point-location/98316/13 "2024-02-22T13:10:48Z")

</div>

Srry bro i don’t have Revit 2024 installed, i can’t help you rigth now, may be next month i will begin to make test to 2024 products.

---

<div class="post-metadata">

**Author:** ![exmove069](https://avatars.discourse-cdn.com/v4/letter/e/a8b319/32.png) [@exmove069](https://forum.dynamobim.com/u/exmove069)\
**Post date:** [February 22, 2024, 1:19pm UTC](https://forum.dynamobim.com/t/place-a-light-based-a-point-location/98316/14 "2024-02-22T13:19:33Z")

</div>

ok 🙂 How can I change all my Z from that list of point ? My last attached screenshot

---

<div class="post-metadata">

**Author:** ![bvs1982](https://avatars.discourse-cdn.com/v4/letter/b/43a26b/32.png) [@bvs1982](https://forum.dynamobim.com/u/bvs1982)\
**Post date:** [February 22, 2024, 5:11pm UTC](https://forum.dynamobim.com/t/place-a-light-based-a-point-location/98316/15 "2024-02-22T17:11:44Z")

</div>

This should get you started.

![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/e/9/e9d1974e8a6d657bc354489338a0d21b2cb9b22f.png)

---

<div class="post-metadata">

**Author:** ![Alien](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/alien/32/40701_2.png) [@Alien](https://forum.dynamobim.com/u/Alien)\
**Post date:** [February 22, 2024, 5:28pm UTC](https://forum.dynamobim.com/t/place-a-light-based-a-point-location/98316/16 "2024-02-22T17:28:57Z")

</div>

Is that an image for ants?

---

<div class="post-metadata">

**Author:** ![exmove069](https://avatars.discourse-cdn.com/v4/letter/e/a8b319/32.png) [@exmove069](https://forum.dynamobim.com/u/exmove069)\
**Post date:** [February 22, 2024, 7:54pm UTC](https://forum.dynamobim.com/t/place-a-light-based-a-point-location/98316/17 "2024-02-22T19:54:54Z")

</div>

I have tried this one too, earlier today but did not place the light where I want.

---

<div class="post-metadata">

**Author:** ![bvs1982](https://avatars.discourse-cdn.com/v4/letter/b/43a26b/32.png) [@bvs1982](https://forum.dynamobim.com/u/bvs1982)\
**Post date:** [February 23, 2024, 7:51am UTC](https://forum.dynamobim.com/t/place-a-light-based-a-point-location/98316/18 "2024-02-23T07:51:29Z")

</div>

> [@exmove069](#):
>
> but did not place the light where I want.

How? Keep in mind Z is from 0.  
I.E. So for the second floor you may need a Z value of 6000 instead of 3000.

In the recent past i created this graph for elements  
who didn’t have a proper Host anymore (Host set to None).  
Maybe it can help.

 ![ReplaceFamiliesHostSetToNone_2024-02-23_08-58-17](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/8/e/8ecaeee783fb7e07548f8c05a7cc921e99572455.png)

---

<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:** [February 23, 2024, 8:23am UTC](https://forum.dynamobim.com/t/place-a-light-based-a-point-location/98316/19 "2024-02-23T08:23:09Z")

</div>

Hi @exmove069 not sure probably something here could work for you …

![Revit_YqPX4XuzdS](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/b/a/ba884ecd4f9b1d1c36dd7da9cf1ebc635c1461a5.gif)

 ![Skærmbillede 2024-02-23 092142](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/f/f/fff413e0a561629038e900291d3e9c574e1f61ee.png)

---

<div class="post-metadata">

**Author:** ![exmove069](https://avatars.discourse-cdn.com/v4/letter/e/a8b319/32.png) [@exmove069](https://forum.dynamobim.com/u/exmove069)\
**Post date:** [February 23, 2024, 9:38am UTC](https://forum.dynamobim.com/t/place-a-light-based-a-point-location/98316/20 "2024-02-23T09:38:07Z")

</div>

Hi, Thanks so much, I am trying to understand how nodes are connected and what is the function of each one, as newbee 🙂.

Thanks everyone.

---

<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:** [February 23, 2024, 9:54am UTC](https://forum.dynamobim.com/t/place-a-light-based-a-point-location/98316/21 "2024-02-23T09:54:39Z")

</div>

yeah try play around with it 😉

[Next page](https://forum.dynamobim.com/t/place-a-light-based-a-point-location/98316.md?page=2)
