Hello everyone
I have this small problem in ARIS when I try to fetch models types (Model Nmaes Sufix with _ABZMF) using below code from databse iam getting error message . Would be appriciate your assistance on this .
var oCurrentDatabase=ArisData.getActiveDatabase();
var oAllICDsOfTheDatabase=new Array();
var oAllICDsOfTheDatabase=oCurrentDatabase.Find(Constants.SEARCH_MODEL,_ABZMF); // Find all ABZMF model types in the database:
Also this code should give all object definition copies along with these models types . Please suggest if any changes required to achive this .
Thanks in Advance ,
Regards,
Rams
Matthew Rodriguez on
Hi,
if you want to filter by model name than u need a search item. Please have a look at the ARIS Script documentation. Look for
Find ( int SearchKind, int[] itemTypes, ISearchItem searchSettings )
That will help you.
Regards