Why not use UDTs to group AOI required?
Then reference the UDT tag instead of external reference of AOI parameters. AOI inout parameters not accessible externally.
Seems like there’s a fear of combining these.
Nested data types create one larger data type that works well with an AOI with nested AOI.
I would like to do this type of stuff, but company only hears about AOIs and believes unnecessary. Sticking with AOIs really complicates the call level code if you want to dynamically change the AOI parameters in the code.
If you change a input parameter that is not required but visible in the preceding rung of the AOI call does the value on the AOI overwrite your modification. Must you make that parameter required and tie it to the AOI variable, parameter passing it to itself?