Author Topic: Multiple values for a property  (Read 199 times)

JoCriSem

  • Member
  • **
  • Posts: 15
Multiple values for a property
« on: July 19, 2021, 10:16:28 AM »
Hi, I am creating via a script default properties for some elements. 
Is there a way to create multiple values for the same property so that they appear in the dropdown of the property?

Thanks.

Phil Beauvoir

  • Administrator
  • Hero Member
  • *****
  • Posts: 1619
  • Code Punk
    • Archi
Re: Multiple values for a property
« Reply #1 on: July 19, 2021, 10:46:06 AM »
Have a look here:

https://github.com/archimatetool/archi-scripting-plugin/wiki/jArchi-Object#prop

Code: [Select]
object.prop(propName, propValue, true);
If you value and use Archi please consider making a donation! https://www.archimatetool.com/donate

JoCriSem

  • Member
  • **
  • Posts: 15
Re: Multiple values for a property
« Reply #2 on: July 23, 2021, 12:31:12 PM »
Thanks