Hi,
I have an element customization that uses autonumbering. I want to create an instance of that element that also sets the numbering using a groovy script. The customization works fine if I create the element manually from the containment tree but I haven't found a way to do it cleanly in a groovy script. I am using the elementsFactory to create the element in the script as shown below:
newElement = elementsFactory.createClassInstance()
StereotypesHelper.addStereotype(newElement,elementStereo)
I haven't found a way to implement the numbering customization.
Thank you,
Maria DAgostino