Hi I am an Archi Patreon subscriber, and have used jArchi a lot in the past. But am no JavaScript person. Have not used in a few months.
Two simple needs:
(1) what is the best source of documentation on the scripting language, espectially object model.
(2) in the attached screenshot, what would be the code for seeing the property LOC_TYPE which may be blank.
Help is appreciated.
akscript to include ext. properties.png
Hi, the jArchi documentation is here:
https://github.com/archimatetool/archi-scripting-plugin/wiki
Also, there's a lot of tips and useful snippets in this forum.
To get a property use one of the "prop()" methods - https://github.com/archimatetool/archi-scripting-plugin/wiki/jArchi-Collection#prop
To find a property value for the key "LOC_TYPE" you would use e.prop("LOC_TYPE")
.