{"action":"created","issue":{"url":"https://api.github.com/repos/NREL/OpenStudio/issues/2951","repository_url":"https://api.github.com/repos/NREL/OpenStudio","labels_url":"https://api.github.com/repos/NREL/OpenStudio/issues/2951/labels{/name}","comments_url":"https://api.github.com/repos/NREL/OpenStudio/issues/2951/comments","events_url":"https://api.github.com/repos/NREL/OpenStudio/issues/2951/events","html_url":"https://github.com/NREL/OpenStudio/issues/2951","id":289510986,"number":2951,"title":"Openstudio measure: dynamically change an argument field","user":{"login":"macumber","id":1327850,"avatar_url":"https://avatars3.githubusercontent.com/u/1327850?v=4","gravatar_id":"","url":"https://api.github.com/users/macumber","html_url":"https://github.com/macumber","followers_url":"https://api.github.com/users/macumber/followers","following_url":"https://api.github.com/users/macumber/following{/other_user}","gists_url":"https://api.github.com/users/macumber/gists{/gist_id}","starred_url":"https://api.github.com/users/macumber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/macumber/subscriptions","organizations_url":"https://api.github.com/users/macumber/orgs","repos_url":"https://api.github.com/users/macumber/repos","events_url":"https://api.github.com/users/macumber/events{/privacy}","received_events_url":"https://api.github.com/users/macumber/received_events","type":"User","site_admin":false},"labels":[{"id":171416494,"url":"https://api.github.com/repos/NREL/OpenStudio/labels/Enhancement%20Request","name":"Enhancement Request","color":"5319e7","default":false},{"id":47125200,"url":"https://api.github.com/repos/NREL/OpenStudio/labels/component%20-%20Measures","name":"component - Measures","color":"888888","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-01-18T05:41:57Z","updated_at":"2018-03-19T22:58:02Z","closed_at":null,"author_association":"COLLABORATOR","body":"https://openstudio.uservoice.com/forums/308629-openstudio/suggestions/9603675-openstudio-measure-dynamically-change-an-argument\r\n\r\nProblem: The GUI window asking for arguments is static. It would be nice to have the capacity to change it as users select a given response to a previous question.\r\n\r\nRationale: I've touched on one example here, which is to set the default of some fields based on the systems they picked: https://unmethours.com/question/10831/openstudio-measure-dynamically-change-an-argument-field/\r\nAnother one would be to be able to gray out, or to add/remove fields, depending on another question\r\n\r\nPotential solution: add an event watcher (OnChange) that reloads the GUI window (keeping the variable values in storage) so that you could change the apparence of the GUI window. Capacity to display a second, subsequent window, could also be a nice feature.\r\n\r\nContext: I think it's covered above. But here's another example: ask the user if he wants to create a quadratic or biquadratic curve. Then display either (c1, c2, c3) coefficients or (c1, c2, c3, c4, c5, c6) coefficients respectively\r\n"},"comment":{"url":"https://api.github.com/repos/NREL/OpenStudio/issues/comments/374413616","html_url":"https://github.com/NREL/OpenStudio/issues/2951#issuecomment-374413616","issue_url":"https://api.github.com/repos/NREL/OpenStudio/issues/2951","id":374413616,"user":{"login":"aaron-boranian","id":15160917,"avatar_url":"https://avatars3.githubusercontent.com/u/15160917?v=4","gravatar_id":"","url":"https://api.github.com/users/aaron-boranian","html_url":"https://github.com/aaron-boranian","followers_url":"https://api.github.com/users/aaron-boranian/followers","following_url":"https://api.github.com/users/aaron-boranian/following{/other_user}","gists_url":"https://api.github.com/users/aaron-boranian/gists{/gist_id}","starred_url":"https://api.github.com/users/aaron-boranian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaron-boranian/subscriptions","organizations_url":"https://api.github.com/users/aaron-boranian/orgs","repos_url":"https://api.github.com/users/aaron-boranian/repos","events_url":"https://api.github.com/users/aaron-boranian/events{/privacy}","received_events_url":"https://api.github.com/users/aaron-boranian/received_events","type":"User","site_admin":false},"created_at":"2018-03-19T22:58:02Z","updated_at":"2018-03-19T22:58:02Z","author_association":"COLLABORATOR","body":"Migrated from [UserVoice](http://openstudio.uservoice.com/forums/308629/suggestions/9603675)"}}
{"actor":{"display_login":"aaron-boranian"}}