At present, in Datalink one cannot create a category with items organized hierarchically, e.g. a directory tree or an XML document with nested elements.
In order to do that, one way would be to use datalink to import into a category a column of strings representing full path names, i.e. item names with possible parent group name(s) prepended, all separated by a given separator. As an example, a tree with separator “//” would be represented in this way:
I have programmed a very simple action that I would like to share.
Such action transforms a flat category containing “full path” item names into a hierarchy of item groups and items.
It could be run after importing the path names with datalink.
To try it, download the enclosed plugin zip file and extract it in the quantrix program directory. In Modeler, from the Tools menu, select the item “Create groups from full path item names”. The current implementation has settings hard coded into the action: the category to “hierarchize” is the first row category in the currently selected matrix, and the separator is “//” (double slash). Error trapping is rudimentary.
I enclose a sample model .
[quote="Quantrix QA":255azef2]Maybe the Quantrix configuration directory needs to be reset. Please do the following:
– Close Quantrix
– Delete the following directory:
C:Documents and SettingsyourUserName.quantrix
– Restart Quantrix and see if the plugin starts.
Thanks! It works now!
Great job luca, very helpful plug-in
– you should have quantrix professional version installed in order to run QAPI plugins;
– after unzipping, in the c:program filesquantrix modelerplugins folder you should have a folder named “it.unitn.luca.groupAction_2.1.0.0002”
I checked a fresh installation of the plugin, and it seems to work.
Hope this helps