# Grid and coordinates

**URL:** <https://forum.dynamobim.com/t/grid-and-coordinates/63846>\
**Category:** Revit\
**Tags:** dynamo\
**Created:** [May 11, 2021, 8:03pm UTC](https://forum.dynamobim.com/t/grid-and-coordinates/63846 "2021-05-11T20:03:44Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![fil](https://avatars.discourse-cdn.com/v4/letter/f/bc8723/32.png) [@fil](https://forum.dynamobim.com/u/fil)\
**Post date:** [May 11, 2021, 8:03pm UTC](https://forum.dynamobim.com/t/grid-and-coordinates/63846/1 "2021-05-11T20:03:44Z")

</div>

hi. i am new to revit and dynamo i am stuck at a simple problem and i dont know if its possible to achieve through dynamo or not.  
if yes then how?

i am trying to make a grid on each floor of the building currently i have two stories but it will increase later.  
and then to find coordinates of interesecting points.  
i want it to be generic that it will applicable on every model that i upload. first it make a grid and then give the coordinates for each floor. the size of grid for each floor will be same.

one solution that i think is by making offsets i dont know if it will work or not.

sharing a rough sketch for reference.

 ![WhatsApp Image 2021-05-12 at 00.57.28](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/1/6/163b4ad815a165e36b7fb948c8008b3a12b822e5.jpeg)

Revit file.  
[gandc.rvt](https://forum.dynamobim.com/uploads/short-url/tbP3MCHhFMWCcY1dVlvsHtyUXdm.rvt) (4.0 MB)

thanks in advance.

---

<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:** [May 11, 2021, 11:15pm UTC](https://forum.dynamobim.com/t/grid-and-coordinates/63846/2 "2021-05-11T23:15:43Z")

</div>

Building a series of Isocurves on a surface representative of the lowest face of the overall project’s bounding box would give you the intial grid. You could then intersect the U isocurves against a polysurface built by extruding the V isocurves, and get a series of points. Theses poitns could be projected onto every level, or onto every sequential elevation.

The spacing of the isocurves will want to be reasonably open - if you do something like a 1’ x 1’ grid things are likley going to be rather slow due to the sheer number of points.

---

<div class="post-metadata">

**Author:** ![fil](https://avatars.discourse-cdn.com/v4/letter/f/bc8723/32.png) [@fil](https://forum.dynamobim.com/u/fil)\
**Post date:** [May 12, 2021, 5:47pm UTC](https://forum.dynamobim.com/t/grid-and-coordinates/63846/3 "2021-05-12T17:47:52Z")

</div>

> [@jacob.small](#):
>
> e spacing of the isocurves will want to be reasonably open - if you do something like a 1’ x 1’ grid things are likley going to be rather slow due to the sheer number of points.

how can i do that in dynamo? if you can guide a little that would be very kind of you.

---

<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:** [May 12, 2021, 7:34pm UTC](https://forum.dynamobim.com/t/grid-and-coordinates/63846/4 "2021-05-12T19:34:36Z")

</div>

Isocurves can be created with this node:[Dynamo Dictionary](https://dictionary.dynamobim.com/#/Geometry/Curve/Create/ByIsoCurveOnSurface)

Spacing is based on parameterization of the surface, not distance so you’ll need to convert between the two on the overall surface. This is doable as an ‘early in my dynamo journey’ graph, but if you’re really new you might want to start with going though the Dynamo primer in it’s entirety. Skip nothing: every exercise has value in the methods shown - the outcomes are not the relevant part.

> **[About | The Dynamo Primer](https://primer.dynamobim.org/)**
>
> Download the Dynamo v1.3 Primer here

---

<div class="post-metadata">

**Author:** ![fil](https://avatars.discourse-cdn.com/v4/letter/f/bc8723/32.png) [@fil](https://forum.dynamobim.com/u/fil)\
**Post date:** [May 17, 2021, 10:26am UTC](https://forum.dynamobim.com/t/grid-and-coordinates/63846/6 "2021-05-17T10:26:21Z")

</div>

and i have tried this isocurves but the problem is it is used to create a surface but in my case the surface is already created

---

<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:** [May 17, 2021, 1:23pm UTC](https://forum.dynamobim.com/t/grid-and-coordinates/63846/7 "2021-05-17T13:23:40Z")

</div>

1. Get the surface, and spacing parameter for the isocurves.
2. Get isocurves on the surface ( watch your lacing as you will want the U and V isocurves in separate sub-lists)
3. Use a Geometry.Intersect node to intersect the sublist of U isocurves against the sublist of V isocurves. Watch your lacing.
4. Pull the coordinates of the points as desired.

---

<div class="post-metadata">

**Author:** ![fil](https://avatars.discourse-cdn.com/v4/letter/f/bc8723/32.png) [@fil](https://forum.dynamobim.com/u/fil)\
**Post date:** [May 18, 2021, 7:40am UTC](https://forum.dynamobim.com/t/grid-and-coordinates/63846/8 "2021-05-18T07:40:13Z")

</div>

[ByIsoCurveOnSurface.dyn](https://forum.dynamobim.com/uploads/short-url/fJkOfqw2dSflkI903AgUkCQMlFa.dyn) (23.6 KB)  
[gandc.rvt](https://forum.dynamobim.com/uploads/short-url/1wcJSm8vqCa6t8nz2FDvDHVwnPE.rvt) (4 MB)  
if you can just take a look at my script. its still not doing what I want to do.  
this is only giving me one point for each edge.

---

<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:** [May 18, 2021, 7:48am UTC](https://forum.dynamobim.com/t/grid-and-coordinates/63846/9 "2021-05-18T07:48:15Z")

</div>

Does it work for you with crossproduct??

 ![Screenshot 2021-05-18 094735](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/b/9/b9f7b5fa8b6961518338f862e34471da4ee19f62.png)

---

<div class="post-metadata">

**Author:** ![fil](https://avatars.discourse-cdn.com/v4/letter/f/bc8723/32.png) [@fil](https://forum.dynamobim.com/u/fil)\
**Post date:** [May 18, 2021, 7:53am UTC](https://forum.dynamobim.com/t/grid-and-coordinates/63846/10 "2021-05-18T07:53:08Z")

</div>

![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/2/b/2bce3bf8ed8543785b2b3fc7da19cb23eec26f8a.png)  
i am only getting 8 points. these are not even visible on the surface so i am not where these isocurves are plotted.

---

<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:** [May 18, 2021, 7:55am UTC](https://forum.dynamobim.com/t/grid-and-coordinates/63846/11 "2021-05-18T07:55:25Z")

</div>

Allright try th  
[ByIsoCurveOnSurface.dyn](https://forum.dynamobim.com/uploads/short-url/mBtwerUdS1DTyPLl6jJKsL7rd9d.dyn) (18.1 KB)  
is here…

 ![Screenshot 2021-05-18 094735](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/c/8/c885f51d098ca7e301c409d9561e889f3d3e8d4d.jpeg)

---

<div class="post-metadata">

**Author:** ![fil](https://avatars.discourse-cdn.com/v4/letter/f/bc8723/32.png) [@fil](https://forum.dynamobim.com/u/fil)\
**Post date:** [May 18, 2021, 8:00am UTC](https://forum.dynamobim.com/t/grid-and-coordinates/63846/12 "2021-05-18T08:00:12Z")

</div>

![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/4/8/48137f5f269056e2cb764898d093c0ca44931b2c.png)

the grid is also outside the floor. one more thing i want to ask can i set these boxes at known distance or spacing?

---

<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:** [May 18, 2021, 8:03am UTC](https://forum.dynamobim.com/t/grid-and-coordinates/63846/13 "2021-05-18T08:03:56Z")

</div>

![Screenshot 2021-05-18 094735](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/9/9/995948eee16f988448f3f0e149725dbacec11772.png)

---

<div class="post-metadata">

**Author:** ![fil](https://avatars.discourse-cdn.com/v4/letter/f/bc8723/32.png) [@fil](https://forum.dynamobim.com/u/fil)\
**Post date:** [May 18, 2021, 8:09am UTC](https://forum.dynamobim.com/t/grid-and-coordinates/63846/14 "2021-05-18T08:09:41Z")

</div>

![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/1/0/100747fc2189c2e44d38e99473c85f068f435549.png)  
not working

---

<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:** [May 18, 2021, 8:10am UTC](https://forum.dynamobim.com/t/grid-and-coordinates/63846/15 "2021-05-18T08:10:53Z")

</div>

Hide the “curve by isocurves” nodes

---

<div class="post-metadata">

**Author:** ![fil](https://avatars.discourse-cdn.com/v4/letter/f/bc8723/32.png) [@fil](https://forum.dynamobim.com/u/fil)\
**Post date:** [May 18, 2021, 8:32am UTC](https://forum.dynamobim.com/t/grid-and-coordinates/63846/16 "2021-05-18T08:32:55Z")

</div>

please share your script

---

<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:** [May 18, 2021, 8:35am UTC](https://forum.dynamobim.com/t/grid-and-coordinates/63846/17 "2021-05-18T08:35:27Z")

</div>

here we go…what i have done is set lacing to crossproduct…and hide the isocurve nodes…as Jacob mention in the first post…hope it will work;)  
[ByIsoCurveOnSurface.dyn](https://forum.dynamobim.com/uploads/short-url/l9SqHKTrDksinQHstfN373CsER2.dyn) (8.4 KB)

---

<div class="post-metadata">

**Author:** ![fil](https://avatars.discourse-cdn.com/v4/letter/f/bc8723/32.png) [@fil](https://forum.dynamobim.com/u/fil)\
**Post date:** [May 18, 2021, 8:39am UTC](https://forum.dynamobim.com/t/grid-and-coordinates/63846/18 "2021-05-18T08:39:41Z")

</div>

thanks alot its working… can i set the scale of these lines that one box should be of 3x3

---

<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:** [May 18, 2021, 8:42am UTC](https://forum.dynamobim.com/t/grid-and-coordinates/63846/19 "2021-05-18T08:42:28Z")

</div>

@fil Yes its possible, try a seach here on this forum and im sure there will be a lot off hits or take a look here…[https://primer.dynamobim.org/](https://primer.dynamobim.org/)

---

<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:** [May 18, 2021, 8:54am UTC](https://forum.dynamobim.com/t/grid-and-coordinates/63846/21 "2021-05-18T08:54:56Z")

</div>

![Screenshot 2021-05-18 094735](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/1/5/155f380baea86ed06dd65df0da5ac148dea45192.png)

---

<div class="post-metadata">

**Author:** ![fil](https://avatars.discourse-cdn.com/v4/letter/f/bc8723/32.png) [@fil](https://forum.dynamobim.com/u/fil)\
**Post date:** [May 18, 2021, 5:41pm UTC](https://forum.dynamobim.com/t/grid-and-coordinates/63846/22 "2021-05-18T17:41:34Z")

</div>

![Screenshot 2021-05-18 224038](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/4/4/442cc19fca388f437451d33be4648ef1860fc3b3.png)  
its working thanks alot.  
can I get these coordinates at these intersecting point through dynamo on excel

[Next page](https://forum.dynamobim.com/t/grid-and-coordinates/63846.md?page=2)
