Wed, 2023-10-18 09:00

Hello Community !!
I would like to search models regarding :
1. The name and the Type Number of a model
- var searchItem1 = db.createSearchItem(Constants.AT_NAME, nloc, "L0*", Constants.SEARCH_CMP_EQUAL, false, true);
- var searchModelType = new Array();
searchModelType[0] = 176836;
2. I would like to filter the response with models in a spécific Group and alls the subgroups
Should I use a second SearchItem ?
Or may I get all the answers and test the group afterward ?
Thank you in advance for your advice !!
Christian
Tags: ARIS 10
Hi Christian,
your search is exactly described in the online help. Please check following method:
Group#ModelList ( boolean bRecursive, int[] typeNums, SearchItem p_searchSpec )
And here the example from help:
BR, Michael
Hi Michael,
This is exactly what I was looking for.
Thank you very much for your help
Christian