Hi guys,
is it possible to create something like this with attributes together with an array. So that it’s possible to create multiple, two value entries. To be honest: What I want to do is adding multiple entities with a related number.
Edit:
Its not exactly what was asked, as you can’t really control the number of fields without changing the schema, but this is probably as close as you can get.
Yup, the new JSON schema (currently not documented, but it’s coming), it’s a great step in handling complex script attributes.
Though I think the OP was asking for something similar for array fields, which I think isn’t supported, at least now. I would be happy to be wrong, definitely needing this!
Edit: yes @LeXXik, you are right, it works with array fields as well, extremely happy, going to refactor 100++ scripts to use this
Hey this looks great! But instead of Kappe and lamp in your example it should be: Entity and Value. At entity I want to add every entity I want like Kappe or lamp. an value should be a number like in your example. (This is Photoshop:)
Yeah, basically copy/pasted the code @LeXXik posted above. In your case it should be something like this (replace MyScript with the name of your script and re-parse):