It would be useful to have an official mechanism for running an Exchange script from the UI. While it would be useful to have access to more Exchange methods in UI Ruby scripts, this could act as a stop-gap or cover other use cases where a method needs to remain Exchange-only.
Currently the best way to do this is using Ruby's Open3 module but this has some issues: stdout capture doesn't work, and without fiddling with working directories you can't have Exchange edit the network you've run the script from.
An official mechanism could ensure no other networks are open (avoiding working directory conflicts), and if run by right clicking a model group, it could send the current database + model group as arguments to act as the starting point for the script.
Disclaimer: The development, release, and timing of any features or functionality described or discussed for our products in this User Feedback Forum for Autodesk Water Products and Services remains at our sole discretion. This User Feedback Forum for Autodesk Water Products and Services is not a commitment, promise, or legal obligation to deliver any functionality, is intended solely to outline and gather feedback about our general product direction, and should not be relied on in making purchasing decisions.