{"id":510,"date":"2022-09-29T19:20:00","date_gmt":"2022-09-29T11:20:00","guid":{"rendered":"http:\/\/localhost:8080\/?p=510"},"modified":"2022-09-29T19:20:00","modified_gmt":"2022-09-29T11:20:00","slug":"c-solidworks-%e4%ba%8c%e6%ac%a1%e5%bc%80%e5%8f%91-api-solidworks%e6%96%87%e4%bb%b6%e5%85%b3%e7%b3%bb%e4%b8%8e%e6%89%93%e5%bc%80%e6%96%87%e4%bb%b6%e7%9a%84%e6%96%b9%e5%bc%8f","status":"publish","type":"post","link":"https:\/\/blog.ke-zhi.com\/?p=510","title":{"rendered":"C# SolidWorks \u4e8c\u6b21\u5f00\u53d1 API-Solidworks\u6587\u4ef6\u5173\u7cfb\u4e0e\u6253\u5f00\u6587\u4ef6\u7684\u65b9\u5f0f"},"content":{"rendered":"<h1> <a href=\"https:\/\/www.cnblogs.com\/solidworksapi\/p\/17369379.html\" target=\"_blank\" rel=\"nofollow noopener\"> <span>C# SolidWorks \u4e8c\u6b21\u5f00\u53d1 API-Solidworks\u6587\u4ef6\u5173\u7cfb\u4e0e\u6253\u5f00\u6587\u4ef6\u7684\u65b9\u5f0f<\/span> <\/a> <\/h1>\n<p>\u4eca\u5929\u5728\u8349\u7a3f\u4e2d\u53d1\u73b0\u4e86\u8fd9\u662f\u53bb\u5e74\u6587\u7ae0\u5199\u4e86\u4e00\u534a\uff0c\u6ca1\u6709\u5b8c\u6210\u7684\uff0c\u90a3\u4eca\u5929\u5c31\u8865\u4e0a\u5427\u3002<\/p>\n<h1><a rel=\"nofollow\"><\/a>\u53c2\u8003\u5173\u7cfb<\/h1>\n<p><img decoding=\"async\" src=\"https:\/\/img-blog.csdnimg.cn\/2b3f5f57a70c462ab43c6de62c0911cd.png?x-oss-process=image\/watermark,type_ZHJvaWRzYW5zZmFsbGJhY2s,shadow_50,text_Q1NETiBAUGFpbmUgWmVuZw==,size_20,color_FFFFFF,t_70,g_se,x_16\" class=\"aligncenter\"><br \/> \u8fd9\u8fd8\u662f\u5b98\u65b9\u6559\u7a0b\u4e2d\u7684\u4e24\u4e2a\u56fe\u7247\uff0c\u7b2c\u4e00\u5f20\u4ecb\u7ecd\u4e86solidworks\u6587\u4ef6\u4e4b\u95f4\u7684\u5f15\u7528\u65b9\u5411\u3002<br \/> \u8fd9\u5f20\u56fe\u53ef\u4ee5\u770b\u51fa\u6765\u5de5\u7a0b\u56fe\u662f\u6700\u9876\u7ea7\uff0c\u6240\u4ee5\u5bf9\u4e8e\u5de5\u7a0b\u56fe\u6765\u8bf4\uff0c\u6539\u540d\u5c31\u662f\u76f4\u63a5\u5728windows\u8d44\u6e90\u7ba1\u7406\u5668\u4e2d\u6539\u540d\u5c31\u53ef\u4ee5\u4e86\uff0c\u4e0d\u4f1a\u5f71\u54cd\u5b83\u7684\u627e\u4e0b\u7ea7\u96f6\u4ef6\u6216\u8005\u88c5\u914d\u4f53\u3002<br \/> \u5bf9\u4e8e\u96f6\u4ef6\u548c\u88c5\u914d\u4f53\uff0c\u5982\u679c\u4fee\u6539\u540d\u79f0\u5c31\u4f1a\u6bd4\u8f83\u9ebb\u70e6\uff0c\u56e0\u4e3a\u5f88\u53ef\u80fd\u5f15\u7528\u5b83\u7684\u56fe\u7eb8\u6216\u8005\u4e0a\u7ea7\u88c5\u914d\u5c31\u4f1a\u627e\u4e0d\u5230\u65e7\u7684\u6587\u4ef6\uff0c\u8fd9\u65f6solidworks\u5c31\u4f1a\u63d0\u793a\u4f60\u6587\u4ef6\u627e\u4e0d\u5230\u4e86\uff0c\u8ba9\u4f60\u544a\u8bc9\u5b83\u65b0\u7684\u540d\u79f0\u6216\u8005\u8def\u5f84\u3002 \u5f53\u7136solidworks\u4e5f\u6709\u4e2a\u9009\u9879\u53ef\u4ee5\u8bbe\u7f6e\u5728\u54ea\u4e9b\u8def\u5f84\u4e0b\u81ea\u52a8\u67e5\u627e\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/img-blog.csdnimg.cn\/0efc5456a9b242889c6fe48e5f650f49.png\" class=\"aligncenter\"><\/p>\n<p>solidworks\u627e\u53c2\u8003\u6587\u4ef6\u9ed8\u8ba4\u4f1a\u627e\u540c\u4e00\u7ea7\uff0c\u518d\u627e\u5f15\u7528\u8def\u5f84\u7684\u76f8\u5bf9\u8def\u5f84\uff0c\u518d\u627e\u7edd\u5bf9\u8def\u5f84\uff0c\u518d\u627e\u7528\u6237\u8bbe\u7f6e\u7684\u53c2\u8003\u6587\u4ef6\u8def\u5f84\u3002\uff08\u6211\u731c\u7684\uff09<br \/> \u6587\u4ef6\u7684\u6539\u540d\uff0c\u79fb\u52a8\u4f4d\u7f6e\u90fd\u4f1a\u5f71\u54cd\u53c2\u8003\uff0c\u6240\u4ee5\u8fd9\u4e5f\u662f\u4e3a\u4ec0\u4e48solidworks\u9700\u8981\u81ea\u5df1\u6709\u4e00\u5957\u6253\u5305\u6587\u4ef6\u6216\u8005\u6539\u540d\u7684\u529f\u80fd\u3002<br \/> \u5b83\u4f1a\u81ea\u52a8\u4fee\u6b63\u6587\u4ef6\u7684\u5f15\u7528\u3002<\/p>\n<h1><a rel=\"nofollow\"><\/a>\u6253\u5f00\u65b9\u5f0f<\/h1>\n<p><img decoding=\"async\" src=\"https:\/\/img-blog.csdnimg.cn\/f8312f63ed214bd49e8fbdd1d1b66820.png?x-oss-process=image\/watermark,type_ZHJvaWRzYW5zZmFsbGJhY2s,shadow_50,text_Q1NETiBAUGFpbmUgWmVuZw==,size_20,color_FFFFFF,t_70,g_se,x_16\" class=\"aligncenter\"><br \/> \u5728\u6253\u5f00\u6587\u4ef6\u7684\u5bf9\u8bdd\u6846\u4e2d\uff0c\u9009\u4e2d\u5bf9\u5e94\u7684solidworks\u6587\u4ef6\uff0c\u4e0b\u65b9\u4f1a\u51fa\u73b0\u4e00\u4e9b\u4e0d\u540c\u7684\u9009\u9879\uff0c\u8fd9\u4e9b\u53ef\u4ee5\u63a7\u5236\u6253\u5f00\u7684\u65b9\u5f0f\u3002<br \/> \u5f53\u524d\u8fd9\u4e9b\u662f\u6700\u57fa\u7840\u7684\u64cd\u4f5c\uff0c\u4f46\u6709\u4e9b\u4eba\u4e0d\u77e5\u9053\u3002<br \/> <img decoding=\"async\" src=\"https:\/\/img-blog.csdnimg.cn\/ed7d9b733a484d8cbe8a49bf6500f43f.png\" class=\"aligncenter\"><br \/> \u8fd9\u51e0\u4e2a\u9009\u9879\u7684\u5177\u4f53\u533a\u522b\u5927\u5bb6\u53ef\u4ee5\u67e5\u770b\u5b98\u65b9\u5e2e\u52a9\u8bf4\u660e:<br \/> <img decoding=\"async\" src=\"https:\/\/img-blog.csdnimg.cn\/dae25fce4b05458d91aedc7b74a16ad2.png\" class=\"aligncenter\"><br \/> \u6709\u4eba\u4f1a\u80af\u5b9a\u4f1a\u8bf4\uff0c\u53c8\u6765\u82f1\u6587\u3002<br \/> \u6ca1\u529e\u6cd5\uff0c\u8fd9\u53f0\u7535\u8111\u662f\u82f1\u6587\u7cfb\u7edf \u3002<br \/> \u4e0d\u8fc7\u5b98\u65b9\u6709\u5728\u7ebf\u7684\u5e2e\u52a9\uff0c\u53ef\u4ee5\u770b\u8fd9\u91cc\u3002<br \/> <a href=\"https:\/\/help.solidworks.com\/2018\/Chinese-Simplified\/SolidWorks\/sldworks\/AFX_HIDD_FILEOPEN.htm?id=cbc53a63627546abb87b99433a95eacd#Pg0\" target=\"_blank\" rel=\"nofollow noopener\">https:\/\/help.solidworks.com\/2018\/Chinese-Simplified\/SolidWorks\/sldworks\/AFX_HIDD_FILEOPEN.htm?id=cbc53a63627546abb87b99433a95eacd#Pg0<\/a><br \/> <img decoding=\"async\" src=\"https:\/\/img-blog.csdnimg.cn\/0159569c6c5142f99ec17afcff30fa79.png\" class=\"aligncenter\"><br \/> \u8fd9\u91cc\u9700\u8981\u8bf4\u660e\u7684\u662f\uff0c\u6b63\u5e38\u4f7f\u7528api\u7684\u65f6\u5019\u5176\u5b9e\u90fd\u662f\u8981\u4ee5Resolved\u65b9\u5f0f\u6253\u5f00\u6587\u4ef6\uff0c\u56e0\u4e3a\u4e0d\u52a0\u8f7d\u5230\u5185\u5b58\u4e2d\u7684\u8bdd\uff0c\u5f88\u591a\u4fe1\u606f\u662f\u63d0\u53d6\u4e0d\u5230\u7684\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/img-blog.csdnimg.cn\/9a49ac10c6d14b49b8bd34c2d45e1382.png\" class=\"aligncenter\"><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/img-blog.csdnimg.cn\/25ae80b7c64942b8b02b7aa4f6b539a7.png\" class=\"aligncenter\"><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/img-blog.csdnimg.cn\/2f1c7ecae4f94851b0da59a171d72070.png\" class=\"aligncenter\"><br \/> \u8fd9\u4e2a\u6253\u5f00\u4ee5\u4e4b\u524d\u7684\u6587\u7ae0\u89e3\u91ca\u8fc7\uff0c\u6211\u5c31\u4e0d\u5199\u4ee3\u7801\u4e86\u3002<\/p>\n<p>\u8fd9\u91cc\u6211\u4eec\u518d\u5173\u8054\u8bb2\u4e00\u4e0b\u5982\u4f55\u68c0\u67e5\u67d0\u4e2a\u5bf9\u8c61\u7684\u52a0\u8f7d\u72b6\u6001\u3002<\/p>\n<p>\u56e0\u4e3a\u5f88\u6709\u53ef\u80fd\u7528\u6237\u662f\u7528\u5927\u578b\u88c5\u914d\u4f53\uff0c\u6216\u8005\u8f7b\u5316\u6a21\u578b\u6253\u5f00\u4e86\u6a21\u578b\uff0c\u4f60\u8981\u7528\u4ee3\u7801\u8fdb\u884c\u64cd\u4f5c\u7684\u8bdd\u8981\u5148\u52a0\u8f7d\u5230\u5185\u5b58\u624d\u53ef\u4ee5\u3002<\/p>\n<p>\u6709\u4e2a\u65b9\u6cd5\u53ef\u4ee5\u83b7\u53d6\u672a\u52a0\u8f7d\u7684\u5b50\u4ef6\u3002<br \/> <img decoding=\"async\" src=\"https:\/\/img-blog.csdnimg.cn\/318d9e2648544a36825d15523d2618cf.png\" class=\"aligncenter\"><\/p>\n<p>Component\u91cc\u7684SetComponentState \u53ef\u4ee5\u53bb\u8bbe\u7f6e\u8bbe\u7f6e\u5bf9\u5e94\u7ec4\u4ef6\u7684\u72b6\u6001\u3002<br \/> <img decoding=\"async\" src=\"https:\/\/img-blog.csdnimg.cn\/94f170e4010046f8bb8830806cfb4332.png\" class=\"aligncenter\"><\/p>\n<p>\u4eca\u5929\u5c31\u4e0d\u5199\u4ee3\u7801\u4e86\uff0c\u592a\u7b80\u5355\u4e86\u3002<\/p>\n<p>          posted @<br \/>\n<span>2022-09-29 19:20<\/span>&nbsp;<br \/>\n<a href=\"https:\/\/www.cnblogs.com\/solidworksapi\/\" target=\"_blank\" rel=\"nofollow noopener\">painezeng<\/a>&nbsp; \u9605\u8bfb(<br \/>\n<span>0<\/span>)&nbsp; \u8bc4\u8bba(<br \/>\n<span>0<\/span>)&nbsp;<br \/>\n<a href=\"https:\/\/i.cnblogs.com\/EditPosts.aspx?postid=17369379\" 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> &nbsp;<br \/>\n<a href=\"\" target=\"_blank\" rel=\"nofollow noopener\">\u6765\u6e90<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>C# SolidWorks \u4e8c\u6b21\u5f00\u53d1 API-Solidworks\u6587\u4ef6\u5173\u7cfb\u4e0e\u6253\u5f00\u6587\u4ef6\u7684\u65b9\u5f0f \u4eca\u5929\u5728\u8349\u7a3f\u4e2d\u53d1\u73b0\u4e86 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":511,"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-510","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-solidworks-","category-solidworks","tag-api","tag-solidworks","tag-8"],"views":176,"_links":{"self":[{"href":"https:\/\/blog.ke-zhi.com\/index.php?rest_route=\/wp\/v2\/posts\/510","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=510"}],"version-history":[{"count":0,"href":"https:\/\/blog.ke-zhi.com\/index.php?rest_route=\/wp\/v2\/posts\/510\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.ke-zhi.com\/index.php?rest_route=\/wp\/v2\/media\/511"}],"wp:attachment":[{"href":"https:\/\/blog.ke-zhi.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=510"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.ke-zhi.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=510"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.ke-zhi.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=510"},{"taxonomy":"series","embeddable":true,"href":"https:\/\/blog.ke-zhi.com\/index.php?rest_route=%2Fwp%2Fv2%2Fseries&post=510"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}