05-02-2018 03:46 AM
Hi everyone,
I have created a program, where the user needs to select a DataPlugin first and chooses the files he wants to load in afterwards. In order to filter the files that can be chosen, I need a way to read the supported data type out of the DataPlugin. Is there any way to do that in DIAdem Script?
Many thanks for your help and best regards,
Jakob
Solved! Go to Solution.
05-02-2018 03:56 AM
The following code shows a way to read the supported file extensions of DataPlugins which support loading:
Dim plugin, msg
for each plugin in Navigator.Settings.RegisteredDataPlugins
if plugin.IsLoadingSupported then
msg = msg & plugin.Name & ": " & plugin.FileExtensionList & vbNewLine
end if
next
MsgBox(msg)
Is this what you are looking for?
05-02-2018 04:00 AM
Exactly!
Thanks a lot and best wishes,
Jakob