Grasshopper

algorithmic modeling for Rhino

Hi all, 

I have a list whose branches represent the different families that live in an imaginary city. Some families have employed family members, whose professions are varied.

I want to insert the name of the professions in the population list, substituting their current names as 'Employed F' and 'Employed M'. I have tried to do it in 4 four ways but all have failed...Any idea what I am doing wrong??  

Thank you in advance!

Views: 356

Attachments:

Replies to This Discussion

So I think I found a solution that works (next time please upload the .gh file so we dont have to recreate datasets).

The problem seems to be that the replace text component fails when the path structure is different. So we can just isolate only the paths that contain text that needs to be replaced, replace the text and then merge the remaining paths back in at the end. I think replace text should do that automatically and work as expected, but this seems to be a workaround for now.

Attachments:

Armin, thank you very much! It works perfectly now! 

Best,

Olina

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