algorithmic modeling for Rhino
Hi all,
I'm doing some volume analysis, I create my cluster to do two things:
1_show all information like footprint, gfa...(by the table as you see the below image)
2_get the FLOOR and VOLUME objects ( cluster output)
Because the table made by Text Tag 3D component, I must turn on "Preview Contents" and "Preview" on my Cluster. For my printing, I need the table on Rhino viewport, but i don't want to show the cluster output ( the VOLUME, FLOOR) because I will color them according functional color by another work.
I tried to turn off "preview" all the components (except the table) inside cluster but the VOLUME, FLOOR still appear on my viewport ( check the image no.02)
Someone pls let me know how to fix this issue.
Thanks all your help!
Tags:
It may not be possible. The contents are only previewed if both preview options are enabled, in which case you always also get the outputs.
It is possible (through code) to set the output parameters to hidden, but this has to be done in code and I can't guarantee that these options will be retained during a copy/paste, or file open cycle.
I attached a file which contains a cluster which contains a C# script that may work well enough for your purposes. It will hide ALL outputs of whatever cluster object contains it.
Just make sure the script runs every time the cluster refreshes, so hook it up to something which is always recomputed.
Thank David for your big help, It works perfect for me now.
Do you think that's weird when I try to delete your code (C#script) and it's still work as well.
It seems when you put that code once in your cluster, it will work forever even it's deleted.
Could you try again to confirm this issue.
Anyway your code is really cool. Thanks!
This is great, David. Thank you. It solves a need I have encountered frequently.
It seems like there is a bug/feature that allows for some outputs to be hidden, but I cannot seem to quite figure it out. It would be nice [feature request] if the visibility of a cluster output could be explicitly controlled with a setting in the Cluster Output component.
Thanks!!
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by