Jump to content
STERNontwerp

Index Bounds Question

Recommended Posts

I'm trying to find the index number of a specific item in a list. I thought I could use the Index Bounds node for this, but can't get it to work. I've stripped the network to show what I tried, but it doesn't give the expected outcome: 'item 3' (nor does it give an error '-1').

afbeelding.thumb.png.d9a5d5e518fc45b8a618a5408fd988ec.png

 

index-bounds-question.vwx

Share this post


Link to post

I should have made my question clearer: 

I have a list, and I know the value I'm looking for , but I want to know on what item that value is in the list.

In other words, in the actual network I'm working on: I can find out what the max value is in a list, but I want to know on where the max value is. I thought the Index Bounds node was made to do that. See new attachment

 

index-bounds-question2.vwx

afbeelding.png

Share this post


Link to post

Hi Marissa,

I'm bumping this topic as I have a similar issue with the "Index Bounds" node – maybe you can give me a tip on what's going wrong here...

I am looking to get the index of the first occurrence of item in list.

I've also looked at the code inside of the node, and it seems to make sense at first sight for the behavior I'd expect.

Many thanks in advance for any help!

Konrad Br.

Bildschirmfoto 2020-11-06 um 07.29.18.png

Bildschirmfoto 2020-11-06 um 07.30.51.png

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


 

7150 Riverwood Drive, Columbia, Maryland 21046, USA   |   Contact Us:   410-290-5114

 

© 2018 Vectorworks, Inc. All Rights Reserved. Vectorworks, Inc. is part of the Nemetschek Group.

×
×
  • Create New...