{"id":27,"date":"2008-09-03T03:10:13","date_gmt":"2008-09-02T21:40:13","guid":{"rendered":"http:\/\/www.smallguru.com\/?p=26"},"modified":"2008-09-03T03:10:13","modified_gmt":"2008-09-02T21:40:13","slug":"develop-autodesk-inventor-addin-using-csharp-part-5","status":"publish","type":"post","link":"https:\/\/www.ar-cad.com\/smallguru\/2008\/09\/develop-autodesk-inventor-addin-using-csharp-part-5\/","title":{"rendered":"Develop Autodesk Inventor Addin Using C# &#8211; Part 5"},"content":{"rendered":"<p><object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" width=\"500\" height=\"404\" codebase=\"http:\/\/download.macromedia.com\/pub\/shockwave\/cabs\/flash\/swflash.cab#version=6,0,40,0\"><param name=\"allowFullScreen\" value=\"true\" \/><param name=\"src\" value=\"http:\/\/www.youtube.com\/v\/B15xDnIbiaM&amp;hl=en&amp;fs=1\" \/><embed type=\"application\/x-shockwave-flash\" width=\"500\" height=\"404\" src=\"http:\/\/www.youtube.com\/v\/B15xDnIbiaM&amp;hl=en&amp;fs=1\" allowfullscreen=\"true\"><\/embed><\/object><br \/>\n<a href=\"http:\/\/www.ar-cad.com\/videos\/InventorAddin5\/InventorAddin5.html\" target=\"_blank\"> Watch High Resolution Video at AR-CAD<\/a><\/p>\n<p><strong>Summary: How to Add extra buttons to already existing Addin Command Bar.<\/strong><\/p>\n<p>This is in continuation of my earlier posts on <a href=\"http:\/\/www.smallguru.com\/2008\/08\/develop-autodesk-inventor-addin-using-csharp-part-1\/\" target=\"_blank\">Developing Inventor Addins using C# Part1<\/a>, <a href=\"http:\/\/www.smallguru.com\/2008\/08\/develop-autodesk-inventor-addin-using-csharp-part-2\/\" target=\"_blank\">Part2<\/a>, <a href=\"http:\/\/www.smallguru.com\/2008\/08\/develop-autodesk-inventor-addin-using-csharp-part-3\/\" target=\"_blank\">Part3<\/a> and <a href=\"http:\/\/www.smallguru.com\/2008\/08\/develop-autodesk-inventor-addin-using-csharp-part-4\/\" target=\"_blank\">Part4<\/a>. In our last screencast, I had explained how to replicate assembly tree view inside our addin command dialog. We go a step further and interact with the opened Assembly document \/ file.<\/p>\n<p>In this ScreenCast, we mainly deal with How to add another button to our existing addin command bar. By clicking on that button, a form would show up. We use SelectSet method of Inventor to capture user Selections. In screencasts to follow, we would try to explore how InteractionEvents can be used in place of SelectSet.<\/p>\n<p>Upon selecting an ocurrence (Part\/ Sub-assembly), the label in our Form is changed to its Display Name. Its not a big deal though, but atleast we are heading in the right direction.<\/p>\n<p>Would love to hear any feedback in the form of comments.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Watch High Resolution Video at AR-CAD Summary: How to Add extra buttons to already existing Addin Command Bar. This is in continuation of my earlier posts on Developing Inventor Addins using C# Part1, Part2, Part3 and Part4. In our last &hellip; <a href=\"https:\/\/www.ar-cad.com\/smallguru\/2008\/09\/develop-autodesk-inventor-addin-using-csharp-part-5\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"nf_dc_page":"","footnotes":""},"categories":[9,2,5],"tags":[11,32,20,35,37],"class_list":["post-27","post","type-post","status-publish","format-standard","hentry","category-autodesk-inventor","category-cad","category-inventor-customization","tag-add-ons","tag-autodesk-inventor","tag-cad-customization","tag-inventor-customization","tag-visual-c"],"_links":{"self":[{"href":"https:\/\/www.ar-cad.com\/smallguru\/wp-json\/wp\/v2\/posts\/27","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ar-cad.com\/smallguru\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ar-cad.com\/smallguru\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ar-cad.com\/smallguru\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ar-cad.com\/smallguru\/wp-json\/wp\/v2\/comments?post=27"}],"version-history":[{"count":0,"href":"https:\/\/www.ar-cad.com\/smallguru\/wp-json\/wp\/v2\/posts\/27\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.ar-cad.com\/smallguru\/wp-json\/wp\/v2\/media?parent=27"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ar-cad.com\/smallguru\/wp-json\/wp\/v2\/categories?post=27"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ar-cad.com\/smallguru\/wp-json\/wp\/v2\/tags?post=27"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}