MR

I would like to write a macro to resize symbols to fully encompass their text. I know this can be done with Format^Representation^Text attributes in symbol set to "Resize Symbol" from the Properties screen.

I have many models that have text extending beyond their symbol and an automated way to fix this would be very useful.

Does anyone know if this functionality is available programmatically in javascript? If anyone can give me a hint, that would be great.

Thanks,

MR

by Szymon Sobkowiak
Posted on Fri, 12/09/2016 - 11:25

Hello

You need to know if symbol size will be changed - diagrams can be messed up.

I think better way to show all text of object name is using 'text over symbol' (or similar - I use localized ARIS)

You need to put linebreaks in name in this case. Check manualy what string size you need to break using breakline.

Best Regards

Szymon Sobkowiak

0
by Michael Renner Author
Posted on Fri, 12/09/2016 - 14:56

Thanks Szymon.

For my interest I would like to format models that were automatically added with a script, so their graphical ordering is not so pretty to begin with. That is why I would like to "Resize Symbol".

This raises another question, is it generally possible to script any activity in ARIS that you can select through the UI? Or are scriptable functions a subset of the whole?

Michael Renner

0
by Prabhjot Kaur
Posted on Mon, 02/01/2021 - 05:28

Hi,

I am also looking for a macro to do the same. Rather than doing it from model properties, do we have a way in ARIS Macro to resize symbols according to text size? 

OR

Is there a way to get the text size in macro using occurences and then setting the size to a new value?

Thanks,

Prabhjot

0

Featured achievement

Rookie
Say hello to the ARIS Community! Personalize your community experience by following forums or tags, liking a post or uploading a profile picture.
Recent Unlocks

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