Profile picture for user sadnan

The attached macro will copy symbols and connections to multiple models.



Currently to accomplish this task you are required to manaully open all the target models and then use copy/paste operation. Also by default ARIS will not copy the <Fill Color> of symbols.



By utilizing the attached macro, you can automate this task.



Key Feature:

  •     You can select multiple target models of different type.
  •     You can select any number of symbols and connections within source model
  •     Macro is robust enough so as not to give error in case of any symbol type not allowed on target model.
  •     Macro will not save any changes made to the models so as to provide user a chance to undo changes.
  •     Macro will copy the symbols and connections to target model (one-by-one), ior instance, if you select a symbol of type IT System and one of your target model is "Organizational Chart" then the script will give a warning and you have option either to leave this model and continue with other selected model or you can choose to skip this particular symbol and continue with the current model.



Context: Macro will run on symbols and connections context



Screenshots:

Let's open value added diagram from UMG database and create some empty models in temp folder of different type. These will be our target model to copy symbols.

Source Model:





Now select the symbols and connection for copy. It's not important that you select source and target symbol, it will be sufficient if you just select the connection. Macro will automatically copy the source and target symbols involved in any connections.

Now start the macro, assuming you have already installed the macro (shown in above diagram).

 

After you start the macro, you will be prompted to select as many target models as you want. Use CTRL key to select multiple models. You can also select models from different folders/groups.

After that macro will open the target model one by one and copy the symbols and connections.

If you selected a target model type in which specific symbols are not allowed then macro will provide you choices either to continue with other symbols and connections on the current model (YES) or you can leave this model and macro will select other target model for paste operation.

After the macro operation, you will all of your target model opened and with appropriate symbols please note the position and fill color of the symbols are maintained.

 

Important Note:

  • Static Text and Graphic Symbols will not be pasted
  • Implicit Connections are not handled by the macro.
  • You need to manually save all the target model (this is done so as to provide user a chance to undo the changes if result is not satisfactory.

 

Download the macro here

by Rick Bosworth
Posted on Wed, 08/25/2010 - 22:08

Adnan,

I've been playing with this macro a little, thanks for creating it. I have one question though. Would it be possible to create a similar macro that would allow me to first select the models via Find, Query, etc and then run the macro and have it prompt me to select the objects and connections? Usually the objects and connections to be copied are in a single place while the target models are all over and in some cases (at least in mine) the target models are identified by an attribute value.

Thanks,

Rick

0
by adnan shahab Author
Posted on Thu, 08/26/2010 - 13:06

Yes, I think, in principle, that would be possible to run a query to select target models.
I will get back to you on this. You are right, in real situation, you need to find your target models, they are not just in one folder but rather all over the place.

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