Profile picture for user mahlaoui

Today, I want to show you how easy it is to export the image of an ARIS model using a small ARIS Report. The simple report exports the images of the selected models into a Doc file.

First, we need to know which model should be exported. This is done as follows:

var models = ArisData.getSelectedModels();

Then create the output object:

var oOutput = Context.createOutputObject();

Finally, show pictures of models in the file:

for(var i=0;i<models.length;i++){
      var oModel = models[i];
      graphicout(new __holder(oOutput), oModel );
}

Don't forget :

oOutput.WriteReport();

That's all

You can download this script here: http://www.sendspace.com/file/5ytmfl

Note: Make sure to join the Reports & Macros group. You will find additional tutorials and a list of free ARIS reports and macros.

by Vikram Raghavan
Posted on Wed, 10/20/2010 - 14:03

Hi - Can I do the same in the design view of a report?

Thanks!

0
by Vladimir Bis
Posted on Mon, 12/05/2011 - 15:21

Hi Yassine,

where can I find documentation about graphicout method?

 

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