Delaying Document Configuration

I am changing a lot of column properties in a lot of different columns in my code. I was wondering if there was a way to either delay spotfire from configuring the document until after I have finished assigning all of the changes, or some other way to assign all of the document properties at once. 


The line above is the line I am using to assign the properties, the col and col2 are in for loops and thus change. If there is a faster way of doing this please tell me. Thank you in advance.

(1) Answer