Grasshopper

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!

Views: 1096

Attachments:

Replies to This Discussion

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.

Attachments:

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!

It will not work forever, at some point the cluster will create new outputs (for example when you add a hook) and that new output will be visible.

I got it. Many 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!!

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