{"action":"created","issue":{"url":"https://api.github.com/repos/DynamoDS/Dynamo/issues/6145","repository_url":"https://api.github.com/repos/DynamoDS/Dynamo","labels_url":"https://api.github.com/repos/DynamoDS/Dynamo/issues/6145/labels{/name}","comments_url":"https://api.github.com/repos/DynamoDS/Dynamo/issues/6145/comments","events_url":"https://api.github.com/repos/DynamoDS/Dynamo/issues/6145/events","html_url":"https://github.com/DynamoDS/Dynamo/issues/6145","id":134749924,"number":6145,"title":"Graph getters and setters from py","user":{"login":"melkhaldi","id":5727365,"avatar_url":"https://avatars.githubusercontent.com/u/5727365?v=3","gravatar_id":"","url":"https://api.github.com/users/melkhaldi","html_url":"https://github.com/melkhaldi","followers_url":"https://api.github.com/users/melkhaldi/followers","following_url":"https://api.github.com/users/melkhaldi/following{/other_user}","gists_url":"https://api.github.com/users/melkhaldi/gists{/gist_id}","starred_url":"https://api.github.com/users/melkhaldi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/melkhaldi/subscriptions","organizations_url":"https://api.github.com/users/melkhaldi/orgs","repos_url":"https://api.github.com/users/melkhaldi/repos","events_url":"https://api.github.com/users/melkhaldi/events{/privacy}","received_events_url":"https://api.github.com/users/melkhaldi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-02-19T01:56:20Z","updated_at":"2016-02-19T03:55:49Z","closed_at":null,"body":"Is there a way in python script to programmatically:\r\n1-add, remove, and reposition graph nodes?\r\n2-get and set nodes parameter values? for example sliders, or input ports of nodes, etc."},"comment":{"url":"https://api.github.com/repos/DynamoDS/Dynamo/issues/comments/186040974","html_url":"https://github.com/DynamoDS/Dynamo/issues/6145#issuecomment-186040974","issue_url":"https://api.github.com/repos/DynamoDS/Dynamo/issues/6145","id":186040974,"user":{"login":"melkhaldi","id":5727365,"avatar_url":"https://avatars.githubusercontent.com/u/5727365?v=3","gravatar_id":"","url":"https://api.github.com/users/melkhaldi","html_url":"https://github.com/melkhaldi","followers_url":"https://api.github.com/users/melkhaldi/followers","following_url":"https://api.github.com/users/melkhaldi/following{/other_user}","gists_url":"https://api.github.com/users/melkhaldi/gists{/gist_id}","starred_url":"https://api.github.com/users/melkhaldi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/melkhaldi/subscriptions","organizations_url":"https://api.github.com/users/melkhaldi/orgs","repos_url":"https://api.github.com/users/melkhaldi/repos","events_url":"https://api.github.com/users/melkhaldi/events{/privacy}","received_events_url":"https://api.github.com/users/melkhaldi/received_events","type":"User","site_admin":false},"created_at":"2016-02-19T03:55:49Z","updated_at":"2016-02-19T03:55:49Z","body":"Yep. I tried modifying the XML already, but for things to actually update,\nI'll need to reopen the dyn file again. My use case is that I need to drive\nnodes values in real time, without having to reopen the dyn. Is there a way\nto do that?\nOn Feb 18, 2016 7:47 PM, \"Dimitar Venkov\" <notifications@github.com> wrote:\n\n> A Dyn definition is just an XML file. Each node's location, a slider's\n> value, everything is all saved there.\n>\n> If you have the patience to read and modify the XML code through python,\n> it's doable, yes. Here's some suggestions on XML parser modules for python:\n>\n> http://stackoverflow.com/questions/1591579/how-to-update-modify-a-xml-file-in-python\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/DynamoDS/Dynamo/issues/6145#issuecomment-186037252>.\n>\n"}}