{"id":164086,"date":"2023-01-31T09:58:41","date_gmt":"2023-01-31T09:58:41","guid":{"rendered":"\/knowledge\/forums\/topic\/%e3%82%b9%e3%82%af%e3%83%aa%e3%83%97%e3%83%88%e4%b8%ad%e3%81%a7%e3%83%97%e3%83%ad%e3%82%b8%e3%82%a7%e3%82%af%e3%83%88%e3%83%87%e3%82%a3%e3%83%ac%e3%82%af%e3%83%88%e3%83%aa%e3%81%ae%e5%a0%b4%e6%89%80\/"},"modified":"2023-07-31T12:39:30","modified_gmt":"2023-07-31T12:39:30","slug":"%e3%82%b9%e3%82%af%e3%83%aa%e3%83%97%e3%83%88%e4%b8%ad%e3%81%a7%e3%83%97%e3%83%ad%e3%82%b8%e3%82%a7%e3%82%af%e3%83%88%e3%83%87%e3%82%a3%e3%83%ac%e3%82%af%e3%83%88%e3%83%aa%e3%81%ae%e5%a0%b4%e6%89%80","status":"publish","type":"topic","link":"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic\/%e3%82%b9%e3%82%af%e3%83%aa%e3%83%97%e3%83%88%e4%b8%ad%e3%81%a7%e3%83%97%e3%83%ad%e3%82%b8%e3%82%a7%e3%82%af%e3%83%88%e3%83%87%e3%82%a3%e3%83%ac%e3%82%af%e3%83%88%e3%83%aa%e3%81%ae%e5%a0%b4%e6%89%80\/","title":{"rendered":"\u30b9\u30af\u30ea\u30d7\u30c8\u4e2d\u3067\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u5834\u6240\u3092\u53d6\u5f97\u3059\u308b\u65b9\u6cd5"},"content":{"rendered":"<p>\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30b3\u30de\u30f3\u30c9\u3067\u53ef\u80fd\u3067\u3059  import wbjn cmd = &#8216;returnValue(GetProjectDirectory())&#8217; proj_dir = wbjn.ExecuteCommand(ExtAPI,cmd) print proj_dir  \u3053\u3061\u3089\u306f\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304cMechanical API\u304b\u3089\u76f4\u63a5\u53d6\u5f97\u3067\u304d\u306a\u3044\u305f\u3081\u3001 \u4e00\u65e6Workbench\u306e\u65b9\u3067\u3001GetProjectDirectory()\u3092\u5b9f\u884c\u3057\u3066\u3001\u6587\u5b57\u5217\u3068\u3057\u3066\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u30d1\u30b9\u3092\u53d6\u5f97\u3057\u3066\u3044\u307e\u3059\u3002 \u3053\u306eGetProjectDirectory() \u3092GetProjectFile()\u306b\u5dee\u3057\u66ff\u3048\u308c\u3070\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30d5\u30a1\u30a4\u30eb\u306e\u30d5\u30eb\u30d1\u30b9\u3092\u53d6\u5f97\u3067\u304d\u307e\u3059\u3002  \u4ee5\u4e0b\u306e\u30b5\u30f3\u30d7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u3082\u3001\u3054\u78ba\u8a8d\u304f\u3060\u3055\u3044\u3002  Mechanical Application 2021 R2|Mechanical \u306b\u304a\u3051\u308b\u30b9\u30af\u30ea\u30d7\u30c6\u30a3\u30f3\u30b0\u30ac\u30a4\u30c9     |     \u30b9\u30af\u30ea\u30d7\u30c8\u4f8b | MECHANICAL \u30bb\u30c3\u30b7\u30e7\u30f3\u306e\u64cd\u4f5c\u306b\u4f7f\u7528\u3059\u308b\u30b9\u30af\u30ea\u30d7\u30c8\u4f8b | \u30e6\u30fc\u30b6\u30fc\u30d5\u30a1\u30a4\u30eb\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u53d6\u5f97\u3059\u308b  https:\/\/ansyshelp.ansys.com\/account\/secured?returnurl=\/Views\/Secured\/corp\/v212\/ja\/act_script\/act_script_examples_get_file_dir.html  \u307e\u305f\u3001Workbench\u3067\u5b9f\u884c\u53ef\u80fd\u306a\u30b3\u30de\u30f3\u30c9\u306b\u3064\u3044\u3066\u306f\u4e0b\u8a18\u306b\u4e00\u89a7\u304c\u3054\u3056\u3044\u307e\u3059\u3002 \u30b3\u30de\u30f3\u30c9\u3092\u5dee\u3057\u63db\u3048\u308c\u3070\u3001\u305d\u306e\u4ed6\u306e\u60c5\u5831\u3082\u53d6\u5f97\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002  Customization Suite 2021 R2| Workbench \u30b9\u30af\u30ea\u30d7\u30c6\u30a3\u30f3\u30b0\u30ac\u30a4\u30c9 |     \u540d\u524d\u7a7a\u9593\u4ed8\u304d\u30b3\u30de\u30f3\u30c9 Project https:\/\/ansyshelp.ansys.com\/account\/secured?returnurl=\/Views\/Secured\/corp\/v212\/ja\/wb2_js\/Namespace15.html<\/p>\n","protected":false},"template":"","class_list":["post-164086","topic","type-topic","status-publish","hentry","topic-tag-2021-r2","topic-tag-command-objects","topic-tag-macros-scripting","topic-tag-mechanical"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30b3\u30de\u30f3\u30c9\u3067\u53ef\u80fd\u3067\u3059 import wbjn cmd = &#039;returnValue(GetProjectDirectory())&#039; proj_dir = wbjn.ExecuteCommand(ExtAPI,cmd) print proj_dir \u3053\u3061\u3089\u306f\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304cMechanical API\u304b\u3089\u76f4\u63a5\u53d6\u5f97\u3067\u304d\u306a\u3044\u305f\u3081\u3001 \u4e00\u65e6Workbench\u306e\u65b9\u3067\u3001GetProjectDirectory()\u3092\u5b9f\u884c\u3057\u3066\u3001\u6587\u5b57\u5217\u3068\u3057\u3066\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u30d1\u30b9\u3092\u53d6\u5f97\u3057\u3066\u3044\u307e\u3059\u3002 \u3053\u306eGetProjectDirectory() \u3092GetProjectFile()\u306b\u5dee\u3057\u66ff\u3048\u308c\u3070\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30d5\u30a1\u30a4\u30eb\u306e\u30d5\u30eb\u30d1\u30b9\u3092\u53d6\u5f97\u3067\u304d\u307e\u3059\u3002 \u4ee5\u4e0b\u306e\u30b5\u30f3\u30d7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u3082\u3001\u3054\u78ba\u8a8d\u304f\u3060\u3055\u3044\u3002 Mechanical Application 2021 R2|Mechanical \u306b\u304a\u3051\u308b\u30b9\u30af\u30ea\u30d7\u30c6\u30a3\u30f3\u30b0\u30ac\u30a4\u30c9 | \u30b9\u30af\u30ea\u30d7\u30c8\u4f8b | MECHANICAL \u30bb\u30c3\u30b7\u30e7\u30f3\u306e\u64cd\u4f5c\u306b\u4f7f\u7528\u3059\u308b\u30b9\u30af\u30ea\u30d7\u30c8\u4f8b | \u30e6\u30fc\u30b6\u30fc\u30d5\u30a1\u30a4\u30eb\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u53d6\u5f97\u3059\u308b https:\/\/ansyshelp.ansys.com\/account\/secured?returnurl=\/Views\/Secured\/corp\/v212\/ja\/act_script\/act_script_examples_get_file_dir.html \u307e\u305f\u3001Workbench\u3067\u5b9f\u884c\u53ef\u80fd\u306a\u30b3\u30de\u30f3\u30c9\u306b\u3064\u3044\u3066\u306f\u4e0b\u8a18\u306b\u4e00\u89a7\u304c\u3054\u3056\u3044\u307e\u3059\u3002 \u30b3\u30de\u30f3\u30c9\u3092\u5dee\u3057\u63db\u3048\u308c\u3070\u3001\u305d\u306e\u4ed6\u306e\u60c5\u5831\u3082\u53d6\u5f97\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002 Customization Suite 2021 R2| Workbench \u30b9\u30af\u30ea\u30d7\u30c6\u30a3\u30f3\u30b0\u30ac\u30a4\u30c9 | \u540d\u524d\u7a7a\u9593\u4ed8\u304d\u30b3\u30de\u30f3\u30c9 Project https:\/\/ansyshelp.ansys.com\/account\/secured?returnurl=\/Views\/Secured\/corp\/v212\/ja\/wb2_js\/Namespace15.html\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic\/%e3%82%b9%e3%82%af%e3%83%aa%e3%83%97%e3%83%88%e4%b8%ad%e3%81%a7%e3%83%97%e3%83%ad%e3%82%b8%e3%82%a7%e3%82%af%e3%83%88%e3%83%87%e3%82%a3%e3%83%ac%e3%82%af%e3%83%88%e3%83%aa%e3%81%ae%e5%a0%b4%e6%89%80\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Ansys Knowledge | Ansys Innovation Space\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\u30b9\u30af\u30ea\u30d7\u30c8\u4e2d\u3067\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u5834\u6240\u3092\u53d6\u5f97\u3059\u308b\u65b9\u6cd5 | Ansys Knowledge\" \/>\n\t\t<meta property=\"og:description\" content=\"\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30b3\u30de\u30f3\u30c9\u3067\u53ef\u80fd\u3067\u3059 import wbjn cmd = &#039;returnValue(GetProjectDirectory())&#039; proj_dir = wbjn.ExecuteCommand(ExtAPI,cmd) print proj_dir \u3053\u3061\u3089\u306f\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304cMechanical API\u304b\u3089\u76f4\u63a5\u53d6\u5f97\u3067\u304d\u306a\u3044\u305f\u3081\u3001 \u4e00\u65e6Workbench\u306e\u65b9\u3067\u3001GetProjectDirectory()\u3092\u5b9f\u884c\u3057\u3066\u3001\u6587\u5b57\u5217\u3068\u3057\u3066\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u30d1\u30b9\u3092\u53d6\u5f97\u3057\u3066\u3044\u307e\u3059\u3002 \u3053\u306eGetProjectDirectory() \u3092GetProjectFile()\u306b\u5dee\u3057\u66ff\u3048\u308c\u3070\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30d5\u30a1\u30a4\u30eb\u306e\u30d5\u30eb\u30d1\u30b9\u3092\u53d6\u5f97\u3067\u304d\u307e\u3059\u3002 \u4ee5\u4e0b\u306e\u30b5\u30f3\u30d7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u3082\u3001\u3054\u78ba\u8a8d\u304f\u3060\u3055\u3044\u3002 Mechanical Application 2021 R2|Mechanical \u306b\u304a\u3051\u308b\u30b9\u30af\u30ea\u30d7\u30c6\u30a3\u30f3\u30b0\u30ac\u30a4\u30c9 | \u30b9\u30af\u30ea\u30d7\u30c8\u4f8b | MECHANICAL \u30bb\u30c3\u30b7\u30e7\u30f3\u306e\u64cd\u4f5c\u306b\u4f7f\u7528\u3059\u308b\u30b9\u30af\u30ea\u30d7\u30c8\u4f8b | \u30e6\u30fc\u30b6\u30fc\u30d5\u30a1\u30a4\u30eb\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u53d6\u5f97\u3059\u308b https:\/\/ansyshelp.ansys.com\/account\/secured?returnurl=\/Views\/Secured\/corp\/v212\/ja\/act_script\/act_script_examples_get_file_dir.html \u307e\u305f\u3001Workbench\u3067\u5b9f\u884c\u53ef\u80fd\u306a\u30b3\u30de\u30f3\u30c9\u306b\u3064\u3044\u3066\u306f\u4e0b\u8a18\u306b\u4e00\u89a7\u304c\u3054\u3056\u3044\u307e\u3059\u3002 \u30b3\u30de\u30f3\u30c9\u3092\u5dee\u3057\u63db\u3048\u308c\u3070\u3001\u305d\u306e\u4ed6\u306e\u60c5\u5831\u3082\u53d6\u5f97\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002 Customization Suite 2021 R2| Workbench \u30b9\u30af\u30ea\u30d7\u30c6\u30a3\u30f3\u30b0\u30ac\u30a4\u30c9 | \u540d\u524d\u7a7a\u9593\u4ed8\u304d\u30b3\u30de\u30f3\u30c9 Project https:\/\/ansyshelp.ansys.com\/account\/secured?returnurl=\/Views\/Secured\/corp\/v212\/ja\/wb2_js\/Namespace15.html\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic\/%e3%82%b9%e3%82%af%e3%83%aa%e3%83%97%e3%83%88%e4%b8%ad%e3%81%a7%e3%83%97%e3%83%ad%e3%82%b8%e3%82%a7%e3%82%af%e3%83%88%e3%83%87%e3%82%a3%e3%83%ac%e3%82%af%e3%83%88%e3%83%aa%e3%81%ae%e5%a0%b4%e6%89%80\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2023-01-31T09:58:41+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2023-07-31T12:39:30+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"\u30b9\u30af\u30ea\u30d7\u30c8\u4e2d\u3067\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u5834\u6240\u3092\u53d6\u5f97\u3059\u308b\u65b9\u6cd5 | Ansys Knowledge\" \/>\n\t\t<meta name=\"twitter:description\" content=\"\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30b3\u30de\u30f3\u30c9\u3067\u53ef\u80fd\u3067\u3059 import wbjn cmd = &#039;returnValue(GetProjectDirectory())&#039; proj_dir = wbjn.ExecuteCommand(ExtAPI,cmd) print proj_dir \u3053\u3061\u3089\u306f\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304cMechanical API\u304b\u3089\u76f4\u63a5\u53d6\u5f97\u3067\u304d\u306a\u3044\u305f\u3081\u3001 \u4e00\u65e6Workbench\u306e\u65b9\u3067\u3001GetProjectDirectory()\u3092\u5b9f\u884c\u3057\u3066\u3001\u6587\u5b57\u5217\u3068\u3057\u3066\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u30d1\u30b9\u3092\u53d6\u5f97\u3057\u3066\u3044\u307e\u3059\u3002 \u3053\u306eGetProjectDirectory() \u3092GetProjectFile()\u306b\u5dee\u3057\u66ff\u3048\u308c\u3070\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30d5\u30a1\u30a4\u30eb\u306e\u30d5\u30eb\u30d1\u30b9\u3092\u53d6\u5f97\u3067\u304d\u307e\u3059\u3002 \u4ee5\u4e0b\u306e\u30b5\u30f3\u30d7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u3082\u3001\u3054\u78ba\u8a8d\u304f\u3060\u3055\u3044\u3002 Mechanical Application 2021 R2|Mechanical \u306b\u304a\u3051\u308b\u30b9\u30af\u30ea\u30d7\u30c6\u30a3\u30f3\u30b0\u30ac\u30a4\u30c9 | \u30b9\u30af\u30ea\u30d7\u30c8\u4f8b | MECHANICAL \u30bb\u30c3\u30b7\u30e7\u30f3\u306e\u64cd\u4f5c\u306b\u4f7f\u7528\u3059\u308b\u30b9\u30af\u30ea\u30d7\u30c8\u4f8b | \u30e6\u30fc\u30b6\u30fc\u30d5\u30a1\u30a4\u30eb\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u53d6\u5f97\u3059\u308b https:\/\/ansyshelp.ansys.com\/account\/secured?returnurl=\/Views\/Secured\/corp\/v212\/ja\/act_script\/act_script_examples_get_file_dir.html \u307e\u305f\u3001Workbench\u3067\u5b9f\u884c\u53ef\u80fd\u306a\u30b3\u30de\u30f3\u30c9\u306b\u3064\u3044\u3066\u306f\u4e0b\u8a18\u306b\u4e00\u89a7\u304c\u3054\u3056\u3044\u307e\u3059\u3002 \u30b3\u30de\u30f3\u30c9\u3092\u5dee\u3057\u63db\u3048\u308c\u3070\u3001\u305d\u306e\u4ed6\u306e\u60c5\u5831\u3082\u53d6\u5f97\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002 Customization Suite 2021 R2| Workbench \u30b9\u30af\u30ea\u30d7\u30c6\u30a3\u30f3\u30b0\u30ac\u30a4\u30c9 | \u540d\u524d\u7a7a\u9593\u4ed8\u304d\u30b3\u30de\u30f3\u30c9 Project https:\/\/ansyshelp.ansys.com\/account\/secured?returnurl=\/Views\/Secured\/corp\/v212\/ja\/wb2_js\/Namespace15.html\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/knowledge\\\/forums\\\/topic\\\/%e3%82%b9%e3%82%af%e3%83%aa%e3%83%97%e3%83%88%e4%b8%ad%e3%81%a7%e3%83%97%e3%83%ad%e3%82%b8%e3%82%a7%e3%82%af%e3%83%88%e3%83%87%e3%82%a3%e3%83%ac%e3%82%af%e3%83%88%e3%83%aa%e3%81%ae%e5%a0%b4%e6%89%80\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/knowledge#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/innovationspace.ansys.com\\\/knowledge\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/knowledge\\\/topics\\\/#listItem\",\"name\":\"Topics\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/knowledge\\\/topics\\\/#listItem\",\"position\":2,\"name\":\"Topics\",\"item\":\"https:\\\/\\\/innovationspace.ansys.com\\\/knowledge\\\/topics\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/knowledge\\\/forums\\\/topic-tag\\\/mechanical\\\/?template=japan#listItem\",\"name\":\"mechanical\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/knowledge#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/knowledge\\\/forums\\\/topic-tag\\\/mechanical\\\/?template=japan#listItem\",\"position\":3,\"name\":\"mechanical\",\"item\":\"https:\\\/\\\/innovationspace.ansys.com\\\/knowledge\\\/forums\\\/topic-tag\\\/mechanical\\\/?template=japan\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/knowledge\\\/forums\\\/topic\\\/%e3%82%b9%e3%82%af%e3%83%aa%e3%83%97%e3%83%88%e4%b8%ad%e3%81%a7%e3%83%97%e3%83%ad%e3%82%b8%e3%82%a7%e3%82%af%e3%83%88%e3%83%87%e3%82%a3%e3%83%ac%e3%82%af%e3%83%88%e3%83%aa%e3%81%ae%e5%a0%b4%e6%89%80\\\/#listItem\",\"name\":\"\\u30b9\\u30af\\u30ea\\u30d7\\u30c8\\u4e2d\\u3067\\u30d7\\u30ed\\u30b8\\u30a7\\u30af\\u30c8\\u30c7\\u30a3\\u30ec\\u30af\\u30c8\\u30ea\\u306e\\u5834\\u6240\\u3092\\u53d6\\u5f97\\u3059\\u308b\\u65b9\\u6cd5\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/knowledge\\\/topics\\\/#listItem\",\"name\":\"Topics\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/knowledge\\\/forums\\\/topic\\\/%e3%82%b9%e3%82%af%e3%83%aa%e3%83%97%e3%83%88%e4%b8%ad%e3%81%a7%e3%83%97%e3%83%ad%e3%82%b8%e3%82%a7%e3%82%af%e3%83%88%e3%83%87%e3%82%a3%e3%83%ac%e3%82%af%e3%83%88%e3%83%aa%e3%81%ae%e5%a0%b4%e6%89%80\\\/#listItem\",\"position\":4,\"name\":\"\\u30b9\\u30af\\u30ea\\u30d7\\u30c8\\u4e2d\\u3067\\u30d7\\u30ed\\u30b8\\u30a7\\u30af\\u30c8\\u30c7\\u30a3\\u30ec\\u30af\\u30c8\\u30ea\\u306e\\u5834\\u6240\\u3092\\u53d6\\u5f97\\u3059\\u308b\\u65b9\\u6cd5\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/knowledge\\\/forums\\\/topic-tag\\\/mechanical\\\/?template=japan#listItem\",\"name\":\"mechanical\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/knowledge\\\/#organization\",\"name\":\"Ansys Knowledge\",\"description\":\"Ansys Innovation Space\",\"url\":\"https:\\\/\\\/innovationspace.ansys.com\\\/knowledge\\\/\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/knowledge\\\/forums\\\/topic\\\/%e3%82%b9%e3%82%af%e3%83%aa%e3%83%97%e3%83%88%e4%b8%ad%e3%81%a7%e3%83%97%e3%83%ad%e3%82%b8%e3%82%a7%e3%82%af%e3%83%88%e3%83%87%e3%82%a3%e3%83%ac%e3%82%af%e3%83%88%e3%83%aa%e3%81%ae%e5%a0%b4%e6%89%80\\\/#webpage\",\"url\":\"https:\\\/\\\/innovationspace.ansys.com\\\/knowledge\\\/forums\\\/topic\\\/%e3%82%b9%e3%82%af%e3%83%aa%e3%83%97%e3%83%88%e4%b8%ad%e3%81%a7%e3%83%97%e3%83%ad%e3%82%b8%e3%82%a7%e3%82%af%e3%83%88%e3%83%87%e3%82%a3%e3%83%ac%e3%82%af%e3%83%88%e3%83%aa%e3%81%ae%e5%a0%b4%e6%89%80\\\/\",\"name\":\"\\u30b9\\u30af\\u30ea\\u30d7\\u30c8\\u4e2d\\u3067\\u30d7\\u30ed\\u30b8\\u30a7\\u30af\\u30c8\\u30c7\\u30a3\\u30ec\\u30af\\u30c8\\u30ea\\u306e\\u5834\\u6240\\u3092\\u53d6\\u5f97\\u3059\\u308b\\u65b9\\u6cd5 | Ansys Knowledge\",\"description\":\"\\u4ee5\\u4e0b\\u306e\\u3088\\u3046\\u306a\\u30b3\\u30de\\u30f3\\u30c9\\u3067\\u53ef\\u80fd\\u3067\\u3059 import wbjn cmd = 'returnValue(GetProjectDirectory())' proj_dir = wbjn.ExecuteCommand(ExtAPI,cmd) print proj_dir \\u3053\\u3061\\u3089\\u306f\\u3001\\u30d7\\u30ed\\u30b8\\u30a7\\u30af\\u30c8\\u30c7\\u30a3\\u30ec\\u30af\\u30c8\\u30ea\\u304cMechanical API\\u304b\\u3089\\u76f4\\u63a5\\u53d6\\u5f97\\u3067\\u304d\\u306a\\u3044\\u305f\\u3081\\u3001 \\u4e00\\u65e6Workbench\\u306e\\u65b9\\u3067\\u3001GetProjectDirectory()\\u3092\\u5b9f\\u884c\\u3057\\u3066\\u3001\\u6587\\u5b57\\u5217\\u3068\\u3057\\u3066\\u30c7\\u30a3\\u30ec\\u30af\\u30c8\\u30ea\\u30d1\\u30b9\\u3092\\u53d6\\u5f97\\u3057\\u3066\\u3044\\u307e\\u3059\\u3002 \\u3053\\u306eGetProjectDirectory() \\u3092GetProjectFile()\\u306b\\u5dee\\u3057\\u66ff\\u3048\\u308c\\u3070\\u3001\\u30d7\\u30ed\\u30b8\\u30a7\\u30af\\u30c8\\u30d5\\u30a1\\u30a4\\u30eb\\u306e\\u30d5\\u30eb\\u30d1\\u30b9\\u3092\\u53d6\\u5f97\\u3067\\u304d\\u307e\\u3059\\u3002 \\u4ee5\\u4e0b\\u306e\\u30b5\\u30f3\\u30d7\\u30eb\\u30b9\\u30af\\u30ea\\u30d7\\u30c8\\u3082\\u3001\\u3054\\u78ba\\u8a8d\\u304f\\u3060\\u3055\\u3044\\u3002 Mechanical Application 2021 R2|Mechanical \\u306b\\u304a\\u3051\\u308b\\u30b9\\u30af\\u30ea\\u30d7\\u30c6\\u30a3\\u30f3\\u30b0\\u30ac\\u30a4\\u30c9 | \\u30b9\\u30af\\u30ea\\u30d7\\u30c8\\u4f8b | MECHANICAL \\u30bb\\u30c3\\u30b7\\u30e7\\u30f3\\u306e\\u64cd\\u4f5c\\u306b\\u4f7f\\u7528\\u3059\\u308b\\u30b9\\u30af\\u30ea\\u30d7\\u30c8\\u4f8b | \\u30e6\\u30fc\\u30b6\\u30fc\\u30d5\\u30a1\\u30a4\\u30eb\\u30c7\\u30a3\\u30ec\\u30af\\u30c8\\u30ea\\u3092\\u53d6\\u5f97\\u3059\\u308b https:\\\/\\\/ansyshelp.ansys.com\\\/account\\\/secured?returnurl=\\\/Views\\\/Secured\\\/corp\\\/v212\\\/ja\\\/act_script\\\/act_script_examples_get_file_dir.html \\u307e\\u305f\\u3001Workbench\\u3067\\u5b9f\\u884c\\u53ef\\u80fd\\u306a\\u30b3\\u30de\\u30f3\\u30c9\\u306b\\u3064\\u3044\\u3066\\u306f\\u4e0b\\u8a18\\u306b\\u4e00\\u89a7\\u304c\\u3054\\u3056\\u3044\\u307e\\u3059\\u3002 \\u30b3\\u30de\\u30f3\\u30c9\\u3092\\u5dee\\u3057\\u63db\\u3048\\u308c\\u3070\\u3001\\u305d\\u306e\\u4ed6\\u306e\\u60c5\\u5831\\u3082\\u53d6\\u5f97\\u3059\\u308b\\u3053\\u3068\\u304c\\u3067\\u304d\\u307e\\u3059\\u3002 Customization Suite 2021 R2| Workbench \\u30b9\\u30af\\u30ea\\u30d7\\u30c6\\u30a3\\u30f3\\u30b0\\u30ac\\u30a4\\u30c9 | \\u540d\\u524d\\u7a7a\\u9593\\u4ed8\\u304d\\u30b3\\u30de\\u30f3\\u30c9 Project https:\\\/\\\/ansyshelp.ansys.com\\\/account\\\/secured?returnurl=\\\/Views\\\/Secured\\\/corp\\\/v212\\\/ja\\\/wb2_js\\\/Namespace15.html\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/knowledge\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/knowledge\\\/forums\\\/topic\\\/%e3%82%b9%e3%82%af%e3%83%aa%e3%83%97%e3%83%88%e4%b8%ad%e3%81%a7%e3%83%97%e3%83%ad%e3%82%b8%e3%82%a7%e3%82%af%e3%83%88%e3%83%87%e3%82%a3%e3%83%ac%e3%82%af%e3%83%88%e3%83%aa%e3%81%ae%e5%a0%b4%e6%89%80\\\/#breadcrumblist\"},\"datePublished\":\"2023-01-31T09:58:41+00:00\",\"dateModified\":\"2023-07-31T12:39:30+00:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/knowledge\\\/#website\",\"url\":\"https:\\\/\\\/innovationspace.ansys.com\\\/knowledge\\\/\",\"name\":\"Ansys Knowledge\",\"description\":\"Ansys Innovation Space\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/knowledge\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\u30b9\u30af\u30ea\u30d7\u30c8\u4e2d\u3067\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u5834\u6240\u3092\u53d6\u5f97\u3059\u308b\u65b9\u6cd5 | Ansys Knowledge","description":"\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30b3\u30de\u30f3\u30c9\u3067\u53ef\u80fd\u3067\u3059 import wbjn cmd = 'returnValue(GetProjectDirectory())' proj_dir = wbjn.ExecuteCommand(ExtAPI,cmd) print proj_dir \u3053\u3061\u3089\u306f\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304cMechanical API\u304b\u3089\u76f4\u63a5\u53d6\u5f97\u3067\u304d\u306a\u3044\u305f\u3081\u3001 \u4e00\u65e6Workbench\u306e\u65b9\u3067\u3001GetProjectDirectory()\u3092\u5b9f\u884c\u3057\u3066\u3001\u6587\u5b57\u5217\u3068\u3057\u3066\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u30d1\u30b9\u3092\u53d6\u5f97\u3057\u3066\u3044\u307e\u3059\u3002 \u3053\u306eGetProjectDirectory() \u3092GetProjectFile()\u306b\u5dee\u3057\u66ff\u3048\u308c\u3070\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30d5\u30a1\u30a4\u30eb\u306e\u30d5\u30eb\u30d1\u30b9\u3092\u53d6\u5f97\u3067\u304d\u307e\u3059\u3002 \u4ee5\u4e0b\u306e\u30b5\u30f3\u30d7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u3082\u3001\u3054\u78ba\u8a8d\u304f\u3060\u3055\u3044\u3002 Mechanical Application 2021 R2|Mechanical \u306b\u304a\u3051\u308b\u30b9\u30af\u30ea\u30d7\u30c6\u30a3\u30f3\u30b0\u30ac\u30a4\u30c9 | \u30b9\u30af\u30ea\u30d7\u30c8\u4f8b | MECHANICAL \u30bb\u30c3\u30b7\u30e7\u30f3\u306e\u64cd\u4f5c\u306b\u4f7f\u7528\u3059\u308b\u30b9\u30af\u30ea\u30d7\u30c8\u4f8b | \u30e6\u30fc\u30b6\u30fc\u30d5\u30a1\u30a4\u30eb\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u53d6\u5f97\u3059\u308b https:\/\/ansyshelp.ansys.com\/account\/secured?returnurl=\/Views\/Secured\/corp\/v212\/ja\/act_script\/act_script_examples_get_file_dir.html \u307e\u305f\u3001Workbench\u3067\u5b9f\u884c\u53ef\u80fd\u306a\u30b3\u30de\u30f3\u30c9\u306b\u3064\u3044\u3066\u306f\u4e0b\u8a18\u306b\u4e00\u89a7\u304c\u3054\u3056\u3044\u307e\u3059\u3002 \u30b3\u30de\u30f3\u30c9\u3092\u5dee\u3057\u63db\u3048\u308c\u3070\u3001\u305d\u306e\u4ed6\u306e\u60c5\u5831\u3082\u53d6\u5f97\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002 Customization Suite 2021 R2| Workbench \u30b9\u30af\u30ea\u30d7\u30c6\u30a3\u30f3\u30b0\u30ac\u30a4\u30c9 | \u540d\u524d\u7a7a\u9593\u4ed8\u304d\u30b3\u30de\u30f3\u30c9 Project https:\/\/ansyshelp.ansys.com\/account\/secured?returnurl=\/Views\/Secured\/corp\/v212\/ja\/wb2_js\/Namespace15.html","canonical_url":"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic\/%e3%82%b9%e3%82%af%e3%83%aa%e3%83%97%e3%83%88%e4%b8%ad%e3%81%a7%e3%83%97%e3%83%ad%e3%82%b8%e3%82%a7%e3%82%af%e3%83%88%e3%83%87%e3%82%a3%e3%83%ac%e3%82%af%e3%83%88%e3%83%aa%e3%81%ae%e5%a0%b4%e6%89%80\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BreadcrumbList","@id":"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic\/%e3%82%b9%e3%82%af%e3%83%aa%e3%83%97%e3%83%88%e4%b8%ad%e3%81%a7%e3%83%97%e3%83%ad%e3%82%b8%e3%82%a7%e3%82%af%e3%83%88%e3%83%87%e3%82%a3%e3%83%ac%e3%82%af%e3%83%88%e3%83%aa%e3%81%ae%e5%a0%b4%e6%89%80\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/knowledge#listItem","position":1,"name":"Home","item":"https:\/\/innovationspace.ansys.com\/knowledge","nextItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/knowledge\/topics\/#listItem","name":"Topics"}},{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/knowledge\/topics\/#listItem","position":2,"name":"Topics","item":"https:\/\/innovationspace.ansys.com\/knowledge\/topics\/","nextItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic-tag\/mechanical\/?template=japan#listItem","name":"mechanical"},"previousItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/knowledge#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic-tag\/mechanical\/?template=japan#listItem","position":3,"name":"mechanical","item":"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic-tag\/mechanical\/?template=japan","nextItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic\/%e3%82%b9%e3%82%af%e3%83%aa%e3%83%97%e3%83%88%e4%b8%ad%e3%81%a7%e3%83%97%e3%83%ad%e3%82%b8%e3%82%a7%e3%82%af%e3%83%88%e3%83%87%e3%82%a3%e3%83%ac%e3%82%af%e3%83%88%e3%83%aa%e3%81%ae%e5%a0%b4%e6%89%80\/#listItem","name":"\u30b9\u30af\u30ea\u30d7\u30c8\u4e2d\u3067\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u5834\u6240\u3092\u53d6\u5f97\u3059\u308b\u65b9\u6cd5"},"previousItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/knowledge\/topics\/#listItem","name":"Topics"}},{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic\/%e3%82%b9%e3%82%af%e3%83%aa%e3%83%97%e3%83%88%e4%b8%ad%e3%81%a7%e3%83%97%e3%83%ad%e3%82%b8%e3%82%a7%e3%82%af%e3%83%88%e3%83%87%e3%82%a3%e3%83%ac%e3%82%af%e3%83%88%e3%83%aa%e3%81%ae%e5%a0%b4%e6%89%80\/#listItem","position":4,"name":"\u30b9\u30af\u30ea\u30d7\u30c8\u4e2d\u3067\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u5834\u6240\u3092\u53d6\u5f97\u3059\u308b\u65b9\u6cd5","previousItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic-tag\/mechanical\/?template=japan#listItem","name":"mechanical"}}]},{"@type":"Organization","@id":"https:\/\/innovationspace.ansys.com\/knowledge\/#organization","name":"Ansys Knowledge","description":"Ansys Innovation Space","url":"https:\/\/innovationspace.ansys.com\/knowledge\/"},{"@type":"WebPage","@id":"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic\/%e3%82%b9%e3%82%af%e3%83%aa%e3%83%97%e3%83%88%e4%b8%ad%e3%81%a7%e3%83%97%e3%83%ad%e3%82%b8%e3%82%a7%e3%82%af%e3%83%88%e3%83%87%e3%82%a3%e3%83%ac%e3%82%af%e3%83%88%e3%83%aa%e3%81%ae%e5%a0%b4%e6%89%80\/#webpage","url":"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic\/%e3%82%b9%e3%82%af%e3%83%aa%e3%83%97%e3%83%88%e4%b8%ad%e3%81%a7%e3%83%97%e3%83%ad%e3%82%b8%e3%82%a7%e3%82%af%e3%83%88%e3%83%87%e3%82%a3%e3%83%ac%e3%82%af%e3%83%88%e3%83%aa%e3%81%ae%e5%a0%b4%e6%89%80\/","name":"\u30b9\u30af\u30ea\u30d7\u30c8\u4e2d\u3067\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u5834\u6240\u3092\u53d6\u5f97\u3059\u308b\u65b9\u6cd5 | Ansys Knowledge","description":"\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30b3\u30de\u30f3\u30c9\u3067\u53ef\u80fd\u3067\u3059 import wbjn cmd = 'returnValue(GetProjectDirectory())' proj_dir = wbjn.ExecuteCommand(ExtAPI,cmd) print proj_dir \u3053\u3061\u3089\u306f\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304cMechanical API\u304b\u3089\u76f4\u63a5\u53d6\u5f97\u3067\u304d\u306a\u3044\u305f\u3081\u3001 \u4e00\u65e6Workbench\u306e\u65b9\u3067\u3001GetProjectDirectory()\u3092\u5b9f\u884c\u3057\u3066\u3001\u6587\u5b57\u5217\u3068\u3057\u3066\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u30d1\u30b9\u3092\u53d6\u5f97\u3057\u3066\u3044\u307e\u3059\u3002 \u3053\u306eGetProjectDirectory() \u3092GetProjectFile()\u306b\u5dee\u3057\u66ff\u3048\u308c\u3070\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30d5\u30a1\u30a4\u30eb\u306e\u30d5\u30eb\u30d1\u30b9\u3092\u53d6\u5f97\u3067\u304d\u307e\u3059\u3002 \u4ee5\u4e0b\u306e\u30b5\u30f3\u30d7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u3082\u3001\u3054\u78ba\u8a8d\u304f\u3060\u3055\u3044\u3002 Mechanical Application 2021 R2|Mechanical \u306b\u304a\u3051\u308b\u30b9\u30af\u30ea\u30d7\u30c6\u30a3\u30f3\u30b0\u30ac\u30a4\u30c9 | \u30b9\u30af\u30ea\u30d7\u30c8\u4f8b | MECHANICAL \u30bb\u30c3\u30b7\u30e7\u30f3\u306e\u64cd\u4f5c\u306b\u4f7f\u7528\u3059\u308b\u30b9\u30af\u30ea\u30d7\u30c8\u4f8b | \u30e6\u30fc\u30b6\u30fc\u30d5\u30a1\u30a4\u30eb\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u53d6\u5f97\u3059\u308b https:\/\/ansyshelp.ansys.com\/account\/secured?returnurl=\/Views\/Secured\/corp\/v212\/ja\/act_script\/act_script_examples_get_file_dir.html \u307e\u305f\u3001Workbench\u3067\u5b9f\u884c\u53ef\u80fd\u306a\u30b3\u30de\u30f3\u30c9\u306b\u3064\u3044\u3066\u306f\u4e0b\u8a18\u306b\u4e00\u89a7\u304c\u3054\u3056\u3044\u307e\u3059\u3002 \u30b3\u30de\u30f3\u30c9\u3092\u5dee\u3057\u63db\u3048\u308c\u3070\u3001\u305d\u306e\u4ed6\u306e\u60c5\u5831\u3082\u53d6\u5f97\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002 Customization Suite 2021 R2| Workbench \u30b9\u30af\u30ea\u30d7\u30c6\u30a3\u30f3\u30b0\u30ac\u30a4\u30c9 | \u540d\u524d\u7a7a\u9593\u4ed8\u304d\u30b3\u30de\u30f3\u30c9 Project https:\/\/ansyshelp.ansys.com\/account\/secured?returnurl=\/Views\/Secured\/corp\/v212\/ja\/wb2_js\/Namespace15.html","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/innovationspace.ansys.com\/knowledge\/#website"},"breadcrumb":{"@id":"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic\/%e3%82%b9%e3%82%af%e3%83%aa%e3%83%97%e3%83%88%e4%b8%ad%e3%81%a7%e3%83%97%e3%83%ad%e3%82%b8%e3%82%a7%e3%82%af%e3%83%88%e3%83%87%e3%82%a3%e3%83%ac%e3%82%af%e3%83%88%e3%83%aa%e3%81%ae%e5%a0%b4%e6%89%80\/#breadcrumblist"},"datePublished":"2023-01-31T09:58:41+00:00","dateModified":"2023-07-31T12:39:30+00:00"},{"@type":"WebSite","@id":"https:\/\/innovationspace.ansys.com\/knowledge\/#website","url":"https:\/\/innovationspace.ansys.com\/knowledge\/","name":"Ansys Knowledge","description":"Ansys Innovation Space","inLanguage":"en-US","publisher":{"@id":"https:\/\/innovationspace.ansys.com\/knowledge\/#organization"}}]},"og:locale":"en_US","og:site_name":"Ansys Knowledge | Ansys Innovation Space","og:type":"article","og:title":"\u30b9\u30af\u30ea\u30d7\u30c8\u4e2d\u3067\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u5834\u6240\u3092\u53d6\u5f97\u3059\u308b\u65b9\u6cd5 | Ansys Knowledge","og:description":"\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30b3\u30de\u30f3\u30c9\u3067\u53ef\u80fd\u3067\u3059 import wbjn cmd = 'returnValue(GetProjectDirectory())' proj_dir = wbjn.ExecuteCommand(ExtAPI,cmd) print proj_dir \u3053\u3061\u3089\u306f\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304cMechanical API\u304b\u3089\u76f4\u63a5\u53d6\u5f97\u3067\u304d\u306a\u3044\u305f\u3081\u3001 \u4e00\u65e6Workbench\u306e\u65b9\u3067\u3001GetProjectDirectory()\u3092\u5b9f\u884c\u3057\u3066\u3001\u6587\u5b57\u5217\u3068\u3057\u3066\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u30d1\u30b9\u3092\u53d6\u5f97\u3057\u3066\u3044\u307e\u3059\u3002 \u3053\u306eGetProjectDirectory() \u3092GetProjectFile()\u306b\u5dee\u3057\u66ff\u3048\u308c\u3070\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30d5\u30a1\u30a4\u30eb\u306e\u30d5\u30eb\u30d1\u30b9\u3092\u53d6\u5f97\u3067\u304d\u307e\u3059\u3002 \u4ee5\u4e0b\u306e\u30b5\u30f3\u30d7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u3082\u3001\u3054\u78ba\u8a8d\u304f\u3060\u3055\u3044\u3002 Mechanical Application 2021 R2|Mechanical \u306b\u304a\u3051\u308b\u30b9\u30af\u30ea\u30d7\u30c6\u30a3\u30f3\u30b0\u30ac\u30a4\u30c9 | \u30b9\u30af\u30ea\u30d7\u30c8\u4f8b | MECHANICAL \u30bb\u30c3\u30b7\u30e7\u30f3\u306e\u64cd\u4f5c\u306b\u4f7f\u7528\u3059\u308b\u30b9\u30af\u30ea\u30d7\u30c8\u4f8b | \u30e6\u30fc\u30b6\u30fc\u30d5\u30a1\u30a4\u30eb\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u53d6\u5f97\u3059\u308b https:\/\/ansyshelp.ansys.com\/account\/secured?returnurl=\/Views\/Secured\/corp\/v212\/ja\/act_script\/act_script_examples_get_file_dir.html \u307e\u305f\u3001Workbench\u3067\u5b9f\u884c\u53ef\u80fd\u306a\u30b3\u30de\u30f3\u30c9\u306b\u3064\u3044\u3066\u306f\u4e0b\u8a18\u306b\u4e00\u89a7\u304c\u3054\u3056\u3044\u307e\u3059\u3002 \u30b3\u30de\u30f3\u30c9\u3092\u5dee\u3057\u63db\u3048\u308c\u3070\u3001\u305d\u306e\u4ed6\u306e\u60c5\u5831\u3082\u53d6\u5f97\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002 Customization Suite 2021 R2| Workbench \u30b9\u30af\u30ea\u30d7\u30c6\u30a3\u30f3\u30b0\u30ac\u30a4\u30c9 | \u540d\u524d\u7a7a\u9593\u4ed8\u304d\u30b3\u30de\u30f3\u30c9 Project https:\/\/ansyshelp.ansys.com\/account\/secured?returnurl=\/Views\/Secured\/corp\/v212\/ja\/wb2_js\/Namespace15.html","og:url":"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic\/%e3%82%b9%e3%82%af%e3%83%aa%e3%83%97%e3%83%88%e4%b8%ad%e3%81%a7%e3%83%97%e3%83%ad%e3%82%b8%e3%82%a7%e3%82%af%e3%83%88%e3%83%87%e3%82%a3%e3%83%ac%e3%82%af%e3%83%88%e3%83%aa%e3%81%ae%e5%a0%b4%e6%89%80\/","article:published_time":"2023-01-31T09:58:41+00:00","article:modified_time":"2023-07-31T12:39:30+00:00","twitter:card":"summary_large_image","twitter:title":"\u30b9\u30af\u30ea\u30d7\u30c8\u4e2d\u3067\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u5834\u6240\u3092\u53d6\u5f97\u3059\u308b\u65b9\u6cd5 | Ansys Knowledge","twitter:description":"\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30b3\u30de\u30f3\u30c9\u3067\u53ef\u80fd\u3067\u3059 import wbjn cmd = 'returnValue(GetProjectDirectory())' proj_dir = wbjn.ExecuteCommand(ExtAPI,cmd) print proj_dir \u3053\u3061\u3089\u306f\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304cMechanical API\u304b\u3089\u76f4\u63a5\u53d6\u5f97\u3067\u304d\u306a\u3044\u305f\u3081\u3001 \u4e00\u65e6Workbench\u306e\u65b9\u3067\u3001GetProjectDirectory()\u3092\u5b9f\u884c\u3057\u3066\u3001\u6587\u5b57\u5217\u3068\u3057\u3066\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u30d1\u30b9\u3092\u53d6\u5f97\u3057\u3066\u3044\u307e\u3059\u3002 \u3053\u306eGetProjectDirectory() \u3092GetProjectFile()\u306b\u5dee\u3057\u66ff\u3048\u308c\u3070\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30d5\u30a1\u30a4\u30eb\u306e\u30d5\u30eb\u30d1\u30b9\u3092\u53d6\u5f97\u3067\u304d\u307e\u3059\u3002 \u4ee5\u4e0b\u306e\u30b5\u30f3\u30d7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u3082\u3001\u3054\u78ba\u8a8d\u304f\u3060\u3055\u3044\u3002 Mechanical Application 2021 R2|Mechanical \u306b\u304a\u3051\u308b\u30b9\u30af\u30ea\u30d7\u30c6\u30a3\u30f3\u30b0\u30ac\u30a4\u30c9 | \u30b9\u30af\u30ea\u30d7\u30c8\u4f8b | MECHANICAL \u30bb\u30c3\u30b7\u30e7\u30f3\u306e\u64cd\u4f5c\u306b\u4f7f\u7528\u3059\u308b\u30b9\u30af\u30ea\u30d7\u30c8\u4f8b | \u30e6\u30fc\u30b6\u30fc\u30d5\u30a1\u30a4\u30eb\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u53d6\u5f97\u3059\u308b https:\/\/ansyshelp.ansys.com\/account\/secured?returnurl=\/Views\/Secured\/corp\/v212\/ja\/act_script\/act_script_examples_get_file_dir.html \u307e\u305f\u3001Workbench\u3067\u5b9f\u884c\u53ef\u80fd\u306a\u30b3\u30de\u30f3\u30c9\u306b\u3064\u3044\u3066\u306f\u4e0b\u8a18\u306b\u4e00\u89a7\u304c\u3054\u3056\u3044\u307e\u3059\u3002 \u30b3\u30de\u30f3\u30c9\u3092\u5dee\u3057\u63db\u3048\u308c\u3070\u3001\u305d\u306e\u4ed6\u306e\u60c5\u5831\u3082\u53d6\u5f97\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002 Customization Suite 2021 R2| Workbench \u30b9\u30af\u30ea\u30d7\u30c6\u30a3\u30f3\u30b0\u30ac\u30a4\u30c9 | \u540d\u524d\u7a7a\u9593\u4ed8\u304d\u30b3\u30de\u30f3\u30c9 Project https:\/\/ansyshelp.ansys.com\/account\/secured?returnurl=\/Views\/Secured\/corp\/v212\/ja\/wb2_js\/Namespace15.html"},"aioseo_meta_data":{"post_id":"164086","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"limit_modified_date":false,"created":"2025-10-17 21:13:17","updated":"2026-07-29 13:10:22","ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/innovationspace.ansys.com\/knowledge\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/innovationspace.ansys.com\/knowledge\/topics\/\" title=\"Topics\">Topics<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic-tag\/mechanical\/?template=japan\" title=\"mechanical\">mechanical<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t\u30b9\u30af\u30ea\u30d7\u30c8\u4e2d\u3067\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u5834\u6240\u3092\u53d6\u5f97\u3059\u308b\u65b9\u6cd5\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/innovationspace.ansys.com\/knowledge"},{"label":"Topics","link":"https:\/\/innovationspace.ansys.com\/knowledge\/topics\/"},{"label":"mechanical","link":"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic-tag\/mechanical\/?template=japan"},{"label":"\u30b9\u30af\u30ea\u30d7\u30c8\u4e2d\u3067\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u5834\u6240\u3092\u53d6\u5f97\u3059\u308b\u65b9\u6cd5","link":"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic\/%e3%82%b9%e3%82%af%e3%83%aa%e3%83%97%e3%83%88%e4%b8%ad%e3%81%a7%e3%83%97%e3%83%ad%e3%82%b8%e3%82%a7%e3%82%af%e3%83%88%e3%83%87%e3%82%a3%e3%83%ac%e3%82%af%e3%83%88%e3%83%aa%e3%81%ae%e5%a0%b4%e6%89%80\/"}],"acf":[],"custom_fields":[{"0":{"_wp_page_template":["default"],"_bbp_last_active_time":["1-31-2023  20:20:40"],"_bbp_forum_id":["162345"],"_bbp_author_ip":["209.182.204.162"],"_btv_view_count":["706"],"siebel_km_number":["2067812"],"product_version":["2021 R2"],"km_published_date":["5\/18\/2022 21:18"],"family":["Structural Mechanics"],"application_name":["Mechanical"]},"test":"articlesansys-com"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/topics\/164086","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":0,"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/topics\/164086\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/media?parent=164086"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}