{"id":9026,"date":"2014-03-04T21:54:45","date_gmt":"2014-03-05T05:54:45","guid":{"rendered":"https:\/\/blogs.plm.automation.siemens.com\/t5\/Solid-Edge-Blog\/Samples-for-Solid-Edge-on-CodePlex\/ba-p\/24485"},"modified":"2026-03-26T07:19:02","modified_gmt":"2026-03-26T11:19:02","slug":"samples-for-solid-edge-on-codeplex","status":"publish","type":"post","link":"https:\/\/blogs.sw.siemens.com\/solidedge\/samples-for-solid-edge-on-codeplex\/","title":{"rendered":"Samples for Solid Edge on CodePlex"},"content":{"rendered":"<p><P><IMG align=\"center\" src=\"https:\/\/siemensplm.i.lithium.com\/t5\/image\/serverpage\/image-id\/4035i7FDAE486796BC48E\/image-size\/original?v=mpbl-1&amp;px=-1\" alt=\"WelcomeToTheSamplesForSolidEdgeProject.png\" border=\"0\" title=\"WelcomeToTheSamplesForSolidEdgeProject.png\" \/><\/P><P>I&#8217;ve said it before but it&#8217;s worth mentioning again. One of the biggest challenges to learning the Solid Edge API is the sheer size of the API. The Solid Edge API is HUGE and takes a considerable amount of time to learn. It&#8217;s also not always obvious how certain APIs work and can be a challenge to get right. Throw in the various programming languages (they all work differently) and you&#8217;ve got yourself a headache. <SPAN>Snippets can be helpful but often not enough to accomplish a specific task in full.&nbsp;<\/SPAN>Documentation will get you so far but what programmers really need are examples. Solutions and projects in our favorite language that we can open, compile and start learning.<\/P><P>Welcome to the <a target=\"_blank\" href=\"http:\/\/solidedgesamples.codeplex.com\" rel=\"nofollow noopener noreferrer\">Samples for Solid Edge<\/A>&nbsp;project on <a target=\"_blank\" href=\"http:\/\/www.codeplex.com\" rel=\"nofollow noopener noreferrer\">CodePlex<\/A>. CodePlex is an open source project hosting site. This project was created and is dedicated to providing high quality examples of how to use the various Solid Edge APIs. API samples, full demos and addins are available in C++, C# and Visual Basic.<\/P><P><STRONG>API Samples<\/STRONG><\/P><P>The C# and Visual Basic languages contain an API Samples solution that has a user friendly GUI. Simply navigate to the desired API andor environment and executedebug pre-built samples.<\/P><P><IMG align=\"center\" src=\"https:\/\/siemensplm.i.lithium.com\/t5\/image\/serverpage\/image-id\/4025iD21E6716BA89680F\/image-size\/original?v=mpbl-1&amp;px=-1\" alt=\"SamplesForSolidEdge.png\" border=\"0\" title=\"SamplesForSolidEdge.png\" \/><\/P><P><STRONG>Demos<\/STRONG><\/P><P>Full demos are created when providing a simple API sample is not enough. As an example shown below, the Mouse Events demo demonstrates how to create a Command object and leverage its Mouse property and events to select graphical objects in the Solid Edge GUI.<\/P><P><IMG align=\"center\" src=\"https:\/\/siemensplm.i.lithium.com\/t5\/image\/serverpage\/image-id\/4031i9BAEB9783C42F8EF\/image-size\/original?v=mpbl-1&amp;px=-1\" alt=\"MouseEventsDemo.png\" border=\"0\" title=\"MouseEventsDemo.png\" \/><\/P><P><STRONG>AddIns<\/STRONG><\/P><P>There are also several addin projects that demonstrate how to create addins for Solid Edge. AddIns can be very complicated and difficult to get right. These projects demonstrate what is possible. The following screenshot is from the RibbarBar addin project.<\/P><P><STRONG><IMG align=\"center\" src=\"https:\/\/siemensplm.i.lithium.com\/t5\/image\/serverpage\/image-id\/4033iBEBF9B76802DFDF5\/image-size\/original?v=mpbl-1&amp;px=-1\" alt=\"RibbonBarAddin.png\" border=\"0\" title=\"RibbonBarAddin.png\" \/><BR \/><\/STRONG><\/P><P><STRONG><STRONG>Conclusion<\/STRONG><\/STRONG><\/P><P>I do my best to think up quality examples that you all want and need. If you have specific examples that you would like to see, feel free start a discussion with me in the <a target=\"_blank\" href=\"http:\/\/solidedgesamples.codeplex.com\/discussions\" rel=\"nofollow noopener noreferrer\">project forums<\/A>. I am also interested in ANY code examples that you can and are willing to share. It&#8217;s much easier and faster for me to convert an existing example than it is to create one from scratch.<\/P><P>Thank you to all who have contributed examples so far. As I said in the closing statement of my&nbsp;<a target=\"_blank\" href=\"https:\/\/blogs.plm.automation.siemens.com\/t5\/Solid-Edge-Developer-Blog\/A-new-beginning\/ba-p\/17911\" rel=\"noopener noreferrer\">A new beginning<\/A> post, we are stronger together than we are as individuals.<\/P><\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp;  I&#8217;ve said it before but it&#8217;s worth mentioning again. One of the biggest challenges to learning the Solid Edge API is the sheer size of the API. The Solid Edge API is HUGE and takes a consider&#8230;<\/p>\n","protected":false},"author":61367,"featured_media":9031,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spanish_translation":"","french_translation":"","german_translation":"","italian_translation":"","polish_translation":"","japanese_translation":"","chinese_translation":"","footnotes":""},"categories":[1],"tags":[],"industry":[],"product":[],"coauthors":[],"class_list":["post-9026","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news"],"featured_image_url":"https:\/\/blogs.sw.siemens.com\/wp-content\/uploads\/sites\/8\/2019\/09\/MouseEventsDemo.png","_links":{"self":[{"href":"https:\/\/blogs.sw.siemens.com\/solidedge\/wp-json\/wp\/v2\/posts\/9026","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.sw.siemens.com\/solidedge\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.sw.siemens.com\/solidedge\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.sw.siemens.com\/solidedge\/wp-json\/wp\/v2\/users\/61367"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.sw.siemens.com\/solidedge\/wp-json\/wp\/v2\/comments?post=9026"}],"version-history":[{"count":5,"href":"https:\/\/blogs.sw.siemens.com\/solidedge\/wp-json\/wp\/v2\/posts\/9026\/revisions"}],"predecessor-version":[{"id":9035,"href":"https:\/\/blogs.sw.siemens.com\/solidedge\/wp-json\/wp\/v2\/posts\/9026\/revisions\/9035"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blogs.sw.siemens.com\/solidedge\/wp-json\/wp\/v2\/media\/9031"}],"wp:attachment":[{"href":"https:\/\/blogs.sw.siemens.com\/solidedge\/wp-json\/wp\/v2\/media?parent=9026"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.sw.siemens.com\/solidedge\/wp-json\/wp\/v2\/categories?post=9026"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.sw.siemens.com\/solidedge\/wp-json\/wp\/v2\/tags?post=9026"},{"taxonomy":"industry","embeddable":true,"href":"https:\/\/blogs.sw.siemens.com\/solidedge\/wp-json\/wp\/v2\/industry?post=9026"},{"taxonomy":"product","embeddable":true,"href":"https:\/\/blogs.sw.siemens.com\/solidedge\/wp-json\/wp\/v2\/product?post=9026"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/blogs.sw.siemens.com\/solidedge\/wp-json\/wp\/v2\/coauthors?post=9026"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}