Position of a door

Hi Mostafa,

thans for your reply. I tried what you have said. Thats what i came up with so far.


I tried it with List.FirstItem and List.MinimumItem. No result with First and some result with minimum. I found this similar thread about Linear Revit Elements - Report distance to nearest parallel grid. But this makes it not easier for me :confused:

This is my testproject.

Now it actully does something but not right :D. In the first tow doors it set the parametername but used the first grid and then the second. I think it has nothing to do with the distence right now. The other doors did not get any parameter value.

door-grid.dyn (11.9 KB)