{"id":19,"date":"2008-08-18T00:46:42","date_gmt":"2008-08-17T19:16:42","guid":{"rendered":"http:\/\/www.smallguru.com\/?p=18"},"modified":"2008-08-18T00:46:42","modified_gmt":"2008-08-17T19:16:42","slug":"customize-autodesk-inventor-api-using-csharp","status":"publish","type":"post","link":"https:\/\/www.ar-cad.com\/smallguru\/2008\/08\/customize-autodesk-inventor-api-using-csharp\/","title":{"rendered":"Customize Autodesk Inventor API using C#"},"content":{"rendered":"<p><img decoding=\"async\" loading=\"lazy\" class=\"alignleft\" style=\"float: left;\" src=\"http:\/\/smallguru.com\/wordpress\/wp-content\/upload\/visualstudio_logo.jpg\" alt=\"\" width=\"220\" height=\"160\" \/> In continuation of <a href=\"http:\/\/www.smallguru.com\/2008\/08\/introduction-to-autodesk-inventor-api-and-customization\/\" target=\"_blank\">previous post on Introduction to Inventor API and Customization<\/a>, this blog post will show some insights on how to <a href=\"http:\/\/www.autodesk.com\/developinventor\" target=\"_blank\">customize Inventor API<\/a> using <a href=\"http:\/\/en.wikipedia.org\/wiki\/C_Sharp_(programming_language)\" target=\"_blank\">Visual C#<\/a> and Visual Studio 2005.<\/p>\n<p>It is assumed that you have installed Autodesk Inventor (Version 10 or above) and <a href=\"http:\/\/msdn.microsoft.com\/en-us\/vs2005\/default.aspx\" target=\"_blank\">Visual Studio 2005<\/a>. As per the <a href=\"http:\/\/discussion.autodesk.com\/thread.jspa?messageID=5853433\" target=\"_blank\">discussion over Inventor Customization forum<\/a>, it is suggested that you have Visual Studio 2003 or 2005 for the Inventor Addin Template to work properly. At present, Addin Template does not get installed in Visual Studio 2008.<\/p>\n<p>To get started with Visual C# and Visual Studio<a href=\"http:\/\/en.wikipedia.org\/wiki\/Integrated_development_environment\" target=\"_blank\"> IDE (Integrated Development Environment)<\/a>, watch the following Videos from MSDN Library.<\/p>\n<ol>\n<li><a href=\"http:\/\/msdn.microsoft.com\/hi-in\/beginner\/bb964631(en-us).aspx\" target=\"_blank\">Introduction to Visual C# 2008 Express Edition<\/a>. Though we would be using Visual Studio 2005 for our development purpose, Visual C# Express Edition has similar functionality as Visual Studio. In this video, basic understanding of how an IDE works could be gained and also how C# programs and projects are developed and built.<\/li>\n<li><a href=\"http:\/\/msdn.microsoft.com\/hi-in\/beginner\/bb308730(en-us).aspx\" target=\"_blank\">Introduction to C# Programming Language<\/a>. This video shows how to develop C# applications using Visual Studio 2005. It is highly recommended that you <a href=\"http:\/\/go.microsoft.com\/?linkid=6143350\" target=\"_blank\">download this package installer<\/a> and upon installation on your system, you have a copy of Video downloaded and also a MS Word Document which is basically a transcript for the Video and <strong>also explains Basics of C# in a very good way<\/strong>.<\/li>\n<\/ol>\n<p>I hope you also have downloaded <a href=\"http:\/\/download.autodesk.com\/media\/adn\/DevTV_Introduction_to_Inventor_Programming.zip\" target=\"_blank\">DevTv: Introduction to Inventor Programming<\/a> from Inventor Customization Page. In this video, Mr. Wayne Brill of Autodesk has explained API concepts very well, but they are either in VB6 or VB.NET. I would like to highlight to the audience that even in Inventor Programmers Help (Located in Help tab), most of the code examples are given in VB.NET or VBA.<\/p>\n<p>I would try to bridge the gap by giving out equivalent C# code in the blog posts to follow. You may also be interested to check out a <a href=\"http:\/\/www.carlosag.net\/Tools\/CodeTranslator\/\" target=\"_blank\">free VB.Net to VC# translator<\/a> I stumbled upon, though I haven&#8217;t used it yet.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In continuation of previous post on Introduction to Inventor API and Customization, this blog post will show some insights on how to customize Inventor API using Visual C# and Visual Studio 2005. It is assumed that you have installed Autodesk &hellip; <a href=\"https:\/\/www.ar-cad.com\/smallguru\/2008\/08\/customize-autodesk-inventor-api-using-csharp\/\">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,12,32,33,20,35,37,29],"class_list":["post-19","post","type-post","status-publish","format-standard","hentry","category-autodesk-inventor","category-cad","category-inventor-customization","tag-add-ons","tag-api-customization","tag-autodesk-inventor","tag-cad","tag-cad-customization","tag-inventor-customization","tag-visual-c","tag-visual-studio"],"_links":{"self":[{"href":"https:\/\/www.ar-cad.com\/smallguru\/wp-json\/wp\/v2\/posts\/19","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=19"}],"version-history":[{"count":0,"href":"https:\/\/www.ar-cad.com\/smallguru\/wp-json\/wp\/v2\/posts\/19\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.ar-cad.com\/smallguru\/wp-json\/wp\/v2\/media?parent=19"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ar-cad.com\/smallguru\/wp-json\/wp\/v2\/categories?post=19"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ar-cad.com\/smallguru\/wp-json\/wp\/v2\/tags?post=19"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}