Hi,



I've written a script which creates horizontal Lanes in models (Aris v9.7).

I wish those lanes' names to be displayed on the left side of the lane, in vertical.

In the representation template, I've kept the ARIS default attribute placement (name in the center), except that I've changed the font of the name.



I apply the representation template in the script

        model.setTemplate(MY_TEMPLATE);

        model.ApplyTemplate();

Then when opening the models created, the lanes' names are put horizontally in the center of the lanes.



Whereas when I re-apply the same representation template in the designer, then the names are moved correctly on the left side and displayed vertically.

(see example in attachment)



Any idea why the application of template works when the model is opened manually in designer, but not while executed through a script ?



Thanks and Regards,

 or register to reply.

Notify Moderator