Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X
I am using J-Link and I want to import a file to the workspace and check to see how many files end up in the workspace. If I import a generic, the number of files should be equal to the generic and its instances. But I do not see any methods that will let me get a count. I tried Session.ListModels but it always returns a size of zero.
Any ideas?
Hi,
I did some tests with Web.Link some years ago.
Method "ListModels" onlygets a list of models in session.
I think one of the other methods ("ListFiles" ?) get a list of workspace models if the path or directory argument is of format "wtws://..." or something like that.
Perhaps this is still working.
Andreas
__________________________________
Andreas Hellmann
MCAD Services Pro/E & Pro/E customization
Rudolf-Diesel-Str. 6
D-65439 Floersheim / Germany
phone: +49 6145 598296
mail: -