Jump to content

Ordered Menu Token


csp

Recommended Posts

I am using stamp() to change the value of the ordered menu connected to a copySOP. I want to change based on the token value and not their order (0,1,2,3). How that can be achieved? 

Edited by cparliaros
Link to comment
Share on other sites

Thanks for your reply Puben, but this not what I was looking for. I know how to use stamp. My questions is... in a custom ordered menu:

index: 0, token: 1, name: one
index: 1, token: 5, name: five
index: 2, token: 10, name: ten

how the value that comes from stamp will change the selection in ordered menu based on its match with the token and not the index. So, if the values that come from stamp is 1 will match with index 0 which has token 1 and not with index 1 which has token 5.

 

In the example attached , there 3 points with ids 5,6,8 and on the other side of the copy there is an null with custom ordered menu with 3 items, where by default stamp try to match with index of menu's items but it will not as there are out of range (0-2) and gives an error. The idea is to match with their token values.

token_example.hip

Edited by cparliaros
Link to comment
Share on other sites

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.   Paste as plain text instead

  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.

×
×
  • Create New...