{"id":23089,"date":"2025-11-19T08:30:00","date_gmt":"2025-11-18T23:30:00","guid":{"rendered":"https:\/\/happy-man.jp\/engineer\/?p=23089"},"modified":"2025-11-18T09:43:11","modified_gmt":"2025-11-18T00:43:11","slug":"autocad-lisp%e9%96%8b%e7%99%ba%e3%83%96%e3%83%ad%e3%82%b0%ef%bc%9a%e5%ba%a7%e6%a8%99%e3%83%87%e3%83%bc%e3%82%bf%e3%81%8b%e3%82%89%e6%8a%98%e3%82%8c%e7%b7%9a%e3%82%b0%e3%83%a9%e3%83%95%e3%82%92","status":"publish","type":"post","link":"https:\/\/happy-man.jp\/engineer\/?p=23089","title":{"rendered":"AutoCAD LISP\u958b\u767a\u30d6\u30ed\u30b0\uff1a\u5ea7\u6a19\u30c7\u30fc\u30bf\u304b\u3089\u6298\u308c\u7dda\u30b0\u30e9\u30d5\u3092\u81ea\u52d5\u4f5c\u56f3\u3059\u308b\u9053\u306e\u308a\uff08NotebookLM\u4f5c\u6210\uff09"},"content":{"rendered":"\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_91 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/happy-man.jp\/engineer\/?p=23089\/#0Google%E3%81%8C%E5%87%BA%E3%81%97%E3%81%A6%E3%81%84%E3%82%8B%E3%80%81NotebookLM%E3%81%A8%E3%81%84%E3%81%86%E3%82%A2%E3%83%97%E3%83%AA%E3%81%A7%E3%83%96%E3%83%AD%E3%82%B0%E3%81%AE%E8%A8%98%E4%BA%8B%E3%82%92%E6%9B%B8%E3%81%84%E3%81%A6%E3%82%82%E3%82%89%E3%81%A3%E3%81%9F%E3%80%82\" >0.Google\u304c\u51fa\u3057\u3066\u3044\u308b\u3001NotebookLM\u3068\u3044\u3046\u30a2\u30d7\u30ea\u3067\u30d6\u30ed\u30b0\u306e\u8a18\u4e8b\u3092\u66f8\u3044\u3066\u3082\u3089\u3063\u305f\u3002<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/happy-man.jp\/engineer\/?p=23089\/#1_%E9%96%8B%E7%99%BA%E3%81%AE%E5%8B%95%E6%A9%9F%EF%BC%9A%E3%81%AA%E3%81%9CLISP%E3%81%AB%E3%82%88%E3%82%8B%E8%87%AA%E5%8B%95%E5%8C%96%E3%81%8C%E5%BF%85%E8%A6%81%E3%81%A0%E3%81%A3%E3%81%9F%E3%81%8B%EF%BC%9F\" >1. \u958b\u767a\u306e\u52d5\u6a5f\uff1a\u306a\u305cLISP\u306b\u3088\u308b\u81ea\u52d5\u5316\u304c\u5fc5\u8981\u3060\u3063\u305f\u304b\uff1f<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/happy-man.jp\/engineer\/?p=23089\/#%E6%89%8B%E5%8B%95%E3%81%A7%E3%81%AE%E4%BD%9C%E5%9B%B3%E3%81%AE%E8%AA%B2%E9%A1%8C\" >\u624b\u52d5\u3067\u306e\u4f5c\u56f3\u306e\u8ab2\u984c<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/happy-man.jp\/engineer\/?p=23089\/#2_%E3%82%B9%E3%83%86%E3%83%83%E3%83%971%EF%BC%9A%E5%9F%BA%E6%9C%AC%E7%9A%84%E3%81%AALISP%E4%BD%9C%E5%9B%B3%E6%A9%9F%E8%83%BD%E3%81%AE%E5%AE%9F%E7%8F%BE%EF%BC%88%E5%86%85%E9%83%A8%E3%83%87%E3%83%BC%E3%82%BF%E7%89%88%EF%BC%89\" >2. \u30b9\u30c6\u30c3\u30d71\uff1a\u57fa\u672c\u7684\u306aLISP\u4f5c\u56f3\u6a5f\u80fd\u306e\u5b9f\u73fe\uff08\u5185\u90e8\u30c7\u30fc\u30bf\u7248\uff09<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/happy-man.jp\/engineer\/?p=23089\/#3_%E3%82%B9%E3%83%86%E3%83%83%E3%83%972%EF%BC%9A%E5%AE%9F%E7%94%A8%E6%80%A7%E5%90%91%E4%B8%8A_%E2%80%94_%E5%A4%96%E9%83%A8%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB%E3%81%8B%E3%82%89%E3%81%AE%E3%83%87%E3%83%BC%E3%82%BF%E8%AA%AD%E3%81%BF%E8%BE%BC%E3%81%BF\" >3. \u30b9\u30c6\u30c3\u30d72\uff1a\u5b9f\u7528\u6027\u5411\u4e0a \u2014 \u5916\u90e8\u30d5\u30a1\u30a4\u30eb\u304b\u3089\u306e\u30c7\u30fc\u30bf\u8aad\u307f\u8fbc\u307f<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/happy-man.jp\/engineer\/?p=23089\/#4_%E3%82%B9%E3%83%86%E3%83%83%E3%83%973%EF%BC%9A%E3%82%B0%E3%83%A9%E3%83%95%E4%BB%95%E6%A7%98%E3%81%AE%E6%98%8E%E7%A2%BA%E5%8C%96%E3%81%A8%E7%89%B9%E6%AE%8A%E6%A9%9F%E8%83%BD%E3%81%AE%E8%BF%BD%E5%8A%A0\" >4. \u30b9\u30c6\u30c3\u30d73\uff1a\u30b0\u30e9\u30d5\u4ed5\u69d8\u306e\u660e\u78ba\u5316\u3068\u7279\u6b8a\u6a5f\u80fd\u306e\u8ffd\u52a0<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/happy-man.jp\/engineer\/?p=23089\/#5_%E3%81%BE%E3%81%A8%E3%82%81\" >5. \u307e\u3068\u3081<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"0Google%E3%81%8C%E5%87%BA%E3%81%97%E3%81%A6%E3%81%84%E3%82%8B%E3%80%81NotebookLM%E3%81%A8%E3%81%84%E3%81%86%E3%82%A2%E3%83%97%E3%83%AA%E3%81%A7%E3%83%96%E3%83%AD%E3%82%B0%E3%81%AE%E8%A8%98%E4%BA%8B%E3%82%92%E6%9B%B8%E3%81%84%E3%81%A6%E3%82%82%E3%82%89%E3%81%A3%E3%81%9F%E3%80%82\"><\/span>0.Google\u304c\u51fa\u3057\u3066\u3044\u308b\u3001NotebookLM\u3068\u3044\u3046\u30a2\u30d7\u30ea\u3067\u30d6\u30ed\u30b0\u306e\u8a18\u4e8b\u3092\u66f8\u3044\u3066\u3082\u3089\u3063\u305f\u3002<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Google\u304c\u51fa\u3057\u3066\u3044\u308bAI\u3068\u3044\u3048\u3070Gemini\u306a\u306e\u3060\u304c\u3001\u3082\u3046\u3072\u3068\u3064\u5c11\u3057\u8996\u70b9\u306e\u3061\u304c\u3063\u305f\u30c4\u30fc\u30eb\u306bNotebookLM\u3068\u3044\u3046\u306e\u304c\u5b58\u5728\u3059\u308b\u3002<br><a href=\"https:\/\/notebooklm.google\/\">Google NotebookLM | AI \u30ea\u30b5\u30fc\u30c1\u30c4\u30fc\u30eb\uff06\u601d\u8003\u30d1\u30fc\u30c8\u30ca\u30fc<\/a><br>\u4f7f\u3044\u9053\u3092\u8003\u3048\u3042\u3050\u306d\u3066\u3044\u305f\u306e\u3067\u3059\u304c\u3001\u5148\u65e5Gemini\u306b\u304a\u3044\u3066AutoCAD\u306eLISP\u4f5c\u6210\u306e\u3084\u308a\u3068\u308a\u3092NotebokLM\u306b\u4ed5\u8fbc\u3093\u3067\u3001\u3053\u306e\u8a71\u984c\u3067\u30d6\u30ed\u30b0\u306e\u8a18\u4e8b\u3092\u66f8\u3044\u3066\u3068\u304a\u9858\u3044\u3057\u305f\u3089\u3001\u4ee5\u4e0b\u306e\u3082\u306e\u3092\u5410\u304d\u51fa\u3057\u307e\u3057\u305f\u3002<br>\u3042\u3041\u306a\u3093\u304b\u3082\u3046\u3053\u3046\u8a00\u3046\u3082\u306e\u3092\u3075\u3093\u3060\u3093\u306b\u5229\u7528\u3059\u308b\u6642\u4ee3\u306b\u7a81\u5165\u3057\u3066\u3044\u308b\u306e\u3060\u308d\u3046\u304b\uff1f<br>\u3067\u3082\u4eba\u9593\u306f\u30dc\u30b1\u308b\u4e00\u65b9\u3060\u306a\u3068\u601d\u3044\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/happy-man.jp\/engineer\/?p=23082\">\u4e0b\u65b9\u5411\u304d\u306e\u6298\u308c\u7dda\u30b0\u30e9\u30d5\uff08N\u5024\uff09\u306eLISP\u3092Gemini\uff08AI\uff09\u306b\u4f5c\u3063\u3066\u3082\u3089\u3063\u305f | \u5730\u8cea\u5c4b\u3055\u3093\u3068\u547c\u3070\u306a\u3044\u3067<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"1_%E9%96%8B%E7%99%BA%E3%81%AE%E5%8B%95%E6%A9%9F%EF%BC%9A%E3%81%AA%E3%81%9CLISP%E3%81%AB%E3%82%88%E3%82%8B%E8%87%AA%E5%8B%95%E5%8C%96%E3%81%8C%E5%BF%85%E8%A6%81%E3%81%A0%E3%81%A3%E3%81%9F%E3%81%8B%EF%BC%9F\"><\/span>1. \u958b\u767a\u306e\u52d5\u6a5f\uff1a\u306a\u305cLISP\u306b\u3088\u308b\u81ea\u52d5\u5316\u304c\u5fc5\u8981\u3060\u3063\u305f\u304b\uff1f<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">AutoCAD\u3067\u6298\u308c\u7dda\u30b0\u30e9\u30d5\u3092\u4f5c\u6210\u3059\u308b\u65b9\u6cd5\u306f\u3044\u304f\u3064\u304b\u3042\u308a\u307e\u3059\u304c\u3001\u624b\u52d5\u3067\u306e\u4f5c\u56f3\u306b\u306f\u9650\u754c\u304c\u3042\u308a\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E6%89%8B%E5%8B%95%E3%81%A7%E3%81%AE%E4%BD%9C%E5%9B%B3%E3%81%AE%E8%AA%B2%E9%A1%8C\"><\/span>\u624b\u52d5\u3067\u306e\u4f5c\u56f3\u306e\u8ab2\u984c<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u2022&nbsp;\u57fa\u6e96\u7dda\u3084\u76ee\u76db\u308a\u3092<code>LINE<\/code>\u3084<code>ARRAY<\/code>\/<code>COPY<\/code>\u30b3\u30de\u30f3\u30c9\u3067\u624b\u52d5\u4f5c\u6210\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u2022&nbsp;\u6298\u308c\u7dda\u3092\u63cf\u753b\u3059\u308b\u305f\u3081\u306b\u3001<code>PLINE<\/code>\u30b3\u30de\u30f3\u30c9\u4e2d\u306b\u5ea7\u6a19\u3092\u4e00\u3064\u305a\u3064\u5165\u529b\u3059\u308b\u304b\u3001\u30af\u30ea\u30c3\u30af\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u2022&nbsp;\u30c7\u30fc\u30bf\u91cf\u304c\u591a\u3044\u5834\u5408\u3001\u624b\u52d5\u3067\u306e\u5ea7\u6a19\u5165\u529b\u306f\u975e\u5e38\u306b\u624b\u9593\u304c\u304b\u304b\u308a\u3001\u30df\u30b9\u304c\u767a\u751f\u3057\u3084\u3059\u3044\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5f53\u521d\u3001\u5ea7\u6a19\u30c7\u30fc\u30bf\uff08Excel\u306a\u3069\uff09\u304c\u3042\u308b\u5834\u5408\u306f\u3001\u5ea7\u6a19\u30ea\u30b9\u30c8\u3092\u4f5c\u6210\u3057\u3066<code>PLINE<\/code>\u30b3\u30de\u30f3\u30c9\u4e2d\u306b\u8cbc\u308a\u4ed8\u3051\u308b\u65b9\u6cd5\u3084\u3001AutoCAD\u306e\u30b3\u30de\u30f3\u30c9\u3092\u9023\u7d9a\u3067\u5b9f\u884c\u3059\u308b**\u30b9\u30af\u30ea\u30d7\u30c8\u30d5\u30a1\u30a4\u30eb\uff08*.scr\uff09**\u3092\u4f5c\u6210\u3059\u308b\u65b9\u6cd5\u304c\u4e00\u822c\u7684\u3067\u3057\u305f\u3002\u3057\u304b\u3057\u3001\u3053\u308c\u3089\u306e\u65b9\u6cd5\u306f\u67d4\u8edf\u6027\u306b\u6b20\u3051\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u305d\u3053\u3067\u3001<strong>\u5ea7\u6a19\u30c7\u30fc\u30bf\u3092\u4f7f\u3063\u3066LISP\u3067\u6298\u308c\u7dda\u30b0\u30e9\u30d5\uff08\u30dd\u30ea\u30e9\u30a4\u30f3\uff09\u3092\u4f5c\u6210\u3059\u308b<\/strong>\u3068\u3044\u3046\u3001\u3088\u308a\u81ea\u52d5\u5316\u3055\u308c\u305f\u65b9\u6cd5\u304c\u63a1\u7528\u3055\u308c\u307e\u3057\u305f\u3002\u3053\u308c\u306f\u3001AutoCAD\u306e\u4f5c\u696d\u3092\u81ea\u52d5\u5316\u3059\u308b\u306e\u306b\u975e\u5e38\u306b\u6709\u52b9\u306a\u65b9\u6cd5\u3067\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"2_%E3%82%B9%E3%83%86%E3%83%83%E3%83%971%EF%BC%9A%E5%9F%BA%E6%9C%AC%E7%9A%84%E3%81%AALISP%E4%BD%9C%E5%9B%B3%E6%A9%9F%E8%83%BD%E3%81%AE%E5%AE%9F%E7%8F%BE%EF%BC%88%E5%86%85%E9%83%A8%E3%83%87%E3%83%BC%E3%82%BF%E7%89%88%EF%BC%89\"><\/span>2. \u30b9\u30c6\u30c3\u30d71\uff1a\u57fa\u672c\u7684\u306aLISP\u4f5c\u56f3\u6a5f\u80fd\u306e\u5b9f\u73fe\uff08\u5185\u90e8\u30c7\u30fc\u30bf\u7248\uff09<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u958b\u767a\u306e\u51fa\u767a\u70b9\u306f\u3001LISP\u30d7\u30ed\u30b0\u30e9\u30e0\u5185\u3067\u5b9a\u7fa9\u3057\u305f\u56fa\u5b9a\u306e\u5ea7\u6a19\u30ea\u30b9\u30c8\u304b\u3089\u30dd\u30ea\u30e9\u30a4\u30f3\u3092\u4f5c\u6210\u3059\u308b\u57fa\u672c\u7684\u306a\u6a5f\u80fd\u3067\u3057\u305f\u3002<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><\/th><th><\/th><th><\/th><\/tr><\/thead><tbody><tr><td>\u6a5f\u80fd<\/td><td>LISP\u306e\u8981\u7d20<\/td><td>\u89e3\u8aac<\/td><\/tr><tr><td><strong>\u5ea7\u6a19\u306e\u5b9a\u7fa9<\/strong><\/td><td><code>(setq data-points '((X1 Y1) (X2 Y2)...))<\/code><\/td><td>\u5ea7\u6a19\u3092\u30ea\u30b9\u30c8\u5f62\u5f0f\u3067\u30d7\u30ed\u30b0\u30e9\u30e0\u5192\u982d\u306b\u683c\u7d0d\u3002<\/td><\/tr><tr><td><strong>\u30dd\u30ea\u30e9\u30a4\u30f3\u4f5c\u6210<\/strong><\/td><td><code>(command \"_PLINE\")<\/code><\/td><td><code>_PLINE<\/code>\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3002<\/td><\/tr><tr><td><strong>\u70b9\u5165\u529b\u306e\u81ea\u52d5\u5316<\/strong><\/td><td><code>(foreach pt data-points (command pt))<\/code><\/td><td><code>foreach<\/code>\u30eb\u30fc\u30d7\u3067\u5ea7\u6a19\u30ea\u30b9\u30c8\u306e\u5404\u8981\u7d20\u3092<code>command<\/code>\u95a2\u6570\u306b\u6e21\u3057\u3001\u9023\u7d9a\u3067\u70b9\u3092\u5165\u529b\u3059\u308b\u3002<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u306e\u6bb5\u968e\u3067\u3001\u624b\u52d5\u5165\u529b\u3092\u4f34\u308f\u306a\u3044\u6298\u308c\u7dda\u30b0\u30e9\u30d5\u306e\u81ea\u52d5\u4f5c\u56f3\u304c\u5b9f\u73fe\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"3_%E3%82%B9%E3%83%86%E3%83%83%E3%83%972%EF%BC%9A%E5%AE%9F%E7%94%A8%E6%80%A7%E5%90%91%E4%B8%8A_%E2%80%94_%E5%A4%96%E9%83%A8%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB%E3%81%8B%E3%82%89%E3%81%AE%E3%83%87%E3%83%BC%E3%82%BF%E8%AA%AD%E3%81%BF%E8%BE%BC%E3%81%BF\"><\/span>3. \u30b9\u30c6\u30c3\u30d72\uff1a\u5b9f\u7528\u6027\u5411\u4e0a \u2014 \u5916\u90e8\u30d5\u30a1\u30a4\u30eb\u304b\u3089\u306e\u30c7\u30fc\u30bf\u8aad\u307f\u8fbc\u307f<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u6b21\u306e\u8ab2\u984c\u306f\u3001\u30d7\u30ed\u30b0\u30e9\u30e0\u5185\u3067\u5ea7\u6a19\u3092\u56fa\u5b9a\u3059\u308b\u306e\u3067\u306f\u306a\u304f\u3001**CSV\u3084\u30c6\u30ad\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\uff08\u4f8b: data.txt\uff09**\u304b\u3089\u5927\u91cf\u306e\u5ea7\u6a19\u30c7\u30fc\u30bf\u3092\u8aad\u307f\u8fbc\u3081\u308b\u3088\u3046\u306b\u3059\u308b\u3053\u3068\u3067\u3057\u305f\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u30d5\u30a1\u30a4\u30eb\u8aad\u307f\u8fbc\u307f\u6a5f\u80fd (<code>c:GraphFromFile<\/code>) \u306e\u5c0e\u5165\u306b\u3088\u308a\u3001\u30c7\u30fc\u30bf\u306e\u6e96\u5099\uff08X\u5ea7\u6a19\u3068Y\u5ea7\u6a19\u3092\u30b3\u30f3\u30de\u304b\u30b9\u30da\u30fc\u30b9\u3067\u533a\u5207\u3063\u3066\u8a18\u8ff0\uff09\u3068\u3001\u30d7\u30ed\u30b0\u30e9\u30e0\u5b9f\u884c\u6642\u306e\u30d5\u30a1\u30a4\u30eb\u9078\u629e\u304c\u53ef\u80fd\u3068\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u767a\u751f\u3057\u305f\u8ab2\u984c\u3068\u300c\u30ed\u30d0\u30b9\u30c8\u5316\u300d\u306e\u9053\u306e\u308a<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u3057\u304b\u3057\u3001\u5916\u90e8\u30d5\u30a1\u30a4\u30eb\u304b\u3089\u306e\u6587\u5b57\u5217\u51e6\u7406\u306f\u975e\u5e38\u306b\u4e0d\u5b89\u5b9a\u3067\u3057\u305f\u3002\u958b\u767a\u904e\u7a0b\u3067\u306f\u3001LISP\u306e\u74b0\u5883\u3084\u30c7\u30fc\u30bf\u5f62\u5f0f\u306e\u63fa\u3089\u304e\u306b\u3088\u308a\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30a8\u30e9\u30fc\u306b\u76f4\u9762\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">1.&nbsp;<strong>\u6587\u5b57\u5217\u51e6\u7406\u306e\u4e0d\u5b89\u5b9a\u3055<\/strong>\uff1a<code>read<\/code>\/<code>princ<\/code>\/<code>strcat<\/code>\u3092\u4f7f\u7528\u3057\u305f\u521d\u671f\u306e\u30c7\u30fc\u30bf\u62bd\u51fa\u30ed\u30b8\u30c3\u30af\u306f\u30a8\u30e9\u30fc\u306b\u306a\u308a\u3084\u3059\u304b\u3063\u305f\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">2.&nbsp;<strong>vl-string-tokenize****\u5229\u7528\u6642\u306e\u30a8\u30e9\u30fc<\/strong>\uff1a\u3088\u308a\u5805\u7262\u306a\u306f\u305a\u306e<code>vl-string-tokenize<\/code>\u3092\u4f7f\u3063\u3066\u3082\u3001\u7a7a\u884c\u3084\u533a\u5207\u308a\u6587\u5b57\u306e\u9023\u7d9a\u306b\u3088\u3063\u3066\u300c\u5f15\u6570\u306e\u30bf\u30a4\u30d7\u304c\u9593\u9055\u3063\u3066\u3044\u307e\u3059\u300d\u3068\u3044\u3046\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">3.&nbsp;<strong>Visual LISP\u4f9d\u5b58\u6027\u306e\u554f\u984c<\/strong>\uff1a\u6700\u7d42\u7684\u306b<code>vl-string-tokenize<\/code>\u304c\u4f7f\u7528\u3067\u304d\u306a\u3044\u74b0\u5883\uff08\u53e4\u3044AutoCAD\u306a\u3069\uff09\u304c\u5b58\u5728\u3059\u308b\u3053\u3068\u304c\u5224\u660e\u3057\u305f\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u306e\u4e0d\u5b89\u5b9a\u3055\u3092\u89e3\u6c7a\u3059\u308b\u305f\u3081\u3001\u6700\u7d42\u7684\u306b**\u300c\u30ed\u30d0\u30b9\u30c8\u7248\u300d<strong>\u304c\u5c0e\u5165\u3055\u308c\u307e\u3057\u305f<\/strong>**\u3002\u3053\u308c\u306f\u3001LISP\u306e<strong><strong>read<\/strong><\/strong>\u95a2\u6570\u3092**<code>vl-catch-all-apply<\/code>**\u3068\u3044\u3046\u5f37\u529b\u306a\u30a8\u30e9\u30fc\u30cf\u30f3\u30c9\u30ea\u30f3\u30b0\u95a2\u6570\u3067\u30e9\u30c3\u30d7\u3059\u308b\u3053\u3068\u3067\u5b9f\u73fe\u3057\u307e\u3057\u305f\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u30d5\u30a1\u30a4\u30eb\u5185\u306b\u4e0d\u6b63\u306a\u5f62\u5f0f\u306e\u884c\u304c\u3042\u3063\u3066\u3082\u3001\u30d7\u30ed\u30b0\u30e9\u30e0\u304c\u4e2d\u65ad\u3059\u308b\u3053\u3068\u306a\u304f\u305d\u306e\u884c\u3092\u30b9\u30ad\u30c3\u30d7\u3057\u3001\u51e6\u7406\u3092\u7d9a\u884c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"4_%E3%82%B9%E3%83%86%E3%83%83%E3%83%973%EF%BC%9A%E3%82%B0%E3%83%A9%E3%83%95%E4%BB%95%E6%A7%98%E3%81%AE%E6%98%8E%E7%A2%BA%E5%8C%96%E3%81%A8%E7%89%B9%E6%AE%8A%E6%A9%9F%E8%83%BD%E3%81%AE%E8%BF%BD%E5%8A%A0\"><\/span>4. \u30b9\u30c6\u30c3\u30d73\uff1a\u30b0\u30e9\u30d5\u4ed5\u69d8\u306e\u660e\u78ba\u5316\u3068\u7279\u6b8a\u6a5f\u80fd\u306e\u8ffd\u52a0<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u30c7\u30fc\u30bf\u8aad\u307f\u8fbc\u307f\u306e\u5b89\u5b9a\u5316\u304c\u9054\u6210\u3055\u308c\u305f\u5f8c\u3001\u30b0\u30e9\u30d5\u306e\u7279\u5b9a\u306e\u8981\u4ef6\u3092\u6e80\u305f\u3059\u305f\u3081\u306e\u6a5f\u80fd\u304c\u6b21\u3005\u3068\u8ffd\u52a0\u3055\u308c\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><\/th><th><\/th><th><\/th><th><\/th><\/tr><\/thead><tbody><tr><td>\u6a5f\u80fd<\/td><td>\u5909\u63db\u30ed\u30b8\u30c3\u30af \/ \u76ee\u7684<\/td><td>\u5c0e\u5165\u30b3\u30de\u30f3\u30c9\u4f8b<\/td><td>\u53c2\u7167\u5143<\/td><\/tr><tr><td><strong>Y\u8ef8\u53cd\u8ee2<\/strong><\/td><td>Y\u5ea7\u6a19\u306b&nbsp;<code>-1.0<\/code>&nbsp;\u3092\u4e57\u7b97 (<code>(* y -1.0)<\/code>)\u3002<\/td><td>\u30b0\u30e9\u30d5\u306e\u63cf\u753b\u65b9\u5411\u3092\u53cd\u8ee2\u3055\u305b\u308b\u3002<\/td><td><code>GRAPHFROMFILE_INVERTY<\/code><\/td><\/tr><tr><td><strong>X\u8ef8\u30b9\u30b1\u30fc\u30eb<\/strong><\/td><td>X\u5ea7\u6a19\u306b&nbsp;<code>40.0<\/code>&nbsp;\u3092\u4e57\u7b97 (<code>(* x 40.0)<\/code>)\u3002<\/td><td>X\u65b9\u5411\u306e\u9593\u9694\u309240\u500d\u306b\u5f15\u304d\u4f38\u3070\u3059\u3002<\/td><td><code>GRAPHFROMFILE_SCALEDYINV<\/code><\/td><\/tr><tr><td><strong>\u30d7\u30ed\u30c3\u30c8\u70b9\u306e\u5f37\u8abf<\/strong><\/td><td>\u5909\u63db\u5f8c\u306e\u5404\u70b9\u306b<strong>\u534a\u5f84 20.0<\/strong>&nbsp;\u306e\u5186 (<code>_CIRCLE<\/code>) \u3092\u63cf\u753b\u3002<\/td><td>\u5404\u30c7\u30fc\u30bf\u70b9\u3092\u8996\u899a\u7684\u306b\u5f37\u8abf\u3059\u308b\u3002<\/td><td><code>GRAPHFROMFILE_GRIDFINAL<\/code><\/td><\/tr><tr><td><strong>\u7e26\u30b0\u30ea\u30c3\u30c9\u7dda<\/strong><\/td><td>X\u5ea7\u6a19 0, 10, 20, 30, 40, 50 \u309240\u500d\u306b\u30b9\u30b1\u30fc\u30eb\u3057\u305f\u4f4d\u7f6e\u306b\u7dda\u3092\u63cf\u753b\u3002\u7dda\u306e\u9577\u3055\u306f\u3001\u5143\u306eY\u8ef8\u6700\u5927\u5024\u306b500\u3092\u52a0\u3048\u305f\u5024\u306e\u53cd\u8ee2 (<code>-(MaxY + 500)<\/code>) \u307e\u3067\u3002<\/td><td>\u30b0\u30e9\u30d5\u306e\u8aad\u307f\u53d6\u308a\u3092\u52a9\u3051\u308b\u88dc\u52a9\u7dda\u3092\u4f5c\u6210\u3059\u308b\u3002<\/td><td><code>GRAPHFROMFILE_GRIDFINAL<\/code><\/td><\/tr><tr><td><strong>\u5168\u4f53\u30d5\u30ec\u30fc\u30e0<\/strong><\/td><td>(0, 0) \u3068 (X=50*40, Y=-(MaxY+500)) \u3092\u5bfe\u89d2\u3068\u3059\u308b\u56db\u89d2\u5f62 (<code>_RECTANG<\/code>) \u3092\u63cf\u753b\u3002<\/td><td>\u63cf\u753b\u7bc4\u56f2\u5168\u4f53\u3092\u660e\u793a\u7684\u306b\u56f2\u3080\u3002<\/td><td><code>GRAPHFROMFILE_FRAME<\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u306e\u904e\u7a0b\u3092\u7d4c\u3066\u3001\u30c7\u30fc\u30bf\u30d5\u30a1\u30a4\u30eb\u306e\u9078\u629e\u3060\u3051\u3067\u3001\u5ea7\u6a19\u5909\u63db\u3001\u6298\u308c\u7dda\u3001\u30d7\u30ed\u30c3\u30c8\u70b9\uff08\u534a\u5f8420.0\uff09\u3001\u30b0\u30ea\u30c3\u30c9\u3001\u5168\u4f53\u30d5\u30ec\u30fc\u30e0\u3092\u542b\u3080\u3001\u8907\u96d1\u306a\u6298\u308c\u7dda\u30b0\u30e9\u30d5\u3092\u81ea\u52d5\u7684\u306b\u4f5c\u6210\u3059\u308b\u6700\u7d42\u7684\u306aLISP\u30d7\u30ed\u30b0\u30e9\u30e0\u304c\u5b8c\u6210\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"5_%E3%81%BE%E3%81%A8%E3%82%81\"><\/span>5. \u307e\u3068\u3081<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u306eLISP\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u958b\u767a\u306f\u3001\u57fa\u672c\u7684\u306a\u81ea\u52d5\u5316\u304b\u3089\u59cb\u307e\u308a\u3001\u5916\u90e8\u30c7\u30fc\u30bf\u51e6\u7406\u306e\u4e0d\u5b89\u5b9a\u6027\u3068\u3044\u3046\u58c1\u3092\u3001\u5805\u7262\u306a\u30a8\u30e9\u30fc\u30cf\u30f3\u30c9\u30ea\u30f3\u30b0\uff08<code>vl-catch-all-apply<\/code>\uff09\u306b\u3088\u3063\u3066\u514b\u670d\u3057\u307e\u3057\u305f\u3002\u6700\u7d42\u7684\u306b\u306f\u3001\u304a\u5ba2\u69d8\u306e\u5177\u4f53\u7684\u306a\u8981\u6c42\uff08X\u8ef8\u30b9\u30b1\u30fc\u30eb40\u500d\u3001Y\u8ef8\u53cd\u8ee2\u3001\u8a73\u7d30\u306a\u30b0\u30ea\u30c3\u30c9\u3001\u534a\u5f8420.0\u306e\u5186\u3001\u5168\u4f53\u30d5\u30ec\u30fc\u30e0\uff09\u3092\u3059\u3079\u3066\u7d44\u307f\u8fbc\u3093\u3060\u3001\u5b9f\u7528\u6027\u306e\u9ad8\u3044\u30c4\u30fc\u30eb\u3078\u3068\u9032\u5316\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u306e\u81ea\u52d5\u5316\u306b\u3088\u308a\u3001AutoCAD\u3067\u30b0\u30e9\u30d5\u3092\u4f5c\u6210\u3059\u308b\u4f5c\u696d\u306f\u3001\u624b\u52d5\u3067\u306e\u82e6\u52b4\u304b\u3089\u89e3\u653e\u3055\u308c\u3001\u30d5\u30a1\u30a4\u30eb\u3092\u9078\u629e\u3057\u3066\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3060\u3051\u306e\u30b7\u30f3\u30d7\u30eb\u306a\u30d7\u30ed\u30bb\u30b9\u3078\u3068\u5909\u308f\u308a\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>0.Google\u304c\u51fa\u3057\u3066\u3044\u308b\u3001NotebookLM\u3068\u3044\u3046\u30a2\u30d7\u30ea\u3067\u30d6\u30ed\u30b0\u306e\u8a18\u4e8b\u3092\u66f8\u3044\u3066\u3082\u3089\u3063\u305f\u3002 Google\u304c\u51fa\u3057\u3066\u3044\u308bAI\u3068\u3044\u3048\u3070Gemini\u306a\u306e\u3060\u304c\u3001\u3082\u3046\u3072\u3068\u3064\u5c11\u3057\u8996\u70b9\u306e\u3061\u304c\u3063\u305f\u30c4\u30fc\u30eb\u306bNotebookLM\u3068\u3044\u3046\u306e\u304c [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"sns_share_botton_hide":"","vkExUnit_sns_title":"","_vk_print_noindex":"","sitemap_hide":"","_veu_custom_css":"","veu_display_promotion_alert":"common","vkexunit_cta_each_option":"","_jetpack_hide_featured_image":false,"_jetpack_featured_image_duplicate_dismissed":0,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"_lightning_design_setting":{"layout":"default"},"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[50,48,49,21],"tags":[],"class_list":["post-23089","post","type-post","status-publish","format-standard","hentry","category-ai","category-gemini","category-notebooklm","category-21"],"nelio_content":{"autoShareEndMode":"never","automationSources":{"useCustomSentences":false,"customSentences":[]},"efiAlt":"","efiUrl":"","followers":[1],"highlights":[],"isAutoShareEnabled":true,"networkImageIds":[],"permalinkQueryArgs":[],"series":[],"suggestedReferences":[]},"veu_head_title_object":{"title":"","add_site_title":""},"jetpack_publicize_connections":[],"jetpack-related-posts":[],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/happy-man.jp\/engineer\/index.php?rest_route=\/wp\/v2\/posts\/23089","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/happy-man.jp\/engineer\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/happy-man.jp\/engineer\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/happy-man.jp\/engineer\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/happy-man.jp\/engineer\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=23089"}],"version-history":[{"count":2,"href":"https:\/\/happy-man.jp\/engineer\/index.php?rest_route=\/wp\/v2\/posts\/23089\/revisions"}],"predecessor-version":[{"id":23091,"href":"https:\/\/happy-man.jp\/engineer\/index.php?rest_route=\/wp\/v2\/posts\/23089\/revisions\/23091"}],"wp:attachment":[{"href":"https:\/\/happy-man.jp\/engineer\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=23089"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/happy-man.jp\/engineer\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=23089"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/happy-man.jp\/engineer\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=23089"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}