The method List lists all the ITP Models that the user (as indicated by the current set of properties) is allowed to access.
Method
Function List (Pattern As String
) As Boolean
Parameter
Pattern
Specifies the pattern of the ITP Models that should be returned.
Return value
If the function returns True, it returns an XML data file with a list of models and model folders. If a models.ini file is located in one of the folders, the XML data file will also contain the characteristics as described in the models.ini. See Models.ini chapter for a description of the content and syntax of the models.ini file.
If the function returns False, it has failed, and the file will contain XML error data. The location of the file can be found in the Info property.
An example "List.xml" of the XML data file returned by the List method can be found in the COM/API/Example XML Files folder of your ITP/Server installation.