ST

Hello, everyone.

In the company's ARIS, there are an object with the name misplaced.

That configuration is on the object's default, and I need to center the name every time I create it. 

Is there any way to change this object's default configuration?

If don't, is there a way to change it from script like obj.Attributes (AT_Name, lang).Placement() ?

Thank you so much.

by Frank Weyand
Posted on Tue, 04/09/2019 - 10:39

Hi,

did you check the "template" used for this model?

Bye,

Frank

0
by Saulo Teymeny Author
Posted on Tue, 04/09/2019 - 21:57

Hi, Frank.

I'm pretty new working with Aris. Would you mind tell me how do I get it's template?

In architect, the only thing I know is Administration > Aris > Configuration > Method. 

There I have the model and symbol, but I can't find the Placement property. When I get this property in the VACD object, the name's placement is in the Right (should be in center).

How it is now: ​​​​​​​

Even though I change there, I have to do it for every time I use this object, because it doesn't change the template, and I don't know how to change it.

0
by Frank Weyand
Posted on Wed, 04/10/2019 - 08:50

Hi,

  1. open the model in the architect. Open the properties of the model. In the properties: Format -> representations. You will see the "current template".
  2. You need to change this template. You almost found the place...

    Administration -> configuration -> conventions -> templates -> definitions.
  3. You will find the used template here. Double click the template and navigate to the page with the attribute placements for symbols (page 4.) 

Please let me point to the online help in ARIS. In the "ARIS" drop down menu of the architect, you can find "Help". Click on "Working with ARIS". Search for "templates".

Bye,

Frank

0
by Saulo Teymeny Author
Posted on Wed, 04/10/2019 - 15:03

In reply to by Frank Weyand

Thanks for the help, Frank.

  1. open the model in the architect. Open the properties of the model. In the properties: Format -> representations. You will see the "current template".

The situation here is:

In Format > The template is: "No template".

As you can see "GECON" is in the right prosition, only "goal1" is misplaced.

My problem is only with this object's template.

When I create a new one, it already shows me misplaced:

Where can I find the object's template

0
by M. Zschuckelt
Posted on Wed, 04/10/2019 - 15:40

In reply to by saulosom

An object occurrence does not "have" a template. The formats defined in the template assigned to the model are applied to the occurrences as they are placed in the model. You can manually apply a template to selected objects or the entire model, though. A template can define format rules for each symbol type separately. This is probably why you see different behaviour for these symbol types.

You should check your client setting under "ARIS -> Options -> Modelling -> For new models" what standard template you have configured. This will be applied to all new models you create. It is possible that the administrator prescribes this setting centrally (in Administration -> Configuration -> Conventions -> Templates -> Standard settings). If you need different templates for different model types you can also configure that in these places.

0
by Frank Weyand
Posted on Wed, 04/10/2019 - 15:31

Hi,

well: please read the help first. This describes how to set a template for a specific model or for new models.

Bye,

Frank

0
by Saulo Teymeny Author
Posted on Wed, 04/10/2019 - 16:00

I'm sorry, Frank. I guess I'm not making myself clear to you (really my bad).

I understand that my model doesn't follow a template, and I really don't think it should (at least in my workplace).

My problem is with only one object, not the model. All objects but this one are ok. 

I'd like to know if I can change the default object, that appears in the Icon part at the right side of the screen (image below). 

When I click in "Objetivo do Processo", I get this object's name misplaced. 

 

I'm sorry I am not following you. As I told you, I am pretty novice in this tool.

0
by M. Zschuckelt
Posted on Wed, 04/10/2019 - 17:03

The Name attribute occurrence placement is a format property of the occurrence of the object. This format is copied from the default template of the model upon creation of the occurrence. Hence you should define a default template for your model type (or all models), which provides formatting information for that symbol. That is the only way you can change the default placement of the Name attribute occurrence.

0
by Saulo Teymeny Author
Posted on Wed, 04/10/2019 - 21:11

In reply to by M. Zschuckelt

Thank you for your help. 

There is one thing I have in mind about it. This vacd model is created by script. How can I link the template when I'm creating it on the script?

0
by M. Zschuckelt
Posted on Wed, 04/10/2019 - 22:46

In reply to by saulosom

It depends on the kind of script. In a Macro it is

Designer.setDefaultProperties(model, occ)

see the Help at /abs/help/en/script/ba/index.htm#macro_OBJECTS_Designer_setdefaultproperties.htm

In a report you set and apply a template on a model using

model.setTemplate(templateGUID, true)

see the Help here: /abs/help/en/script/ba/index.htm#report_OBJECTS_Model_settemplate.htm

 

0
by Saulo Teymeny Author
Posted on Thu, 04/11/2019 - 14:55

In reply to by M. Zschuckelt

It is a report, yes.

Thank you so much.

I'll try to set it and if I have any doubts, I tell you.

Thanks in advance!

0
by Saulo Teymeny Author
Posted on Thu, 04/11/2019 - 15:42

In reply to by M. Zschuckelt

Can I ask you one more thing?

I have this line to create my Goal item.

It gets the value from my excel, which is working fine.

This name placement's attribute can be reached from this script? 

Ex: obj.Attribute(Constants.AT_NAME, lang).setPlacement(center);

Is there something possible to do via script? If there is, I can do it from script while we don't make a template for it.

0
by M. Zschuckelt
Posted on Wed, 04/24/2019 - 16:19

In reply to by saulosom

Hello,

all layout things are properties of the object occurrence. With group.CreateObjDef you only created the object definition, but there is nothing in your model, yet. You have to take the obj and create an ObjOcc in your model. That will give you access to the attribute placement options.

Regards, M. Zschuckelt

0

Featured achievement

Question Solver
Share your expertise and have your answer accepted as best reply.
Recent Unlocks
  • CR
  • BH
  • Profile picture for user Ivan.Ivanov.softwareag.com
  • Profile picture for user mscheid
  • MS
  • PacMan

Leaderboard

|
icon-arrow-down icon-arrow-cerulean-left icon-arrow-cerulean-right icon-arrow-down icon-arrow-left icon-arrow-right icon-arrow icon-back icon-close icon-comments icon-correct-answer icon-tick icon-download icon-facebook icon-flag icon-google-plus icon-hamburger icon-in icon-info icon-instagram icon-login-true icon-login icon-mail-notification icon-mail icon-mortarboard icon-newsletter icon-notification icon-pinterest icon-plus icon-rss icon-search icon-share icon-shield icon-snapchat icon-star icon-tutorials icon-twitter icon-universities icon-videos icon-views icon-whatsapp icon-xing icon-youtube icon-jobs icon-heart icon-heart2 aris-express bpm-glossary help-intro help-design Process_Mining_Icon help-publishing help-administration help-dashboarding help-archive help-risk icon-knowledge icon-question icon-events icon-message icon-more icon-pencil forum-icon icon-lock