MATRIXx

cancel
Showing results for 
Search instead for 
Did you mean: 

Select superblocks via modifybrowser in hierarchical mode - changes from version 6.3 to 7.1?

I have the following problem:

Assume there is a superblock named "Engine" with several superblocks inside. If I want to get a list of all superblocks in "Engine" I could do the following

modifybrowser {hierarchicalselectmode=1,update};
modifybrowser {selectedobjects="Engine",update};
[SBlist=selectedObjects]=querybrowser();

SBlist then contains the names of all selected blocks in the catalog browser, i.e. the the names to the superblocks I want to know. If I then do the same thing with another superblock, e.g. with the name "Controller"

modifybrowser {hierarchicalselectmode=1,update};
modifybrowser {selectedobjects="Controller",update};
[SBlist=selectedObjects]=querybrowser();

then I get problems in version 7.1 but not in version 6.3. In 6.3 SBlist only contains the superblocks in the "Controller" hierarchy while in 7.1 SBlist contains both the hierarchies for "Engine" and "Controller".
 
Is this the correct behaiviour? Is it possible to deselect a previous selection using SBA?
 
/Torbjörn
0 Kudos
Message 1 of 2
(7,255 Views)
We were able to reproduce the problem with modifybrowser in MATRIXx 71.6 and MATRIXx 63.2.  Both MATRIXx 71.6 and 63.2 do remove some of the selections, but not all of them.
The crux of the problem for both MATRIXx 71.6 and 63.2 is that modifybrowser {update} does not unselect catalog objects the same as interactively updating the browser using the view->update menuitem.

There is no workaround using [list=references] = querysuperblock("sbname") or [list=references] = querycatalog("sbname") because these SBA command only return references in the SuperBlock "sbname" and not all the children farther down the SuperBlock tree.

We have entered a CAR for this problem (CAR 3ZHH5UA8) .  We already have checked in the code to fix this problem and the fix will be part of the upcoming MATRIXx 71.7 release.

MATRIXx R&D
0 Kudos
Message 2 of 2
(7,155 Views)