How to convert "Selection Fields" to code?

I created a thread but not get any reply :frowning: