


{"id":463053,"date":"2026-08-28T19:11:43","date_gmt":"2026-08-28T19:11:43","guid":{"rendered":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/pyrocky-with-ansysrocky-student-edition\/"},"modified":"2026-08-28T19:11:43","modified_gmt":"2026-08-28T19:11:43","slug":"pyrocky-with-ansysrocky-student-edition","status":"publish","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/pyrocky-with-ansysrocky-student-edition\/","title":{"rendered":"PyRocky with Ansys\/Rocky student edition"},"content":{"rendered":"<p>Is the API supposed to work with the student edition\/licence of ansys\/rocky 2026R1?<\/p>\n<p>My script is working correctly with commercially licensed rocky but crash with student edition.<\/p>\n<p>I could launch rocky with the code correctly then it lost the connection.&nbsp; If I&nbsp; launch Rocky manually and try to connect from the script it can&#8217;t connect at all.<\/p>\n<p>#1- launch rocky implicitely, rocky launched then connection is lost<\/p>\n<p>rocky = pyrocky.launch_rocky(headless=False)<\/p>\n<p>#2 &#8211; Launch rocky explicitely, same, it launch then connection is lost<br \/>from pathlib import Path<br \/>rocky_exe_path = Path(r&#8221;C:Program FilesANSYS IncANSYS Studentv261rockybinRocky.exe&#8221;)<br \/>rocky = pyrocky.launch_rocky(rocky_exe=rocky_exe_path, server_port=5061, headless=False)<\/p>\n<p>#3- Launch rocky manually (in a shell or thru windows menu) then launch the script, can&#8217;t connect<\/p>\n<p>rocky = pyrocky.connect_to_rocky()<\/p>\n<p>Yes, firewall rules are opened explicitely on windows defender both on input and output for rocky.exe application<\/p>\n<p>The same code work flawless (any of it) with a teaching\/research licence, but I want student to be able to run them at home with their personnal student version\/license.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"template":"","class_list":["post-463053","topic","type-topic","status-publish","hentry","topic-tag-rocky-dem-1"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"Is the API supposed to work with the student edition\/licence of ansys\/rocky 2026R1? My script is working correctly with commercially licensed rocky but crash with student edition. I could launch rocky with the code correctly then it lost the connection. If I launch Rocky manually and try to connect from the script it can&#039;t connect\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/pyrocky-with-ansysrocky-student-edition\/\" \/>\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 Learning Forum | Ansys Innovation Space\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"PyRocky with Ansys\/Rocky student edition | Ansys Learning Forum\" \/>\n\t\t<meta property=\"og:description\" content=\"Is the API supposed to work with the student edition\/licence of ansys\/rocky 2026R1? My script is working correctly with commercially licensed rocky but crash with student edition. I could launch rocky with the code correctly then it lost the connection. If I launch Rocky manually and try to connect from the script it can&#039;t connect\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/pyrocky-with-ansysrocky-student-edition\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2026-08-28T19:11:43+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2026-08-28T19:11:43+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"PyRocky with Ansys\/Rocky student edition | Ansys Learning Forum\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Is the API supposed to work with the student edition\/licence of ansys\/rocky 2026R1? My script is working correctly with commercially licensed rocky but crash with student edition. I could launch rocky with the code correctly then it lost the connection. If I launch Rocky manually and try to connect from the script it can&#039;t connect\" \/>\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\\\/forum\\\/forums\\\/topic\\\/pyrocky-with-ansysrocky-student-edition\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/topics\\\/#listItem\",\"name\":\"Topics\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/topics\\\/#listItem\",\"position\":2,\"name\":\"Topics\",\"item\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/topics\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic-tag\\\/rocky-dem-1\\\/#listItem\",\"name\":\"rocky-dem\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic-tag\\\/rocky-dem-1\\\/#listItem\",\"position\":3,\"name\":\"rocky-dem\",\"item\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic-tag\\\/rocky-dem-1\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/pyrocky-with-ansysrocky-student-edition\\\/#listItem\",\"name\":\"PyRocky with Ansys\\\/Rocky student edition\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/topics\\\/#listItem\",\"name\":\"Topics\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/pyrocky-with-ansysrocky-student-edition\\\/#listItem\",\"position\":4,\"name\":\"PyRocky with Ansys\\\/Rocky student edition\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic-tag\\\/rocky-dem-1\\\/#listItem\",\"name\":\"rocky-dem\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/#organization\",\"name\":\"Ansys Learning Forum\",\"description\":\"Ansys Innovation Space\",\"url\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/pyrocky-with-ansysrocky-student-edition\\\/#webpage\",\"url\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/pyrocky-with-ansysrocky-student-edition\\\/\",\"name\":\"PyRocky with Ansys\\\/Rocky student edition | Ansys Learning Forum\",\"description\":\"Is the API supposed to work with the student edition\\\/licence of ansys\\\/rocky 2026R1? My script is working correctly with commercially licensed rocky but crash with student edition. I could launch rocky with the code correctly then it lost the connection. If I launch Rocky manually and try to connect from the script it can't connect\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/pyrocky-with-ansysrocky-student-edition\\\/#breadcrumblist\"},\"datePublished\":\"2026-08-28T19:11:43+00:00\",\"dateModified\":\"2026-08-28T19:11:43+00:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/#website\",\"url\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/\",\"name\":\"Ansys Learning Forum\",\"description\":\"Ansys Innovation Space\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"PyRocky with Ansys\/Rocky student edition | Ansys Learning Forum","description":"Is the API supposed to work with the student edition\/licence of ansys\/rocky 2026R1? My script is working correctly with commercially licensed rocky but crash with student edition. I could launch rocky with the code correctly then it lost the connection. If I launch Rocky manually and try to connect from the script it can't connect","canonical_url":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/pyrocky-with-ansysrocky-student-edition\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BreadcrumbList","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/pyrocky-with-ansysrocky-student-edition\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum#listItem","position":1,"name":"Home","item":"https:\/\/innovationspace.ansys.com\/forum","nextItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/topics\/#listItem","name":"Topics"}},{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/topics\/#listItem","position":2,"name":"Topics","item":"https:\/\/innovationspace.ansys.com\/forum\/topics\/","nextItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic-tag\/rocky-dem-1\/#listItem","name":"rocky-dem"},"previousItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic-tag\/rocky-dem-1\/#listItem","position":3,"name":"rocky-dem","item":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic-tag\/rocky-dem-1\/","nextItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/pyrocky-with-ansysrocky-student-edition\/#listItem","name":"PyRocky with Ansys\/Rocky student edition"},"previousItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/topics\/#listItem","name":"Topics"}},{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/pyrocky-with-ansysrocky-student-edition\/#listItem","position":4,"name":"PyRocky with Ansys\/Rocky student edition","previousItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic-tag\/rocky-dem-1\/#listItem","name":"rocky-dem"}}]},{"@type":"Organization","@id":"https:\/\/innovationspace.ansys.com\/forum\/#organization","name":"Ansys Learning Forum","description":"Ansys Innovation Space","url":"https:\/\/innovationspace.ansys.com\/forum\/"},{"@type":"WebPage","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/pyrocky-with-ansysrocky-student-edition\/#webpage","url":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/pyrocky-with-ansysrocky-student-edition\/","name":"PyRocky with Ansys\/Rocky student edition | Ansys Learning Forum","description":"Is the API supposed to work with the student edition\/licence of ansys\/rocky 2026R1? My script is working correctly with commercially licensed rocky but crash with student edition. I could launch rocky with the code correctly then it lost the connection. If I launch Rocky manually and try to connect from the script it can't connect","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/innovationspace.ansys.com\/forum\/#website"},"breadcrumb":{"@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/pyrocky-with-ansysrocky-student-edition\/#breadcrumblist"},"datePublished":"2026-08-28T19:11:43+00:00","dateModified":"2026-08-28T19:11:43+00:00"},{"@type":"WebSite","@id":"https:\/\/innovationspace.ansys.com\/forum\/#website","url":"https:\/\/innovationspace.ansys.com\/forum\/","name":"Ansys Learning Forum","description":"Ansys Innovation Space","inLanguage":"en-US","publisher":{"@id":"https:\/\/innovationspace.ansys.com\/forum\/#organization"}}]},"og:locale":"en_US","og:site_name":"Ansys Learning Forum | Ansys Innovation Space","og:type":"article","og:title":"PyRocky with Ansys\/Rocky student edition | Ansys Learning Forum","og:description":"Is the API supposed to work with the student edition\/licence of ansys\/rocky 2026R1? My script is working correctly with commercially licensed rocky but crash with student edition. I could launch rocky with the code correctly then it lost the connection. If I launch Rocky manually and try to connect from the script it can't connect","og:url":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/pyrocky-with-ansysrocky-student-edition\/","article:published_time":"2026-08-28T19:11:43+00:00","article:modified_time":"2026-08-28T19:11:43+00:00","twitter:card":"summary_large_image","twitter:title":"PyRocky with Ansys\/Rocky student edition | Ansys Learning Forum","twitter:description":"Is the API supposed to work with the student edition\/licence of ansys\/rocky 2026R1? My script is working correctly with commercially licensed rocky but crash with student edition. I could launch rocky with the code correctly then it lost the connection. If I launch Rocky manually and try to connect from the script it can't connect"},"aioseo_meta_data":[],"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/innovationspace.ansys.com\/forum\" 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\/forum\/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\/forum\/forums\/topic-tag\/rocky-dem-1\/\" title=\"rocky-dem\">rocky-dem<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tPyRocky with Ansys\/Rocky student edition\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/innovationspace.ansys.com\/forum"},{"label":"Topics","link":"https:\/\/innovationspace.ansys.com\/forum\/topics\/"},{"label":"rocky-dem","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic-tag\/rocky-dem-1\/"},{"label":"PyRocky with Ansys\/Rocky student edition","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/pyrocky-with-ansysrocky-student-edition\/"}],"acf":[],"custom_fields":[{"0":{"_bbp_forum_id":["27792"],"_bbp_topic_id":["463053"],"_bbp_subscription":["32872"],"_bbp_author_ip":[null],"_bbp_last_reply_id":["0"],"_bbp_last_active_id":["463053"],"_bbp_last_active_time":["2026-08-28 19:11:43"],"_bbp_reply_count":["0"],"_bbp_reply_count_hidden":["0"],"_bbp_engagement":["1"],"_bbp_likes_count":["0"],"_btv_view_count":["16"],"application":[null],"emailnotification":[null],"_bbp_topic_status":["unanswered"]},"test":"jlcyruqac-ca"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/463053","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics"}],"about":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/463053\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=463053"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}