05-24-2006 07:32 AM
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();
07-19-2006 11:30 AM