Hi, there is something strange in LabView8.2. If I removed the block diagram from a VI and then I try to read the size of the block diagram with the property node "Metrics:Size of Block Diagram" it returns me an error: Error 1012 Property Node (arg 1) in prova82.vi<APPEND> Property Name: <b>Metrics:Size of Block Diagram</b>.
If I do exactely the same thing in Labview 7.1 it correctly returns me "0" with no error.
Returning an error may be acceptable if you are trying to get the size of an object that doesn't exist. Check the attached vi: this code works for both LV8.2 and LV7.1
Paolo ------------------- LV 7.1, 2011, 2017, 2019, 2021