{"action":"created","issue":{"url":"https://api.github.com/repos/DynamoDS/Dynamo/issues/5354","labels_url":"https://api.github.com/repos/DynamoDS/Dynamo/issues/5354/labels{/name}","comments_url":"https://api.github.com/repos/DynamoDS/Dynamo/issues/5354/comments","events_url":"https://api.github.com/repos/DynamoDS/Dynamo/issues/5354/events","html_url":"https://github.com/DynamoDS/Dynamo/issues/5354","id":108165204,"number":5354,"title":"Access double in List of Lists","user":{"login":"redinkinc","id":3741716,"avatar_url":"https://avatars.githubusercontent.com/u/3741716?v=3","gravatar_id":"","url":"https://api.github.com/users/redinkinc","html_url":"https://github.com/redinkinc","followers_url":"https://api.github.com/users/redinkinc/followers","following_url":"https://api.github.com/users/redinkinc/following{/other_user}","gists_url":"https://api.github.com/users/redinkinc/gists{/gist_id}","starred_url":"https://api.github.com/users/redinkinc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redinkinc/subscriptions","organizations_url":"https://api.github.com/users/redinkinc/orgs","repos_url":"https://api.github.com/users/redinkinc/repos","events_url":"https://api.github.com/users/redinkinc/events{/privacy}","received_events_url":"https://api.github.com/users/redinkinc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-24T16:24:30Z","updated_at":"2015-10-13T15:29:32Z","closed_at":null,"body":"Hi there,\r\nI need to read in a List<List<double>> and tried the folloing: \r\n\r\n             model.RequestChangeParallelCoordinates += delegate\r\n            {\r\n                model.DispatchOnUIThread(delegate\r\n                {\r\n                    var paramValueNode = model.InPorts[0].Connectors[0].Start.Owner;\r\n                    var paramValueIndex = model.InPorts[0].Connectors[0].Start.Index;\r\n                    var xValueNode = model.InPorts[1].Connectors[0].Start.Owner;\r\n                    var xValueIndex = model.InPorts[1].Connectors[0].Start.Index;\r\n\r\n                    var paramValueId = paramValueNode.GetAstIdentifierForOutputIndex(paramValueIndex).Name;\r\n                    var xValueId = xValueNode.GetAstIdentifierForOutputIndex(xValueIndex).Name;\r\n\r\n                    var paramMirror = dm.EngineController.GetMirror(paramValueId);\r\n                    var startMirror = dm.EngineController.GetMirror(xValueId);\r\n\r\n                    var parameters = new List<string>();\r\n                    object start = null;\r\n\r\n                    if (paramMirror == null)\r\n                    {\r\n                        parameters.Add(\"default\");\r\n                    }\r\n                    else\r\n                    {\r\n                        if (paramMirror.GetData().IsCollection)\r\n                        {\r\n                            parameters.AddRange(paramMirror.GetData().GetElements().Select(data => (string) data.Data));\r\n                        }\r\n                        else\r\n                        {\r\n                            //var test = paramMirror.GetData().Data;\r\n                            var data = (string) paramMirror.GetData().Data;\r\n                            parameters.Add(data);\r\n                        }\r\n                    }\r\n\r\n                    if (startMirror.GetData().IsCollection)\r\n                    {\r\n                        start = startMirror.GetData().GetElements().Select(data => data.Data).AsEnumerable();\r\n                    }\r\n                    else\r\n                    {\r\n                        //var test = paramMirror.GetData().Data;\r\n                        start = startMirror.GetData().Data;\r\n                    }\r\n                    \r\n                    var values = start as List<List<double>>;\r\n\r\n                    parallelCoordinatesControl.ParameterList = parameters;\r\n                    parallelCoordinatesControl.Values = values;\r\n                    parallelCoordinatesControl.AddChart();\r\n                });\r\n            };\r\n\r\nThe Node AST returns the right values, but the variable start always stays null. Any suggestions how to fix this?\r\n\r\n![paco](https://cloud.githubusercontent.com/assets/3741716/10079264/4f0ea286-62e9-11e5-8167-e4339ad65259.PNG)\r\n\r\nThanks, redinkinc"},"comment":{"url":"https://api.github.com/repos/DynamoDS/Dynamo/issues/comments/147750853","html_url":"https://github.com/DynamoDS/Dynamo/issues/5354#issuecomment-147750853","issue_url":"https://api.github.com/repos/DynamoDS/Dynamo/issues/5354","id":147750853,"user":{"login":"redinkinc","id":3741716,"avatar_url":"https://avatars.githubusercontent.com/u/3741716?v=3","gravatar_id":"","url":"https://api.github.com/users/redinkinc","html_url":"https://github.com/redinkinc","followers_url":"https://api.github.com/users/redinkinc/followers","following_url":"https://api.github.com/users/redinkinc/following{/other_user}","gists_url":"https://api.github.com/users/redinkinc/gists{/gist_id}","starred_url":"https://api.github.com/users/redinkinc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redinkinc/subscriptions","organizations_url":"https://api.github.com/users/redinkinc/orgs","repos_url":"https://api.github.com/users/redinkinc/repos","events_url":"https://api.github.com/users/redinkinc/events{/privacy}","received_events_url":"https://api.github.com/users/redinkinc/received_events","type":"User","site_admin":false},"created_at":"2015-10-13T15:29:32Z","updated_at":"2015-10-13T15:29:32Z","body":"The full code is now available at https://github.com/redinkinc/Utilities."}}