Profile picture for user zerkhufu

Hi all!

I'm trying to create aris matrixes and i'm finding this problem.

I create the aris matrix this way:

l_Model = group.CreateModel(131292,subprocessName,g_nloc);

l_matrix = l_Model.getMatrixModel();

And I try to add headers like this:

l_header0 = l_matrix.createHeaderCell(null,positionObjDef,631,10,false);

The matrix is created, 1244 position object definitions are added and in the explorer I can see the occurrences in the matrix, but when I open the matrix in the matrix viewer it looks empty.

Any ideas?

Greetings,

Homer

by Sascha Schneider
Posted on Mon, 02/13/2012 - 10:39

Hi,

by default, all connections and all symbols has the visibility false.

Open the matrix and checkt the controls at the bottom. There are two tables, each of them has a column visibility. Right mouse click on it an d check "select all".

Then your symbols and connections should become visible.

BR

Sascha

0
by Homero Padilla Cano Author
Posted on Tue, 02/14/2012 - 01:58

Thanks Sascha! Yes. I found out that last friday late night.

It's corrected with this line:

l_matrix.setVisibleObjectSymbolTypes([631],false);

However, now i'm struggling trying to add a function object as a headercell.

It doesn't matter if I try to add it to a column or a row.

The position object worked like a charm.

If I add it by hand directly to the matrix it works, but I use the same code line I used for the position object I'll get me a nullpointerexception.

var l_headerR = l_matrix.createHeaderCell(null,l_actDef,829,40,true);

Any ideas guys?

Thanks!

HPC

0
by Kaushik Mishra
Posted on Mon, 07/21/2014 - 06:56

In reply to by zerkhufu

hi,
I have been able to add the rows/columns as header cells from an existing EPC. But I am not able to set the connection between the rows & columns.
/*Identify the values from the EPC*/
var EpcModel = oGroup[0].ModelList(false,13)
for(var i=0; i

0
by Sascha Schneider
Posted on Tue, 02/14/2012 - 11:53

I'm not sure, if I understand the problem:

The follwoing works fine, yes?

l_header0 = l_matrix.createHeaderCell(null,positionObjDef,631,10,false);

And the following works not at all?

var l_headerR = l_matrix.createHeaderCell(null,l_actDef,829,40,true);

I don't find a reason for a NullpointerException. The first and the second parameter are allowed to be null. So it should not happen at all. Except l_matrix would be null.

Maybe you could contact our hotline and provide them a script, which reproduces the problem.

BR

Sascha

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