thats the property I was looking at. I edited your function HiddenLight.UpdatedElectricPoleSetting() in inbuilt_lighting_20.1.12\scripts\hidden-light.lua to use power_pole.maximum_wire_distance instead of power_pole.supply_area_distance and I got crashes that seemed like null pointer exceptions basically. can't remember the exact error message.
I'm using the tool you mentioned and I'm seeing some things that differ from the API documentation, seems like max distance and the draw wires flags are bundled into a WireConnectionDistance struct,
anyway, not sure. maybe I'll give it another go later.
Thanks for the reply, please let me know if you have more thoughts.