{"id":631,"date":"2019-10-17T12:46:00","date_gmt":"2019-10-17T04:46:00","guid":{"rendered":"http:\/\/localhost:8080\/?p=631"},"modified":"2019-10-17T12:46:00","modified_gmt":"2019-10-17T04:46:00","slug":"c-solidworks-%e4%ba%8c%e6%ac%a1%e5%bc%80%e5%8f%91-api-%e5%8f%a6%e4%b8%80%e7%a7%8d%e6%96%b9%e5%bc%8f%e6%8f%92%e4%bb%b6add-in","status":"publish","type":"post","link":"https:\/\/blog.ke-zhi.com\/?p=631","title":{"rendered":"C# SolidWorks \u4e8c\u6b21\u5f00\u53d1 API &#8212; \u53e6\u4e00\u79cd\u65b9\u5f0f\u63d2\u4ef6Add-In"},"content":{"rendered":"<h1> <a href=\"https:\/\/www.cnblogs.com\/solidworksapi\/p\/12897465.html\" target=\"_blank\" rel=\"nofollow noopener\"> <span>C# SolidWorks \u4e8c\u6b21\u5f00\u53d1 API &#8212; \u53e6\u4e00\u79cd\u65b9\u5f0f\u63d2\u4ef6Add-In<\/span> <\/a> <\/h1>\n<p>\u4e0a\u4e00\u7bc7\u4ecb\u7ecd\u4e86\u4f7f\u7528solidworks\u81ea\u5e26\u5e2e\u52a9\u7684\u6a21\u677f\u6765\u521b\u5efa\u63d2\u4ef6\u3002\u4eca\u5929\u6765\u4ecb\u7ecdgithub\u4e0a\u4e00\u4e2a\u6846\u67b6\uff0c\u4f7f\u7528\u5b83\u6765\u521b\u5efa\u63d2\u4ef6\u4f3c\u4e4e\u66f4\u65b9\u4fbf\u6613\u61c2\u3002<\/p>\n<p>\u5730\u5740\u662f\uff1a<a href=\"https:\/\/github.com\/codestackdev\/swex-addin\" target=\"_blank\" rel=\"nofollow noopener\">https:\/\/github.com\/codestackdev\/swex-addin<\/a><\/p>\n<p>\u6211\u4eec\u5148\u4e0b\u8f7dzip\u538b\u7f29\u5305\uff0c\u7136\u540e\u89e3\u538b\u3002\u7528VS\u6253\u5f00 swex-addin.sln&nbsp;<\/p>\n<p>\u7136\u540e\u91cd\u5efa\u9879\u76ee\uff0cnuget\u4f1a\u81ea\u52a8\u6062\u590d\u5f15\u7528 \u3002<\/p>\n<p><img decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/img-blog.csdnimg.cn\/20191017123438929.png?x-oss-process=image\/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3plbmdxaDAzMTQ=,size_16,color_FFFFFF,t_70\"><\/p>\n<p>\u7136\u540e\u5c31\u53ef\u4ee5\u7f16\u8f91&nbsp;SwSampleAddIn.cs\u7c7b\u4e2d\u7684\u4fe1\u606f\u4e86\u3002<\/p>\n<p><img decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/img-blog.csdnimg.cn\/20191017123852642.png?x-oss-process=image\/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3plbmdxaDAzMTQ=,size_16,color_FFFFFF,t_70\"><\/p>\n<p>\u8fd9\u4e2a\u662f\u4e00\u4e2a\u4f8b\u5b50\uff0c\u91cc\u9762\u5305\u542b\u4e86\u5404\u79cd\u4e8b\u4ef6\u4ee5\u53ca\u547d\u4ee4\u3002\u8981\u5f04\u61c2\u8fd8\u662f\u8981\u4e00\u4e9b\u529f\u5e95\u7684\u3002<\/p>\n<p>\u8c03\u8bd5\u7684\u8bdd\u53ef\u4ee5\u76f4\u63a5\u5728AddInExample\u4e2d\u8c03\u8bd5\u4e2d\u914d\u7f6eSolidworks\u7684\u8def\u5f84\uff0c\u5e76\u8bbe\u7f6e\u4e3a\u9ed8\u8ba4\u542f\u52a8\u9879\u76ee\uff0c\u7136\u540e\u542f\u52a8\u8c03\u8bd5\u3002<\/p>\n<p><img decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/img-blog.csdnimg.cn\/20191017123955423.png?x-oss-process=image\/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3plbmdxaDAzMTQ=,size_16,color_FFFFFF,t_70\"><\/p>\n<p>\u542f\u52a8\u6210\u529f\u4e4b\u540e\u65b0\u5efa\u4e00\u4e2a\u96f6\u4ef6\uff0c\u5373\u4f1a\u51fa\u73b0\u4e00\u4e9b\u4fe1\u606f\uff0c\u4f60\u53ef\u4ee5\u4ee3\u7801\u4e2d\u627e\u5230\u3002<\/p>\n<p>\u754c\u9762\u4e0a\u4e5f\u51fa\u73b0\u4e86\uff1a<\/p>\n<p><img decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/img-blog.csdnimg.cn\/20191017124307832.png?x-oss-process=image\/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3plbmdxaDAzMTQ=,size_16,color_FFFFFF,t_70\"><img decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/img-blog.csdnimg.cn\/20191017124409727.png?x-oss-process=image\/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3plbmdxaDAzMTQ=,size_16,color_FFFFFF,t_70\"><\/p>\n<p>\u5927\u5bb6\u53ef\u4ee5\u53c2\u8003\u5b83\u7684github\u6216\u8005\u7f51\u7ad9\u81ea\u5df1\u7814\u7a76\uff0c\u6709\u5f88\u591a\u5b66\u4e60\u7684\u5730\u65b9\u3002<\/p>\n<p>          posted @<br \/>\n<span>2019-10-17 12:46<\/span>&nbsp;<br \/>\n<a href=\"https:\/\/www.cnblogs.com\/solidworksapi\/\" target=\"_blank\" rel=\"nofollow noopener\">painezeng<\/a>&nbsp; \u9605\u8bfb(<br \/>\n<span>153<\/span>)&nbsp; \u8bc4\u8bba(<br \/>\n<span>0<\/span>)&nbsp;<br \/>\n<a href=\"https:\/\/i.cnblogs.com\/EditPosts.aspx?postid=12897465\" rel=\"nofollow noopener\" target=\"_blank\">\u7f16\u8f91<\/a>&nbsp;<br \/>\n<a href=\"\" target=\"_blank\" rel=\"nofollow noopener\">\u6536\u85cf<\/a>&nbsp;<br \/>\n<a href=\"\" target=\"_blank\" rel=\"nofollow noopener\">\u4e3e\u62a5<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>C# SolidWorks \u4e8c\u6b21\u5f00\u53d1 API &#8212; \u53e6\u4e00\u79cd\u65b9\u5f0f\u63d2\u4ef6Add-In \u4e0a\u4e00\u7bc7\u4ecb\u7ecd\u4e86\u4f7f\u7528so [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":632,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[4,5],"tags":[7,6,8],"series":[],"class_list":["post-631","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-solidworks-","category-solidworks","tag-api","tag-solidworks","tag-8"],"views":203,"_links":{"self":[{"href":"https:\/\/blog.ke-zhi.com\/index.php?rest_route=\/wp\/v2\/posts\/631","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.ke-zhi.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.ke-zhi.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.ke-zhi.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.ke-zhi.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=631"}],"version-history":[{"count":0,"href":"https:\/\/blog.ke-zhi.com\/index.php?rest_route=\/wp\/v2\/posts\/631\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.ke-zhi.com\/index.php?rest_route=\/wp\/v2\/media\/632"}],"wp:attachment":[{"href":"https:\/\/blog.ke-zhi.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=631"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.ke-zhi.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=631"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.ke-zhi.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=631"},{"taxonomy":"series","embeddable":true,"href":"https:\/\/blog.ke-zhi.com\/index.php?rest_route=%2Fwp%2Fv2%2Fseries&post=631"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}