{"id":179860,"date":"2026-03-15T12:42:39","date_gmt":"2026-03-15T12:42:39","guid":{"rendered":"\/knowledge\/?post_type=topic&#038;p=179860"},"modified":"2026-03-16T12:33:46","modified_gmt":"2026-03-16T12:33:46","slug":"discovery-add-in-sample-add-ins-for-2026-r1","status":"publish","type":"topic","link":"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic\/discovery-add-in-sample-add-ins-for-2026-r1\/","title":{"rendered":"Discovery Add-in: Sample Add-ins for 2026 R1 (API V261)"},"content":{"rendered":"<h1 content_id=\"DISCOVERY-ADD-IN-SAMPLE-ADD-INS-FOR-2024-R1\" class=\"yt-addin\" content_id=\"DISCOVERY-ADD-IN-SAMPLE-ADD-INS-FOR-2024-R1\" class=\"yt-addin\"  id=\"DISCOVERY-ADD-IN-SAMPLE-ADD-INS-FOR-2026-R1\">Discovery Add-in: Sample Add-ins for 2026 R1<\/h1>\n<div class=\"img-button\" style=\"display: flex\">\n<div class=\"image-align\" style=\"width: 350%\">\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-198135 size-large\" src=\"https:\/\/innovationspace.ansys.com\/knowledge\/wp-content\/uploads\/sites\/4\/2026\/03\/Disco-addins-1-1024x705.png\" alt=\"\" width=\"640\" height=\"441\" srcset=\"https:\/\/innovationspace.ansys.com\/knowledge\/wp-content\/uploads\/sites\/4\/2026\/03\/Disco-addins-1-1024x705.png 1024w, https:\/\/innovationspace.ansys.com\/knowledge\/wp-content\/uploads\/sites\/4\/2026\/03\/Disco-addins-1-300x207.png 300w, https:\/\/innovationspace.ansys.com\/knowledge\/wp-content\/uploads\/sites\/4\/2026\/03\/Disco-addins-1-768x529.png 768w, https:\/\/innovationspace.ansys.com\/knowledge\/wp-content\/uploads\/sites\/4\/2026\/03\/Disco-addins-1-1536x1058.png 1536w, https:\/\/innovationspace.ansys.com\/knowledge\/wp-content\/uploads\/sites\/4\/2026\/03\/Disco-addins-1-2048x1411.png 2048w, https:\/\/innovationspace.ansys.com\/knowledge\/wp-content\/uploads\/sites\/4\/2026\/03\/Disco-addins-1-24x17.png 24w, https:\/\/innovationspace.ansys.com\/knowledge\/wp-content\/uploads\/sites\/4\/2026\/03\/Disco-addins-1-36x25.png 36w, https:\/\/innovationspace.ansys.com\/knowledge\/wp-content\/uploads\/sites\/4\/2026\/03\/Disco-addins-1-48x33.png 48w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<div style=\"text-align: center\">\n<p style=\"text-align: left\"><a class=\"add-in\" href=\"https:\/\/ansys13.ansys.com\/KnowledgeArticles\/Discovery\/KM%202026\/DISCOVERY_SAMPLE_ADDINS_2026R1_WINX64.zip?template=discovery\"> Download Add-in \u25ba<\/a><\/p>\n<\/div>\n<\/div>\n<div style=\"padding-left: 20px\">\n<p>Discovery Add-Ins show the potential for customizing the user experience inside of Discovery for specific tasks. An add-in is a managed code DLL that uses the Discovery API. The Discovery Application Programming Interface (API) allows you to create add-in applications that extend the functionality of Discovery. To learn more about scripting check out the Discovery scripting learning content. To learn about creating custom experiences for your company contact your Ansys sales representative.<\/p>\n<h5 content_id=\"WHAT-IS-INCLUDED\" class=\"yt-addin\" content_id=\"WHAT-IS-INCLUDED\" class=\"yt-addin\"  id=\"WHAT-IS-INCLUDED\"><strong>What is included?<\/strong><\/h5>\n<p><span class=\"tick\">\u2714<\/span> The Sample Add-in project (C#) contains programming examples of how to use various areas of functionality in the API.<\/p>\n<p>\u2022 <strong>Command Example:<\/strong> Demonstrates how to create an add-in and use a command to create a sample Block.<br \/>\n\u2022 <strong>Tool Example:<\/strong> Demonstrates how to define a button that activates a tool on the HUD.<br \/>\n\u2022 <strong>Customize Object\/Custom Tree Example:<\/strong> Includes the functionality from the Tool Example and adds functionality to create a custom object that is displayed in the custom tree. The example shows how to link the custom object with the tool properties displayed in the HUD.<br \/>\n\u2022 <strong>Sample Add-in:<\/strong> Shows how to Copy Component, Create Assembly, Create Block, Gear, Hole, Notes, Torus, export a document, Find Matching faces, Create Scene Graph, Select Loop, Create an Interaction tool, Demonstrates Spin animation of a Component, and Create a Profile tool.<\/p>\n<p>This Sample Add-in projects uses version 2026 R1 and API V261 of Ansys Discovery. Please refer the <a href=\"https:\/\/developer.ansys.com\/docs\/discovery-extensibility-and-add-ins-developer-guide-2025-r2\/UDA\/add_api\/creating_addin_apps\/topics\/c_disco_api_samples.md\">Sample projects | Ansys Developer Portal<\/a> in Ansys Discovery.<\/p>\n<p>You can find the previous versions Sample add-ins from <a href=\"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic\/discovery-addins-updated-for-2023-r1\/?template=discovery\">Discovery Sample Add-ins &#8211; Previous Versions<\/a> knowledge article.<\/p>\n<p>&nbsp;<\/p>\n<\/div>\n<p>&nbsp;<\/p>\n<\/div>\n<div class=\"attachment\" style=\"background-color: #fedb8d;padding: 1%;font-weight: 300;height: auto!important;display: flex;border-radius: 15px;margin-bottom: 20px\"><span class=\"info\"> ?<\/span><strong>THE SOFTWARE IS PROVIDED \u201cAS IS\u201d, WITHOUT WARRANTY OR SUPPORT OF ANY KIND, EXPRESS OR IMPLIED. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. FULL DETAILS OF THE TERMS OF USE OF THIS SOFTWARE CAN BE FOUND <a href=\"https:\/\/www.ansys.com\/legal\/terms-and-conditions\">HERE<\/a>.<br \/>\n<\/strong><\/div>\n","protected":false},"template":"","class_list":["post-179860","topic","type-topic","status-publish","hentry"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_edit_lock":["1773664314:2327"],"_edit_last":["2327"],"_bbp_forum_id":["160779"],"_bbp_topic_id":["198136"],"_bbp_author_ip":["23.206.193.150"],"_bbp_last_reply_id":["0"],"_bbp_last_active_id":["179860"],"_bbp_last_active_time":["2023-10-19 12:42:39"],"_bbp_reply_count":["0"],"_bbp_reply_count_hidden":["0"],"_bbp_voice_count":["0"],"_yoast_wpseo_content_score":["30"],"_yoast_wpseo_estimated-reading-time-minutes":["2"],"_btv_view_count":["7206"],"application_name":[""],"_application_name":["field_64a80903c8e15"],"family":[""],"_family":["field_64a809229a857"],"siebel_km_number":[""],"_siebel_km_number":["field_63ecbffce60db"],"salesforce_km_number":[""],"_salesforce_km_number":["field_63ecc018e60dc"],"km_published_date":[""],"_km_published_date":["field_64c77704499dd"],"product_version":[""],"_product_version":["field_64c776cb4fd2e"],"_yoast_wpseo_wordproof_timestamp":[""],"filter_by_optics_product":["Lumerical"],"_filter_by_optics_product":["field_64fb192ba3121"],"_wp_old_date":["2023-10-19","2023-01-19","2024-01-19","2025-07-19"],"_aioseo_title":[null],"_aioseo_description":[null],"_aioseo_keywords":["a:0:{}"],"_aioseo_og_title":[null],"_aioseo_og_description":[null],"_aioseo_og_article_section":[""],"_aioseo_og_article_tags":["a:0:{}"],"_aioseo_twitter_title":[null],"_aioseo_twitter_description":[null],"_wp_old_slug":["discovery-add-in-sample-add-ins-for-2023-r2"]},"test":"articlesansys-com"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/topics\/179860","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/topics"}],"about":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":19,"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/topics\/179860\/revisions"}],"predecessor-version":[{"id":198136,"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/topics\/179860\/revisions\/198136"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/media?parent=179860"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}