generative modeling for Rhino
Hi Everyone!
I'm wondering if there is a True/False sensor that can tell me if data was collected...
thanks!
Tags:

Hi Ziv,
what are you trying to do exactly?
--
David Rutten
david@mcneel.com
Poprad, Slovakia
Permalink Reply by Ziv Gadon on June 2, 2012 at 8:37am 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.
Permalink Reply by Ziv Gadon on June 2, 2012 at 8:42am If "no data was collected" then -"False"
else "true".
is it possible?
Permalink Reply by Luis Fraguada on June 2, 2012 at 9:05am 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...
Permalink Reply by Ziv Gadon on June 2, 2012 at 10:17am hi Luis,
But what happens when nothing hits the line?
when there is no data, the dispatch doesn't work..
Thanks,
ziv
Permalink Reply by Luis Fraguada on June 2, 2012 at 2:58pm 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.
Permalink Reply by Reid Gould on November 11, 2012 at 3:50pm try the Null Item component in Sets.List
© 2013 Created by Scott Davidson.
Powered by