Timeline for How can I get the index of a custom property?
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 10, 2018 at 20:14 | comment | added | MRL | Yes, you are right batFinger, but I am glad that there are explain the basic system - that was the goal. RNA_UI and cycles property can by easily skip by your previous code. | |
Mar 9, 2018 at 15:45 | comment | added | J. Bakker | Agree I just repeated what the question was using. | |
Mar 9, 2018 at 13:56 | comment | added | batFINGER |
The order of the props in the UI is sorted and filtered (doesn't list _RNA_UI key for instance that will have index after the UI prop was created). Quite often cycles sits in index 0. IMO relying on keys()[2] to be the one in position 2 is a slippery slope.
|
|
Mar 9, 2018 at 11:19 | vote | accept | MRL | ||
Mar 9, 2018 at 7:48 | history | answered | J. Bakker | CC BY-SA 3.0 |