Nikita Belooussov Posted July 25, 2019 Share Posted July 25, 2019 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. col2.Properties["prop1"]=col.Properties.GetProperty("prop1") 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. Link to comment Share on other sites More sharing options...
Sayali Patil Posted August 8, 2019 Share Posted August 8, 2019 Hello, The code you are using is the right way to assign column properties.It cannot be speedened up as each column will need to be accessed individually and assigned the property value. Here is a reference article on changing document properties - https://community.spotfire.com/wiki/how-list-and-change-column-properties-tibco-spotfirer-using-ironpython-scripting Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now