1
Python and Java API / Designate Chunk as active chunk
« on: February 03, 2023, 02:16:11 AM »
Hello,
How to I set a chunk to be the active chunk (ie. bolded) so that when I save the document that chunk is the active chunk when the .psx file is opened manually later on?
I have a script that iterates through a folder opening each .psx document and then aligns and merges chunks and saves the document. It then does some processing to the merged chunk. But even though the merged chunk is the last chunk I reference using chunk=chunks[2] (for example) that is not the active chunk when I reopen the file to see the results.
Thank you for help
D
How to I set a chunk to be the active chunk (ie. bolded) so that when I save the document that chunk is the active chunk when the .psx file is opened manually later on?
I have a script that iterates through a folder opening each .psx document and then aligns and merges chunks and saves the document. It then does some processing to the merged chunk. But even though the merged chunk is the last chunk I reference using chunk=chunks[2] (for example) that is not the active chunk when I reopen the file to see the results.
Thank you for help
D