Archi Forum

Discussion Boards => jArchi => Topic started by: JoCriSem on July 19, 2021, 10:16:28 AM

Title: Multiple values for a property
Post by: JoCriSem 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.
Title: Re: Multiple values for a property
Post by: Phil Beauvoir 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);
Title: Re: Multiple values for a property
Post by: JoCriSem on July 23, 2021, 12:31:12 PM
Thanks