[Ko...] Posted November 28, 2023 Share Posted November 28, 2023 Are there any way to export colorbar legend as a file? Or can I access to the folder that is saved? Link to comment Share on other sites More sharing options...
[Na...] Posted December 4, 2023 Share Posted December 4, 2023 Hello, you can add a legend template to an addon (2023) or to a package (2022 and before). Click on manage templates and then add to package/addon: Nanno Link to comment Share on other sites More sharing options...
[Li...] Posted December 15, 2023 Share Posted December 15, 2023 Hi Nanno I have a similar question as Kousuke. I know that it is possible to create, export and import legend templates as packages (".package") from the "Edit Legend" utility. What I want to do is automate with python the creation of custom legends templates and for that I need to know if there's any file with usable extension (json, xml, txt, csv etc.) where the templates data are stored. I checked and ".package" files are binary and thus I don't know what to do with them: Can You help me find a solution? Link to comment Share on other sites More sharing options...
[Ha...] Posted December 19, 2023 Share Posted December 19, 2023 Hi "Linco" it is a compressed file like ZIP or RAR. Try to 'unzip' it. I see some json files and other stuff in a random package I opened. Link to comment Share on other sites More sharing options...
[Na...] Posted December 19, 2023 Share Posted December 19, 2023 Hello, in the new addon editor you have direct access to the files. If you click on the "new template" button in the legend editor you are guided through a template creation process: Maybe this is already what you are looking for? Or does it miss something for your application? Nanno Link to comment Share on other sites More sharing options...
[Li...] Posted December 19, 2023 Share Posted December 19, 2023 Thanks Harry and Nanno. I scoured inside the packages after unzipping them. They have some metadata in the json files but the data i wanted to manipulate are inside a series of .bin files. I think the solution is to create the packages manually and then manage them through the API. Thanks again! Merry Christmas! Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in