Repository
To add repository item information records that can later be returned by insightgetiteminfo or insightgetiteminfos you can use insightadditeminfo, e.g.:
declarations iteminfo: insightiteminfo end-declarations iteminfo.id := 'myid' iteminfo.type := 'SCENARIO' iteminfo.path := '/mymodel/myfolder/myscenario' iteminfo.name := 'myscenario' iteminfo.parentpath := '/mymodel/myfolder' insightadditeminfo(iteminfo)
Note that you must ensure all the fields of the insightiteminfo record are populated and that the path and parentpath fields are consistent. The id you specify for each item must be unique.
To remove all the insightiteminfo records previously added, you can use insightcleariteminfos.