Skip to content

Instantly share code, notes, and snippets.

@tkazimie
tkazimie / addPrefix.ajs
Created July 18, 2020 19:42
Set the name prefix + colon for selected elements
/*
* Set the name prefix for selected elements
*
* Requires jArchi - https://www.archimatetool.com
*
* This script adds given text + collon before the object name.
* If prefix with collon already existed it is replace by new one.
* In case of wrong selection effect can be reversed with crt-z (command-z on Mac)
*
* Script will prompt you: for the text
@tkazimie
tkazimie / fromCsv.ajs
Last active June 14, 2022 14:10
#jArchi This scripts exports selected elements to the CSV in fixed structure and import elements to the model and the current view
/*
* Import Elements from CSV
*
* Requires jArchi - https://www.archimatetool.com/blog/2018/07/02/jarchi/
* Requires PapaParse - https://www.papaparse.com/
*
* This script imports CSV containg followin structure:
* * Name
* * Documentation
* * Type (element type)