67 271
contributi
(Routine to get the root instance of a given item) |
(Routine to get the root instance of a given item) |
||
Riga 223: | Riga 223: | ||
RootInstanceArray = PropertiesOnTree("P14", 3, true, false, true) | RootInstanceArray = PropertiesOnTree("P14", 3, true, false, true) | ||
if # | if #RootInstanceArray > 1 then | ||
--Second to last resul, because last one should always be a Class, the topmost Instance possible | --Second to last resul, because last one should always be a Class, the topmost Instance possible | ||
RootInstance = RootInstanceArray[#RootInstanceArray - 1] | RootInstance = RootInstanceArray[#RootInstanceArray - 1] |