Skip to content

Instantly share code, notes, and snippets.

@tkazimie
tkazimie / addPrefix.ajs
Created Jul 18, 2020
Set the name prefix + colon for selected elements
View addPrefix.ajs
/*
* 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 Jul 29, 2021
#jArchi This scripts exports selected elements to the CSV in fixed structure and import elements to the model and the current view
View fromCsv.ajs
/*
* 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)