Change list of valid document property values

I am trying to update a document property to help color my visualizations. Initially, the document property "Set property value through:" is select as "Column selection". However, if a script runs, I would like to change the "Set property value through" to "Unique values in column". Is there any way to do this programmatically through IronPython?

(1) Answer