Grasshopper

algorithmic modeling for Rhino

Hello Everyone!!!

I have a little question for the GH members!!!

I have a list with a range of values from 1 to 100. But i will filter the list and see with the "Text Tag" only the value for example from 70 to 85!!!

How can I do it??

Another little question, how can add the sign "%" to the value list to show with the "text Tag" ??

Thank you in advance

Views: 728

Attachments:

Replies to This Discussion

Hi,

you may need a conversion to integer first. Use the Integer component.

Then you can use the Larger/Smaler than component to compare the values.

to add a char you need the Concatenate component.

Best,

Raul

Thanks for the quick response Raul.

The Value List is an Integer (see attachment), but i don´t understand how can i see only a small portion of the values, (for example from 60 to 80%) with the "Smaller/Large" component or with other components!!

P.S.

Thanks for the tips with the Concatenate components.

Best Regards

Attachments:

Hi,

like this: --> use Dispatch component

Hi Raul,

unfortunately I can not use this method, because so the values would no longer referenced with their parent points.

you can use dispatch with the same patern on the parent point list. The result will be a filtered parent point list.

Thanks so much for your precious help Mr. Raul

You could try grafting maybe if things become complex

Example Attached

Attachments:

Dear Julian

I don´t know, how to thank you for your work and time.

The problem is: my colored dots are generated  from my simulation script, who calculate the sightview percentage from a viewers to specific points.

I will show the % (of the simulation) above the colored points (problem already solved with the "text tag" and concatenate) and later filter the % of the points to see, only with specific range (even just filter the text, or text and dots).

With your scipt i cant put the Integer list with the referenced points into the (pop2D/pop3d) component.

I hope to exposed well the problem.
Very very thanks and best regards

Here's an alternative too which is using the domain components which is better for describing between functions. As opposed to a single larger than or greater than.

(This can be extended to 2D domains as well)

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service