Grasshopper

algorithmic modeling for Rhino

hi there,

i have a short question about the new path mapper component:

i try to extract a certain item from each path and try to rename it ( please have a look at the screenshot). it always takes the last item of each path, it doesn´t matter which item is written down in the source mask in round brackets. is that a bug or do i just got it wrong?

thanks in advance
karl

Views: 344

Attachments:

Replies to This Discussion

The following is from the help page of the path mapper component:

"If the mask is used to create a lexical pattern, (i.e. a source mask), you are only allowed to use placeholders for path and item indices. If however the mask is used to mutate a lexical pattern, (i.e. a target mask) then every element can be written in the form of a constant number, a placeholder or an expression."

So you can't use fixed numbers to extract a specific path. But there's another component for that. I agree that intuitively you'd think that should work, so this component could be beefed up to allow that functionality.
thanks for the help.

best

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