﻿{"id":36210,"date":"2012-03-14T10:32:00","date_gmt":"2012-03-14T02:32:00","guid":{"rendered":"http:\/\/www.lanmaowang.com\/?p=36210"},"modified":"2015-04-01T22:44:23","modified_gmt":"2015-04-01T14:44:23","slug":"delphi-secondary-development-of-autocad-ii-a-simple-program","status":"publish","type":"post","link":"http:\/\/www.lanmaowang.com\/?p=36210","title":{"rendered":"Delphi\u4e8c\u6b21\u5f00\u53d1AutoCAD\uff08\u4e8c\uff09\u2014\u4e00\u4e2a\u7b80\u5355\u7684\u7a0b\u5e8f"},"content":{"rendered":"<p class=\"MsoNormal\" style=\"text-align:left; line-height: 150%; text-indent: 24pt; mso-char-indent-count: 2.0\"><span style=\"line-height: 150%; font-family: \u5b8b\u4f53; color: black; font-size: 12pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: \u5b8b\u4f53; mso-fareast-theme-font: minor-fareast; mso-bidi-font-family: \u5b8b\u4f53; mso-font-kerning: 0pt\">\u5728\u6df1\u5165\u5b66\u4e60\u4e4b\u524d\uff0c\u6211\u4eec\u9996\u5148\u901a\u8fc7\u4e00\u4e2a\u7b80\u5355\u7684\u7a0b\u5e8f\u4f8b\u5b50\u6765\u770b\u4e00\u4e0bDelphi\u5bf9AutoCAD\u4e8c\u6b21\u5f00\u53d1\u6709\u4ec0\u4e48\u6837\u7684\u6548\u679c\u3002\u672c\u7a0b\u5e8f\u5b9e\u73b0AutoCAD\u7a0b\u5e8f\u7684\u6253\u5f00\u548c\u5173\u95ed\u3002<span lang=\"EN-US\"><o:p><\/o:p><\/span><\/span><\/p>\n<p class=\"MsoNormal\" style=\"text-align:left;\"><strong style=\"mso-bidi-font-weight: normal\"><span lang=\"EN-US\" style=\"font-family: \u5b8b\u4f53; font-size: 14pt; mso-fareast-font-family: \u5b8b\u4f53; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-fareast; mso-hansi-theme-font: minor-fareast\">1.1 Delphi\u4e0eAutoCAD\u8fde\u63a5<span lang=\"EN-US\"><o:p><\/o:p><\/span><\/span><\/strong><\/p>\n<p class=\"MsoNormal\" style=\"text-align:left; line-height: 150%; text-indent: 24pt; mso-char-indent-count: 2.0\"><span style=\"line-height: 150%; font-family: \u5b8b\u4f53; color: black; font-size: 12pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: \u5b8b\u4f53; mso-fareast-theme-font: minor-fareast; mso-bidi-font-family: \u5b8b\u4f53; mso-font-kerning: 0pt\">\u5728\u7a0b\u5e8f\u4e0eAutoCAD\u8fdb\u884c\u63a7\u5236\u7684\u65f6\u5019\uff0c\u5fc5\u987b\u8981\u901a\u8fc7\u4e00\u4e2a\u6865\u6881\uff0c\u800c\u8fd9\u4e2a\u6865\u6881\u9700\u8981\u901a\u8fc7\u6211\u4eec\u7684\u4ee3\u7801\u6765\u5b9e\u73b0\u3002\u53ea\u6709\u5b9e\u73b0\u4e86\u7a0b\u5e8f\u4e0eAutoCAD\u4e4b\u95f4\u7684\u901a\u8baf\uff0c\u624d\u80fd\u8fdb\u884c\u4e0b\u4e00\u6b65\u7684\u5de5\u4f5c\u3002\u518d\u6b21\u6211\u4eec\u4e3a\u60a8\u63d0\u4f9b\u4e00\u4e2a<span lang=\"EN-US\">Delphi<\/span>\u8fde\u63a5AutoCAD\u7684\u6837\u677f\u4ee3\u7801\uff0c\u6bcf\u6b21\u8fdb\u884c\u5f00\u53d1\u7684\u65f6\u5019\u60a8\u53ef\u4ee5\u901a\u8fc7\u4fee\u6539\u6b64\u4ee3\u7801\u6765\u5b9e\u73b0\u4e0eAutoCAD\u4e4b\u95f4\u7684\u8fde\u63a5\u3002<span lang=\"EN-US\"><o:p><\/o:p><\/span><\/span><\/p>\n<p class=\"MsoNormal\" style=\"text-align:left; line-height: 150%; text-indent: 24pt; mso-char-indent-count: 2.0\"><span style=\"line-height: 150%; font-family: \u5b8b\u4f53; color: black; font-size: 12pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: \u5b8b\u4f53; mso-fareast-theme-font: minor-fareast; mso-bidi-font-family: \u5b8b\u4f53; mso-font-kerning: 0pt\">\u65b0\u5efa\u4e00\u4e2a\u5de5\u7a0b\uff0c\u5728\u7a97\u4f53\u4e0a\u6dfb\u52a0<span lang=\"EN-US\">TAcadObject<\/span>\u548c\u4e24\u4e2a\u4e2a\u6309\u94ae\u63a7\u4ef6\uff0c\u5206\u522b\u4e3a\u4e24\u4e2a\u6309\u94ae\u547d\u540d\u4e3a\u6253\u5f00\u548c\u5173\u95ed\u3002\u6b64\u65f6\u5728\u4ee3\u7801\u5f15\u7528\u90e8\u5206\u7a0b\u5e8f\u4f1a\u81ea\u52a8\u6dfb\u52a0\u4e00\u4e0b\u4e24\u4e2a\u5f15\u7528\uff1a<span lang=\"EN-US\">OleServer, AutoCAD_TLB<\/span>\u3002<\/span><\/p>\n<p class=\"MsoNormal\" style=\"text-align: center; line-height: 150%; text-indent: 24pt; mso-char-indent-count: 2.0\"><span style=\"line-height: 150%; font-family: \u5b8b\u4f53; color: black; font-size: 12pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: \u5b8b\u4f53; mso-fareast-theme-font: minor-fareast; mso-bidi-font-family: \u5b8b\u4f53; mso-font-kerning: 0pt\"><img decoding=\"async\" loading=\"lazy\" border=\"0\" src=\"http:\/\/www.lanmaowang.com\/wp-content\/uploads\/2015\/03\/2012031481947097.jpg\" width=\"392\" height=\"207\" vspace=\"0\" title=\"\" alt=\"\" style=\"width: 392px; height: 207px;\"\/><\/span><\/p>\n<p class=\"MsoNormal\" style=\"text-align:left; line-height: 150%; text-indent: 24pt; mso-char-indent-count: 2.0\"><span style=\"line-height: 150%; font-family: \u5b8b\u4f53; color: black; font-size: 12pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: \u5b8b\u4f53; mso-fareast-theme-font: minor-fareast; mso-bidi-font-family: \u5b8b\u4f53; mso-font-kerning: 0pt\">\u4ee3\u7801\u5982\u4e0b\uff1a<span lang=\"EN-US\"><o:p><\/o:p><\/span><\/span><\/p>\n<p class=\"MsoNormal\" style=\"text-align:left; text-indent: 18pt; mso-char-indent-count: 2.0\"><span lang=\"EN-US\" style=\"font-family: \u5b8b\u4f53; color: black; font-size: 9pt; mso-fareast-font-family: \u5b8b\u4f53; mso-fareast-theme-font: minor-fareast; mso-bidi-font-family: \u5b8b\u4f53; mso-font-kerning: 0pt\"><\/span><\/p>\n<pre class=\"brush:delphi;toolbar:false\">uses\r\nComObj;\/\/Delphi\u5f00\u53d1AutoCAD\u5229\u7528\u7684\u662fCOM\u7f16\u7a0b\uff0c\u5728\u8fd9\u91cc\u9700\u8981\u6dfb\u52a0COM\u5bf9\u8c61\r\n\/\/\u5b9a\u4e49\u5168\u5c40\u53d8\u91cf\r\nvar\r\n&nbsp;&nbsp;acad:AcadApplication;\r\n\/\/\u6253\u5f00CAD\u7a97\u53e3\r\nprocedure&nbsp;Tfrm_AutoCAD.bt_openClick(Sender:&nbsp;TObject);\r\nbegin\r\n&nbsp;&nbsp;acad:=CreateOLEObject(&#39;AutoCAD.Application.17&#39;)as&nbsp;AcadApplication;\r\n&nbsp;&nbsp;\/\/\u5728\u8fd9\u91cc\u6211\u4eec\u5229\u7528CreateOLEObjec\u51fd\u6570\u6765\u521b\u5efa\u65b0\u7684AutoCAD\uff0c\u4ece\u800c\u5b9e\u73b0\u6253\u5f00AutoCAD\u3002\r\n&nbsp;&nbsp;acad.Visible:=True;\r\n&nbsp;&nbsp;\/\/\u521b\u5efa\u4e86CAD\u9700\u8981\u5bf9CAD\u7684\u53ef\u89c1\u6027\u8fdb\u884c\u5b9a\u4e49\uff0c\u5982\u679c\u6ca1\u6709\u8fd9\u4e00\u6761\uff0cCAD\u5c06\u4e0d\u4ee5\u7a97\u53e3\u5f62\u5f0f\u663e\u73b0\u3002\r\nend;\r\n\/\/\u5173\u95edCAD\u7a97\u53e3\r\nprocedure&nbsp;Tfrm_AutoCAD.bt_closeClick(Sender:&nbsp;TObject);\r\nbegin\r\n&nbsp;&nbsp;try\r\n&nbsp;&nbsp;&nbsp;&nbsp;acad:=GetActiveOleObject(&#39;AutoCAD.Application.17&#39;)as&nbsp;AcadApplication;\r\n\/\/\u83b7\u5f97\u6d3b\u52a8\u7684CAD\u5bf9\u8c61\r\n&nbsp;&nbsp;&nbsp;&nbsp;acad.Quit;\r\n&nbsp;&nbsp;except\r\n&nbsp;&nbsp;&nbsp;&nbsp;MessageBox(Handle,&#39;AutoCAD\u6ca1\u6709\u8fd0\u884c&#39;,&#39;\u63d0\u793a&#39;,MB_OK+MB_iconinformation);\r\n&nbsp;&nbsp;end;\r\nend;<\/pre>\n<p class=\"MsoNormal\" style=\"text-align:left; text-indent: 18pt; mso-char-indent-count: 2.0\"><span lang=\"EN-US\" style=\"font-family: \u5b8b\u4f53; color: black; font-size: 9pt; mso-fareast-font-family: \u5b8b\u4f53; mso-fareast-theme-font: minor-fareast; mso-bidi-font-family: \u5b8b\u4f53; mso-font-kerning: 0pt\"><o:p><\/o:p><\/span><\/p>\n<p class=\"MsoNormal\" style=\"text-align:left;\"><strong style=\"mso-bidi-font-weight: normal\"><span lang=\"EN-US\" style=\"font-family: \u5b8b\u4f53; font-size: 14pt; mso-fareast-font-family: \u5b8b\u4f53; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-fareast; mso-hansi-theme-font: minor-fareast\">1.2 Delphi<\/span><\/strong><strong style=\"mso-bidi-font-weight: normal\"><span style=\"font-family: \u5b8b\u4f53; font-size: 14pt; mso-fareast-font-family: \u5b8b\u4f53; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-fareast; mso-hansi-theme-font: minor-fareast\">\u4e0eAutoCAD\u8fde\u63a5\u7684\u6837\u677f\u4ee3\u7801<span lang=\"EN-US\"><o:p><\/o:p><\/span><\/span><\/strong><\/p>\n<p class=\"MsoNormal\" style=\"text-align:left; line-height: 150%; text-indent: 24pt; mso-char-indent-count: 2.0\"><span style=\"line-height: 150%; font-family: \u5b8b\u4f53; color: black; font-size: 12pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: \u5b8b\u4f53; mso-fareast-theme-font: minor-fareast; mso-bidi-font-family: \u5b8b\u4f53; mso-font-kerning: 0pt\">\u901a\u8fc7\u4e0a\u9762\u7684\u7a0b\u5e8f\uff0c\u6211\u4eec\u5df2\u7ecf\u521d\u6b65\u638c\u63e1\u4e86\u4e0eAutoCAD\u7684\u8fde\u63a5\u65b9\u5f0f\u3002\u5728\u4e0a\u9762\u7684\u4ee3\u7801\u4e2d\uff0c\u6211\u4eec\u4e3b\u8981\u901a\u8fc7\u4e24\u4e2a\u51fd\u6570\uff08<span lang=\"EN-US\">CreateOLEObject<\/span>\uff0c<span lang=\"EN-US\">GetActiveOleObject<\/span>\uff09\u6765\u5b9e\u73b0\u4e0eAutoCAD\u7684\u521b\u5efa\u3001\u8fde\u63a5\u3002<span lang=\"EN-US\"><o:p><\/o:p><\/span><\/span><\/p>\n<p class=\"MsoNormal\" style=\"text-align:left; line-height: 150%; text-indent: 24pt; mso-char-indent-count: 2.0\"><span style=\"line-height: 150%; font-family: \u5b8b\u4f53; color: black; font-size: 12pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: \u5b8b\u4f53; mso-fareast-theme-font: minor-fareast; mso-bidi-font-family: \u5b8b\u4f53; mso-font-kerning: 0pt\">\u5982\u679c<span lang=\"EN-US\"> AutoCAD <\/span>\u6b63\u5728\u8fd0\u884c\uff0c\u5e76\u6307\u5b9a<span lang=\"EN-US\"> AutoCAD <\/span>\u7248\u672c\u53f7\u65f6\uff0c<span lang=\"EN-US\">GetActiveOleObject<\/span>\u51fd\u6570\u5c06\u68c0\u7d22<span lang=\"EN-US\"> AutoCAD Application <\/span>\u5bf9\u8c61\u3002\u5982\u679cAutoCAD\u6ca1\u6709\u8fd0\u884c\uff0c\u5219\u4f1a\u8fd4\u56de\u4e00\u4e2a\u9519\u3002\u540c\u65f6\u8fd0\u884c\u591a\u4e2a<span lang=\"EN-US\"> AutoCAD <\/span>\u4efb\u52a1\u65f6\uff0c <span lang=\"EN-US\">GetActiveOleObject<\/span>\u51fd\u6570\u4f1a\u8fd4\u56de<span lang=\"EN-US\"> Windows <\/span>\u8fd0\u884c\u5bf9\u8c61\u8868\u4e2d\u7684\u7b2c\u4e00\u4e2a<span lang=\"EN-US\"> AutoCAD <\/span>\u5b9e\u4f8b\u3002<span lang=\"EN-US\"><o:p><\/o:p><\/span><\/span><\/p>\n<p class=\"MsoNormal\" style=\"text-align:left; line-height: 150%; text-indent: 24pt; mso-char-indent-count: 2.0\"><span lang=\"EN-US\" style=\"line-height: 150%; font-family: \u5b8b\u4f53; color: black; font-size: 12pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: \u5b8b\u4f53; mso-fareast-theme-font: minor-fareast; mso-bidi-font-family: \u5b8b\u4f53; mso-font-kerning: 0pt\">CreateObject <\/span><span style=\"line-height: 150%; font-family: \u5b8b\u4f53; color: black; font-size: 12pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: \u5b8b\u4f53; mso-fareast-theme-font: minor-fareast; mso-bidi-font-family: \u5b8b\u4f53; mso-font-kerning: 0pt\">\u51fd\u6570\u63a5\u7740\u4f1a\u8bd5\u56fe\u521b\u5efa\u4e00\u4e2a<span lang=\"EN-US\"> AutoCAD Application <\/span>\u5bf9\u8c61\u3002\u5982\u679c\u521b\u5efa\u6210\u529f\uff0c\u4f1a\u542f\u52a8<span lang=\"EN-US\"> AutoCAD<\/span>\uff1b\u5982\u679c\u5931\u8d25\uff0c\u5219\u4f1a\u663e\u793a\u4e00\u4e2a\u6d88\u606f\u6846\uff0c\u8bf4\u660e\u53d1\u751f\u7684\u9519\u8bef\u3002\u8981\u663e\u793a<span lang=\"EN-US\"> AutoCAD <\/span>\u56fe\u5f62\u7a97\u53e3\uff0c\u5fc5\u987b\u5c06<span lang=\"EN-US\"> AutoCAD <\/span>\u5e94\u7528\u7a0b\u5e8f\u7684<span lang=\"EN-US\"> Visible <\/span>\u7279\u6027\u8bbe\u7f6e\u4e3a<span lang=\"EN-US\"> TRUE<\/span>\u3002\u5982\u679c\u6ca1\u6709\u5c06<span lang=\"EN-US\"> Visible<\/span>\u5c5e\u6027\u8bbe\u7f6e\u4e3a<span lang=\"EN-US\"> TRUE <\/span>\u5c06\u4f1a\u5bfc\u81f4<span lang=\"EN-US\"> AutoCAD <\/span>\u5e94\u7528\u7a0b\u5e8f\u4e0d\u53ef\u89c1\uff0c\u751a\u81f3<span lang=\"EN-US\"> AutoCAD <\/span>\u4e0d\u5728<span lang=\"EN-US\"> Windows <\/span>\u4efb\u52a1\u680f\u4e0a\u663e\u793a\u3002<span lang=\"EN-US\"><o:p><\/o:p><\/span><\/span><\/p>\n<p class=\"MsoNormal\" style=\"text-align:left; line-height: 150%; text-indent: 24pt; mso-char-indent-count: 2.0\"><span style=\"line-height: 150%; font-family: \u5b8b\u4f53; color: black; font-size: 12pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: \u5b8b\u4f53; mso-fareast-theme-font: minor-fareast; mso-bidi-font-family: \u5b8b\u4f53; mso-font-kerning: 0pt\">\u4e0b\u9762\u4ee3\u7801\u662f\u7b14\u8005\u5229\u7528<span lang=\"EN-US\">Delphi<\/span>\u5bf9AutoCAD\u8fdb\u884c\u4e8c\u6b21\u5f00\u53d1\u7684\u65f6\u5019\u4f7f\u7528\u7684\u4e00\u4e2a\u6837\u677f\u4ee3\u7801\uff0c\u5b9e\u73b0\u5bf9AutoCAD\u7684\u521b\u5efa\u4e0e\u8fde\u63a5\u3002\u4f60\u53ef\u4ee5\u6839\u636e\u5b9e\u9645\u60c5\u51b5\u4fee\u6539\u8be5\u4ee3\u7801\uff0c\u4f46\u662f\u5728\u4e00\u822c\u60c5\u51b5\u4e0b\u6b21\u4ee3\u7801\u901a\u7528\u3002\u4ee3\u7801\u5982\u4e0b<span lang=\"EN-US\">;<o:p><\/o:p><\/span><\/span><\/p>\n<p class=\"MsoNormal\" style=\"text-align:left; text-indent: 18pt; mso-char-indent-count: 2.0\"><span lang=\"EN-US\" style=\"font-family: \u5b8b\u4f53; color: black; font-size: 9pt; mso-fareast-font-family: \u5b8b\u4f53; mso-fareast-theme-font: minor-fareast; mso-bidi-font-family: \u5b8b\u4f53; mso-font-kerning: 0pt\"><\/span><\/p>\n<pre class=\"brush:delphi;toolbar:false\">uses\r\n&nbsp;&nbsp;AutoCAD_TLB,&nbsp;ComObj,\/\/\u6dfb\u52a0\u5f15\u7528\r\nvar\r\nacad:AcadApplication;\/\/\u5b9a\u4e49\u5168\u5c40\u53d8\u91cf\uff0cacad\u53ef\u4ee5\u968f\u4fbf\u5b9a\u4e49\uff0c\u4f46\u662f\u4e0d\u8981\u4e0e\u5173\u952e\u8bcd\u51b2\u7a81\r\nprocedure&nbsp;TForm1.FormShow(Sender:&nbsp;TObject);\/\/\u4e5f\u53ef\u4ee5\u5728FormCreate\u7684\u65f6\u5019\u52a0\u5165\u4e0b\u9762\u4ee3\u7801\r\nbegin\r\ntry\r\n&nbsp;&nbsp;&nbsp;&nbsp;acad:=GetActiveOleObject(&#39;AutoCAD.Application.17&#39;)&nbsp;as&nbsp;AcadApplication;\r\n&nbsp;&nbsp;&nbsp;&nbsp;acad.Visible:=True;\r\n&nbsp;&nbsp;except\r\n&nbsp;&nbsp;&nbsp;&nbsp;acad:=CreateOLEObject(&#39;AutoCAD.Application.17&#39;)as&nbsp;AcadApplication;\r\n&nbsp;&nbsp;&nbsp;&nbsp;acad.Visible:=True;\r\n&nbsp;&nbsp;end;\r\nend;<\/pre>\n<p class=\"MsoNormal\" style=\"text-align:left; text-indent: 18pt; mso-char-indent-count: 2.0\"><span lang=\"EN-US\" style=\"font-family: \u5b8b\u4f53; color: black; font-size: 9pt; mso-fareast-font-family: \u5b8b\u4f53; mso-fareast-theme-font: minor-fareast; mso-bidi-font-family: \u5b8b\u4f53; mso-font-kerning: 0pt\"><o:p><\/o:p><\/span><\/p>\n<p class=\"MsoNormal\" style=\"text-align:left; line-height: 150%; text-indent: 24.1pt; mso-char-indent-count: 2.0\"><strong style=\"mso-bidi-font-weight: normal\"><span style=\"line-height: 150%; font-family: \u5b8b\u4f53; color: black; font-size: 12pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: \u5b8b\u4f53; mso-fareast-theme-font: minor-fareast; mso-bidi-font-family: \u5b8b\u4f53; mso-font-kerning: 0pt\">\u6ce8\u610f<span lang=\"EN-US\">:<\/span><\/span><\/strong><span style=\"line-height: 150%; font-family: \u5b8b\u4f53; color: black; font-size: 12pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: \u5b8b\u4f53; mso-fareast-theme-font: minor-fareast; mso-bidi-font-family: \u5b8b\u4f53; mso-font-kerning: 0pt\">\u5982\u679c<span lang=\"EN-US\">CreateOLEObject<\/span>\u6216<span lang=\"EN-US\">GetActiveOleObjec<\/span>\u51fd\u6570\u4f7f\u7528\u7684\u662f\u72ec\u7acb\u4e8e\u7248\u672c\u7684<span lang=\"EN-US\"> ProgID<\/span>\uff0c\u5219\u5c06\u51fd\u6570\u66f4\u6539\u4e3a\u4f7f\u7528\u4f9d\u8d56\u4e8e\u7248\u672c\u7684<span lang=\"EN-US\"> ProgID<\/span>\u3002\u4f8b\u5982\uff0c\u5982\u679c\u4f7f\u7528\u7684\u662f<span lang=\"EN-US\">CreateOLEObject<\/span>\uff0c\u8bf7\u5c06 <span lang=\"EN-US\">CreateOLEObject (&quot;AutoCAD.Application&quot;) <\/span>\u66f4\u6539\u4e3a<span lang=\"EN-US\"> CreateObject (&quot;AutoCAD.Application.17&quot;)<\/span>\u3002<span lang=\"EN-US\"><o:p><\/o:p><\/span><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5728\u6df1\u5165\u5b66\u4e60\u4e4b\u524d\uff0c\u6211\u4eec\u9996\u5148\u901a\u8fc7\u4e00\u4e2a\u7b80\u5355\u7684\u7a0b\u5e8f\u4f8b\u5b50\u6765\u770b\u4e00\u4e0bDelphi\u5bf9AutoCAD\u4e8c\u6b21\u5f00\u53d1\u6709\u4ec0\u4e48\u6837\u7684\u6548\u679c\u3002\u672c\u7a0b [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":36146,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[193],"tags":[194,198,211],"_links":{"self":[{"href":"http:\/\/www.lanmaowang.com\/index.php?rest_route=\/wp\/v2\/posts\/36210"}],"collection":[{"href":"http:\/\/www.lanmaowang.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.lanmaowang.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.lanmaowang.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.lanmaowang.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=36210"}],"version-history":[{"count":1,"href":"http:\/\/www.lanmaowang.com\/index.php?rest_route=\/wp\/v2\/posts\/36210\/revisions"}],"predecessor-version":[{"id":36211,"href":"http:\/\/www.lanmaowang.com\/index.php?rest_route=\/wp\/v2\/posts\/36210\/revisions\/36211"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/www.lanmaowang.com\/index.php?rest_route=\/wp\/v2\/media\/36146"}],"wp:attachment":[{"href":"http:\/\/www.lanmaowang.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=36210"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.lanmaowang.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=36210"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.lanmaowang.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=36210"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}