Need help removing string Duplicates in ARRAY (Vex)(SOLVED)
1258 6 2-
- Getyamamout
- Member
- 76 posts
- Joined: 12月 2020
- オフライン
I have a string array that has collected all the possible usable attributes that I want and set them in alphabetical order. Just need to get rid of the duplicate ones as the array is to be used to create a dropdown list of "name" choices for editing purposes. can't find out how I did this in the past?
Edited by Getyamamout - 2025年4月29日 12:59:26
-
- Getyamamout
- Member
- 76 posts
- Joined: 12月 2020
- オフライン
Ok maybe this might be a better way to do the same...
I want to get all the different variables an attribute has that the current prims use and create a list in an array.
I only want it to use each variable once in the list.
I am trying to create valid choices for a dropdown picker to help reduce the use of extra variants in an attribute.
and make the amount of choices smaller and more streamlined as the project moves on.
I want to get all the different variables an attribute has that the current prims use and create a list in an array.
I only want it to use each variable once in the list.
I am trying to create valid choices for a dropdown picker to help reduce the use of extra variants in an attribute.
and make the amount of choices smaller and more streamlined as the project moves on.
-
- Tanto
- Member
- 546 posts
- Joined: 11月 2016
- オフライン
-
- Getyamamout
- Member
- 76 posts
- Joined: 12月 2020
- オフライン
-
- Getyamamout
- Member
- 76 posts
- Joined: 12月 2020
- オフライン
-
- tamte
- Member
- 9421 posts
- Joined: 7月 2007
- オフライン
If its a string attribite and the menu you are talking about is in the parameter pane then you can directly use Python menu script
https://www.sidefx.com/forum/topic/93685/#post-408934 [www.sidefx.com]
https://www.sidefx.com/forum/topic/93685/#post-408934 [www.sidefx.com]
Tomas Slancik
CG Supervisor
Framestore, NY
CG Supervisor
Framestore, NY
-
- Getyamamout
- Member
- 76 posts
- Joined: 12月 2020
- オフライン
-
- Quick Links


