First time here? Check out the Help page!
1 | initial version |
Just to through in more options. If your list isn't going to be too long, you can have a string argument that expects comma separated values in it, instead of using an external file.
Then in the measure you parse it apart using code like this.
array_from_arg = arg.split(',')
2 | No.2 Revision |
Just to through in more options. If your list isn't going to be too long, you can have a string argument that expects comma separated values in it, instead of using an external file.
Then in the measure you parse it apart using code like this.
array_from_arg = arg.split(',')
Another options that is possible not not really recommended. The arguments section of the measure can loop through zones and make a bool argument for each zone. Then you can check the zones you want included. This isn't ideal because having a variable/unknown number of arguments for a measure can cause issues with large scale analysis, and if you have a really big model this may blow up. If intended to used only with apply measures now, then this could be ok.
3 | No.3 Revision |
Just to through in more options. If your list isn't going to be too long, you can have a string argument that expects comma separated values in it, instead of using an external file.
Then in the measure you parse it apart using code like this.
array_from_arg = arg.split(',')
Another options Here is another option that is possible not but not really recommended. recommended - The arguments section of the measure can loop through zones and make a bool argument for each zone. Then you can check the zones you want included. This isn't ideal because having a variable/unknown number of arguments for a measure can cause issues with large scale analysis, and if you have a really big model this may blow up. If intended to used only with apply measures now, then this could be ok.