Grasshopper

algorithmic modeling for Rhino

Hi Everyone!

I'm wondering if there is a True/False sensor that can tell me if data was collected...

thanks!

Views: 2210

Replies to This Discussion

Hi Ziv,

what are you trying to do exactly?

--

David Rutten

david@mcneel.com

Poprad, Slovakia

I'm trying to create an "if then else" command in order to manipulate on some objects and i need to skip the manipulation in case it's not needed and just extrude it.

The middle illustration is the outcome of the current code and i need it to act like the left illustration. the wright illustration is working well - this is the manipulation I'm taking about. 

Attachments:

If "no data was collected" then -"False"

else "true".

is it possible?

it is possible, but how are you checking for data?What are the conditions by which you would get a true or a false?  Check the dispatch component, you could dispatch the mass which clear the gabarit out of one output, and the ones which are cut by it in another output...

hi Luis,

But what happens when nothing hits the line?

when there is no data, the dispatch doesn't work..

Thanks,

ziv

what is the data?  what is the data type you are expecting?  If there is no data, will it be null?  If it is null then you can check this and output a boolean.  If you want your question answered we need more specifics about how the 'data' is traveling through the document.

try the Null Item component in Sets.List

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service