Help needed : dynamo script that can detect orphan lighting fixture then create same family at correct hosted ceiling ( ceiling in arch link )

i create this script but i can’t reach to what i want
can help me to make this script as i want to make

Hello @mohamed22 and welcome :wink: try install genius loci package there is a node called family instance by vector as works on link, but you will need get the reference from the link, but the package support that as well…another could be bimorph element faces nodes as give the link reference as well, and then use spring, family instance by face…try it and if go stock, just show where and we can probably help you :wink:

thanks for your reply

I used genius loci package but there is an error that i can’t understand how i solve it

Hi maybe this post here could help you, Make flying elements get hosted on closest ceiling - #8 by sovitek