Archi Forum

Archi Plug-ins => jArchi => Topic started by: Thomas Rohde on October 30, 2022, 13:25:37 PM

Title: Snippet: Bulk property editor
Post by: Thomas Rohde on October 30, 2022, 13:25:37 PM
This is a simple bulk editor for Archi using a JS spreadsheet component.

Select a range of elements, e.g., in the model browser, and run the script. A window with a spreadsheet of all selected elements and the combined set of properties discovered for the selected elements is displayed. You can easily copy/paste (also to-from Excel), delete properties, insert columns (new properties) etc. And also save the sheet to Excel via an right-click option.

Download the script from this gist (https://gist.github.com/ThomasRohde/92ab43ec8982c863bd2a85ae3907c701). Also, download the JSpreadsheet components from https://jspreadsheet.com/v9/docs/getting-started (use the CDN variants). Rename the 'index.min.js' and 'jsuites.min.js' files to 'jexcel.js' and 'jsuites.js' respectively, and place the files in __DIR__/lib.