gtonkin wrote: ↑Wed Nov 27, 2019 11:47 am
Wim Gielis wrote: ↑Wed Nov 27, 2019 9:50 am
...
My real user case is a TM1 model of 115 GB where I needed to import a couple of TI processes but I forgot... until 80 GB was loaded and half an hour was gone...
Would be useful to be able to use AutoHotKey to effectively retype the necessary details from your non-prod to prod environment then save/compile.
A nice project for those long weekends!
Indeed, use the TM1 REST API within tools like AutoHotKey

Hmmm, I already do that

As in: you have a big daily zipped file of a TM1 directory and you specify a cube name. Then the AHK script will grab all necessary files (*.cub, dim, feeder, rux, ...). It will see what are the dimensions of the cube (through REST API), and retrieve those dim and }ElementAttributes and }ElementSecurity files. The output is a folder of objects

Selecting multiple cubes is possible too.
This works fine for TM1 authentication mode = 1. If someone wants to cooperate with me to get it working for CAM security, let me know. I would be interested in getting the REST API calls from AHK or PowerShell or ... working in other security modes.
The benefit is of course gaining time. It takes a lot of time to find cub and dim and other files in a (big) zip file. With this method, we don't need to unzip the file first. In bigger TM1 models I support, unzipping such a file of about 100 GB takes about 2 hours.