{"action":"created","issue":{"url":"https://api.github.com/repos/walkinside/sdk/issues/45","repository_url":"https://api.github.com/repos/walkinside/sdk","labels_url":"https://api.github.com/repos/walkinside/sdk/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/walkinside/sdk/issues/45/comments","events_url":"https://api.github.com/repos/walkinside/sdk/issues/45/events","html_url":"https://github.com/walkinside/sdk/issues/45","id":326382831,"node_id":"MDU6SXNzdWUzMjYzODI4MzE=","number":45,"title":"Branch Select is not working","user":{"login":"ghost","id":10137,"node_id":"MDQ6VXNlcjEwMTM3","avatar_url":"https://avatars3.githubusercontent.com/u/10137?v=4","gravatar_id":"","url":"https://api.github.com/users/ghost","html_url":"https://github.com/ghost","followers_url":"https://api.github.com/users/ghost/followers","following_url":"https://api.github.com/users/ghost/following{/other_user}","gists_url":"https://api.github.com/users/ghost/gists{/gist_id}","starred_url":"https://api.github.com/users/ghost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ghost/subscriptions","organizations_url":"https://api.github.com/users/ghost/orgs","repos_url":"https://api.github.com/users/ghost/repos","events_url":"https://api.github.com/users/ghost/events{/privacy}","received_events_url":"https://api.github.com/users/ghost/received_events","type":"User","site_admin":false},"labels":[{"id":479083917,"node_id":"MDU6TGFiZWw0NzkwODM5MTc=","url":"https://api.github.com/repos/walkinside/sdk/labels/viewer-sdk","name":"viewer-sdk","color":"5319e7","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-05-25T05:07:18Z","updated_at":"2018-11-07T09:53:43Z","closed_at":"2018-11-07T09:53:43Z","author_association":"NONE","body":"Hi,\r\n\r\nI can retrieve list of branch using below code,\r\n```c#\r\nvar branches = SDKViewer.ProjectManager.CurrentProject.BranchManager.GetBranchesByNameFragmentAndKind(\"branchName\", VRBranchKind.Cad);\r\n            MessageBox.Show(branches.Count().ToString());\r\n```\r\nOutput,\r\n![image](https://user-images.githubusercontent.com/13269662/40526814-92606b6a-6006-11e8-8df7-7acdd2a82320.png)\r\n\r\nBut i couldn't select the defined branch in CAD hierachy with below,\r\n```c#\r\nvar branches = SDKViewer.ProjectManager.CurrentProject.BranchManager.GetBranchesByNameFragmentAndKind(Input, VRBranchKind.Cad);\r\n            foreach (IVRBranch branch in branches)\r\n            {\r\n                branch.Select();\r\n            }\r\n```\r\nError,\r\n![image](https://user-images.githubusercontent.com/13269662/40526947-53c8103c-6007-11e8-8cf4-ead0013752fa.png)\r\n\r\nCould anyone please tell how to select the branch?\r\n\r\nThanks,"},"comment":{"url":"https://api.github.com/repos/walkinside/sdk/issues/comments/436567893","html_url":"https://github.com/walkinside/sdk/issues/45#issuecomment-436567893","issue_url":"https://api.github.com/repos/walkinside/sdk/issues/45","id":436567893,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNjU2Nzg5Mw==","user":{"login":"gcorvala","id":15450,"node_id":"MDQ6VXNlcjE1NDUw","avatar_url":"https://avatars1.githubusercontent.com/u/15450?v=4","gravatar_id":"","url":"https://api.github.com/users/gcorvala","html_url":"https://github.com/gcorvala","followers_url":"https://api.github.com/users/gcorvala/followers","following_url":"https://api.github.com/users/gcorvala/following{/other_user}","gists_url":"https://api.github.com/users/gcorvala/gists{/gist_id}","starred_url":"https://api.github.com/users/gcorvala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gcorvala/subscriptions","organizations_url":"https://api.github.com/users/gcorvala/orgs","repos_url":"https://api.github.com/users/gcorvala/repos","events_url":"https://api.github.com/users/gcorvala/events{/privacy}","received_events_url":"https://api.github.com/users/gcorvala/received_events","type":"User","site_admin":false},"created_at":"2018-11-07T09:53:43Z","updated_at":"2018-11-07T09:53:43Z","author_association":"CONTRIBUTOR","body":"Hi @dkOogway, another way that might be good for your use case is using IVRGroupExtensions.Highlight() helper. This will apply style and color to a group of branches but won't trigger selection events. We are closing the issue but feel free to reopen it if it doesn't fit your needs."}}
{"actor":{"display_login":"gcorvala"}}