{"action":"created","issue":{"url":"https://api.github.com/repos/DynamoDS/DynamoRevit/issues/1867","repository_url":"https://api.github.com/repos/DynamoDS/DynamoRevit","labels_url":"https://api.github.com/repos/DynamoDS/DynamoRevit/issues/1867/labels{/name}","comments_url":"https://api.github.com/repos/DynamoDS/DynamoRevit/issues/1867/comments","events_url":"https://api.github.com/repos/DynamoDS/DynamoRevit/issues/1867/events","html_url":"https://github.com/DynamoDS/DynamoRevit/issues/1867","id":275465540,"number":1867,"title":"Odd behaviour from Zero Touch property and OOTB Element property","user":{"login":"ThomasMahon","id":18601851,"avatar_url":"https://avatars3.githubusercontent.com/u/18601851?v=4","gravatar_id":"","url":"https://api.github.com/users/ThomasMahon","html_url":"https://github.com/ThomasMahon","followers_url":"https://api.github.com/users/ThomasMahon/followers","following_url":"https://api.github.com/users/ThomasMahon/following{/other_user}","gists_url":"https://api.github.com/users/ThomasMahon/gists{/gist_id}","starred_url":"https://api.github.com/users/ThomasMahon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThomasMahon/subscriptions","organizations_url":"https://api.github.com/users/ThomasMahon/orgs","repos_url":"https://api.github.com/users/ThomasMahon/repos","events_url":"https://api.github.com/users/ThomasMahon/events{/privacy}","received_events_url":"https://api.github.com/users/ThomasMahon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-11-20T19:11:10Z","updated_at":"2017-11-20T19:52:11Z","closed_at":null,"author_association":"NONE","body":"## Dynamo version\r\n1.3.1\r\n\r\n## Revit version\r\n\r\n2016\r\n\r\n## Operating system\r\nWin 10\r\n\r\n## What did you do? \r\n\r\nCreated a new public class called LinkElement in my Revit namespace. Created a public property for it named BoundingBox. \r\n\r\nRandomly felt like using OOTB Element.BoundingBox node within Dynamo and input an instance of my new class to test what it would do. \r\n\r\n## What did you expect to see?\r\n\r\nFor the OOTB node to throw an exception given that the input object was from a foreign class, not from Revit.Elements.Element.\r\n\r\n## What did you see instead?\r\n\r\nIt works, and calls the BoundingBox method from my own class (as opposed to the OOTB method)?? \r\n\r\nAlso, if i reverse the scenario and input any Revit element into my BoundingBox property, it works...this time calling the OOTB method, despite the property expecting an instance of my class (NOT a Revit.Elements.Element object). I would also expect this to throw an exception, which it doesn't. \r\n\r\nIs this simply a case of a namespace clash with a happy outcome?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/DynamoDS/DynamoRevit/issues/comments/345810240","html_url":"https://github.com/DynamoDS/DynamoRevit/issues/1867#issuecomment-345810240","issue_url":"https://api.github.com/repos/DynamoDS/DynamoRevit/issues/1867","id":345810240,"user":{"login":"ThomasMahon","id":18601851,"avatar_url":"https://avatars3.githubusercontent.com/u/18601851?v=4","gravatar_id":"","url":"https://api.github.com/users/ThomasMahon","html_url":"https://github.com/ThomasMahon","followers_url":"https://api.github.com/users/ThomasMahon/followers","following_url":"https://api.github.com/users/ThomasMahon/following{/other_user}","gists_url":"https://api.github.com/users/ThomasMahon/gists{/gist_id}","starred_url":"https://api.github.com/users/ThomasMahon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThomasMahon/subscriptions","organizations_url":"https://api.github.com/users/ThomasMahon/orgs","repos_url":"https://api.github.com/users/ThomasMahon/repos","events_url":"https://api.github.com/users/ThomasMahon/events{/privacy}","received_events_url":"https://api.github.com/users/ThomasMahon/received_events","type":"User","site_admin":false},"created_at":"2017-11-20T19:52:11Z","updated_at":"2017-11-20T19:52:11Z","author_association":"NONE","body":"Definitely will make Dynamo's behaviour more predicable and consistent if dynamic dispatch is disabled - thanks for the insight. "}}
{"actor":{"display_login":"ThomasMahon"}}