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
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
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
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