zero is not the same as null. Zero is a perfectly valid (and rather common) number, whereas a null is a lack of a number.
If you want to remove specific values from a tree, you should create a cull pattern that is FALSE for those values and TRUE for everything else. In this particular case it should be easy, because when you feed ZERO into a boolean parameter it is automatically converted to FALSE, and anything else is converted to TRUE.
Oh wait! That's not what you meant. You want to remove empty branches from a structure. You have to use the Clean component for this and make sure you set the [E] input to True:
"If you want to remove specific values from a tree, you should create a cull pattern that is FALSE for those values and TRUE for everything else. In this particular case it should be easy, because when you feed ZERO into a boolean parameter it is automatically converted to FALSE, and anything else is converted to TRUE."
but I am not sure how to feed the "P" value for the cull pattern.
David Rutten
zero is not the same as null. Zero is a perfectly valid (and rather common) number, whereas a null is a lack of a number.
If you want to remove specific values from a tree, you should create a cull pattern that is FALSE for those values and TRUE for everything else. In this particular case it should be easy, because when you feed ZERO into a boolean parameter it is automatically converted to FALSE, and anything else is converted to TRUE.
Oh wait! That's not what you meant. You want to remove empty branches from a structure. You have to use the Clean component for this and make sure you set the [E] input to True:
--
David Rutten
david@mcneel.com
Poprad, Slovakia
Jan 6, 2010
Francisco Lara
David
I am trying to do this:
"If you want to remove specific values from a tree, you should create a cull pattern that is FALSE for those values and TRUE for everything else. In this particular case it should be easy, because when you feed ZERO into a boolean parameter it is automatically converted to FALSE, and anything else is converted to TRUE."
but I am not sure how to feed the "P" value for the cull pattern.
Should I feed it with a expresion?
Thanks!
Oct 2, 2011
Frans Magnusson
I could really use a "cull if null" button on the output rightclick menu of components. Not sure if it is a general enough request, though.
Oct 10, 2011