# SrfGrid wont activate from meshray, Trying to create srf from contours with bounding box

**URL:** <https://discourse.mcneel.com/t/srfgrid-wont-activate-from-meshray-trying-to-create-srf-from-contours-with-bounding-box/108710>\
**Category:** Grasshopper\
**Created:** [September 15, 2020, 9:34am UTC](https://discourse.mcneel.com/t/srfgrid-wont-activate-from-meshray-trying-to-create-srf-from-contours-with-bounding-box/108710 "2020-09-15T09:34:36Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![siri.waelgaard](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/siri.waelgaard/32/182805_2.png) [@siri.waelgaard](https://discourse.mcneel.com/u/siri.waelgaard)\
**Post date:** [September 15, 2020, 9:34am UTC](https://discourse.mcneel.com/t/srfgrid-wont-activate-from-meshray-trying-to-create-srf-from-contours-with-bounding-box/108710/1 "2020-09-15T09:34:36Z")

</div>

![001 rhino](https://global.discourse-cdn.com/mcneel/uploads/default/original/3X/9/d/9d3c5db6357dfbc15b107d62d38dd3b23b71873a.jpeg) [001\_landskap-grasshopper.gh](https://discourse.mcneel.com/uploads/short-url/AdymUFHwNO4Fd5Utv66eOXtRZ9S.gh) (160.0 KB) ![001_srf grid wont activate](https://global.discourse-cdn.com/mcneel/uploads/default/original/3X/1/f/1fc55055c74a3c3c52cba94b54bed102d9808bf9.jpeg)

Have used this script before, but suddenly the SrfGrid wont react, have tried different bounding boxes (Larger than contours, smaller etc.) Seems like I have missed something obvious but i cant find out what.

Cant upload rhino file on here so link to drive with file;[https://drive.google.com/file/d/1zccLnnp2ngQuSog5h92AMs-5OV0vewnq/view?usp=sharing](https://drive.google.com/file/d/1zccLnnp2ngQuSog5h92AMs-5OV0vewnq/view?usp=sharing)

Hope someone can help.  
Best, Siri

---

<div class="post-metadata">

**Author:** ![Joseph\_Oster](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/joseph_oster/32/549124_2.png) [@Joseph\_Oster](https://discourse.mcneel.com/u/Joseph_Oster)\
**Post date:** [September 15, 2020, 1:25pm UTC](https://discourse.mcneel.com/t/srfgrid-wont-activate-from-meshray-trying-to-create-srf-from-contours-with-bounding-box/108710/2 "2020-09-15T13:25:36Z")

</div>

I made three changes:

1. Used the bottom face of a Bounding Box around the mesh.
2. Used Pick’n’Choose to replace nulls with base points.
3. Replaced SrfGrid because the ‘I’ input was not initialized, causing the “1. Input parameter I failed to collect data” error.

 ![001_landskap_2020Sep15a](https://global.discourse-cdn.com/mcneel/uploads/default/original/3X/c/8/c8b6899f16ab5dcef633d10916a642af084791f9.png)  
[001\_landskap\_2020Sep15a.gh](https://discourse.mcneel.com/uploads/short-url/iHRC5Hvmc6AdRo6Ms9rreV6ZxsA.gh) (150.6 KB)

---

<div class="post-metadata">

**Author:** ![siri.waelgaard](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/siri.waelgaard/32/182805_2.png) [@siri.waelgaard](https://discourse.mcneel.com/u/siri.waelgaard)\
**Post date:** [September 15, 2020, 3:21pm UTC](https://discourse.mcneel.com/t/srfgrid-wont-activate-from-meshray-trying-to-create-srf-from-contours-with-bounding-box/108710/3 "2020-09-15T15:21:49Z")

</div>

Thank you so much, I would never had figured that out! 🙏 🙂

---

<div class="post-metadata">

**Author:** ![siri.waelgaard](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/siri.waelgaard/32/182805_2.png) [@siri.waelgaard](https://discourse.mcneel.com/u/siri.waelgaard)\
**Post date:** [November 29, 2020, 10:05am UTC](https://discourse.mcneel.com/t/srfgrid-wont-activate-from-meshray-trying-to-create-srf-from-contours-with-bounding-box/108710/4 "2020-11-29T10:05:51Z")

</div>

Hello again. Now I have the same problem as I had earlier - what is the mistake im doing?  
The problem is that ‘‘a point in the grid is null. Fitting operation aborted’’, But the boundary box is lower than the contours.  
GH file:

> **[Landcape from contours.gh](https://drive.google.com/file/d/15qSdWWv6ZmlDPyI2zBjMDx8I_2TInTaX/view?usp=sharing)**
>
> Google Drive file.

Rhino File:  
[https://drive.google.com/file/d/1O97FG0xfKNa6kGF42nIHg1RLoF8DyoPo/view?usp=sharing](https://drive.google.com/file/d/1O97FG0xfKNa6kGF42nIHg1RLoF8DyoPo/view?usp=sharing)

 ![Script](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/d/2/7/d275a1e206a960777c62b88677b14a68ebe96022.jpeg)

---

<div class="post-metadata">

**Author:** ![wim](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/wim/32/747482_2.png) [@wim](https://discourse.mcneel.com/u/wim)\
**Post date:** [November 30, 2020, 9:21am UTC](https://discourse.mcneel.com/t/srfgrid-wont-activate-from-meshray-trying-to-create-srf-from-contours-with-bounding-box/108710/5 "2020-11-30T09:21:32Z")

</div>

Continued in duplicate thread: [https://discourse.mcneel.com/t/create-srfgrid-from-contours-using-gh/](https://discourse.mcneel.com/t/create-srfgrid-from-contours-using-gh/)

---

<div class="post-metadata">

**Author:** ![wim](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/wim/32/747482_2.png) [@wim](https://discourse.mcneel.com/u/wim)\
**Post date:** [November 30, 2020, 9:21am UTC](https://discourse.mcneel.com/t/srfgrid-wont-activate-from-meshray-trying-to-create-srf-from-contours-with-bounding-box/108710/6 "2020-11-30T09:21:37Z")

</div>


