


{"id":394448,"date":"2024-11-20T08:23:03","date_gmt":"2024-11-20T08:23:03","guid":{"rendered":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/new-parameters-in-workbench-mechanical-using-cpython-object\/"},"modified":"2024-11-20T09:35:59","modified_gmt":"2024-11-20T09:35:59","slug":"new-parameters-in-workbench-mechanical-using-cpython-object","status":"closed","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/new-parameters-in-workbench-mechanical-using-cpython-object\/","title":{"rendered":"New parameters in Workbench Mechanical using CPython object"},"content":{"rendered":"<p>&lt;p&gt;Dear colleagues,&lt;\/p&gt;&lt;p&gt;in my static structural analysis after adding a CPython object in after post I processed some data creating a new scalar but I don&#8217;t know how to return this new variable to Ansys and parametrize it.&lt;\/p&gt;&lt;p&gt;Basically, I would like to have this new scalar variable, not already present by default into Mechanical, parametrizable as output for the MOGA optimization analysis.&lt;\/p&gt;&lt;p&gt;Thank you&lt;\/p&gt;<\/p>\n","protected":false},"template":"","class_list":["post-394448","topic","type-topic","status-closed","hentry","topic-tag-ansysworkbench-ansys-staticstructural","topic-tag-ansys-workbench-mechancal","topic-tag-output-parameter-1","topic-tag-python"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"Dear colleagues,in my static structural analysis after adding a CPython object in after post I processed some data creating a new scalar but I don&#039;t know how to return this new variable to Ansys and parametrize it.Basically, I would like to have this new scalar variable, not already present by default into Mechanical, parametrizable as\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/new-parameters-in-workbench-mechanical-using-cpython-object\/\" \/>\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=\"New parameters in Workbench Mechanical using CPython object | Ansys Learning Forum\" \/>\n\t\t<meta property=\"og:description\" content=\"Dear colleagues,in my static structural analysis after adding a CPython object in after post I processed some data creating a new scalar but I don&#039;t know how to return this new variable to Ansys and parametrize it.Basically, I would like to have this new scalar variable, not already present by default into Mechanical, parametrizable as\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/new-parameters-in-workbench-mechanical-using-cpython-object\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2024-11-20T08:23:03+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2024-11-20T09:35:59+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"New parameters in Workbench Mechanical using CPython object | Ansys Learning Forum\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Dear colleagues,in my static structural analysis after adding a CPython object in after post I processed some data creating a new scalar but I don&#039;t know how to return this new variable to Ansys and parametrize it.Basically, I would like to have this new scalar variable, not already present by default into Mechanical, parametrizable as\" \/>\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\\\/new-parameters-in-workbench-mechanical-using-cpython-object\\\/#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\\\/ansys-workbench-mechancal\\\/#listItem\",\"name\":\"ansys-workbench-mechancal\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic-tag\\\/ansys-workbench-mechancal\\\/#listItem\",\"position\":3,\"name\":\"ansys-workbench-mechancal\",\"item\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic-tag\\\/ansys-workbench-mechancal\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/new-parameters-in-workbench-mechanical-using-cpython-object\\\/#listItem\",\"name\":\"New parameters in Workbench Mechanical using CPython object\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/topics\\\/#listItem\",\"name\":\"Topics\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/new-parameters-in-workbench-mechanical-using-cpython-object\\\/#listItem\",\"position\":4,\"name\":\"New parameters in Workbench Mechanical using CPython object\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic-tag\\\/ansys-workbench-mechancal\\\/#listItem\",\"name\":\"ansys-workbench-mechancal\"}}]},{\"@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\\\/new-parameters-in-workbench-mechanical-using-cpython-object\\\/#webpage\",\"url\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/new-parameters-in-workbench-mechanical-using-cpython-object\\\/\",\"name\":\"New parameters in Workbench Mechanical using CPython object | Ansys Learning Forum\",\"description\":\"Dear colleagues,in my static structural analysis after adding a CPython object in after post I processed some data creating a new scalar but I don't know how to return this new variable to Ansys and parametrize it.Basically, I would like to have this new scalar variable, not already present by default into Mechanical, parametrizable as\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/new-parameters-in-workbench-mechanical-using-cpython-object\\\/#breadcrumblist\"},\"datePublished\":\"2024-11-20T08:23:03+00:00\",\"dateModified\":\"2024-11-20T09:35:59+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":"New parameters in Workbench Mechanical using CPython object | Ansys Learning Forum","description":"Dear colleagues,in my static structural analysis after adding a CPython object in after post I processed some data creating a new scalar but I don't know how to return this new variable to Ansys and parametrize it.Basically, I would like to have this new scalar variable, not already present by default into Mechanical, parametrizable as","canonical_url":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/new-parameters-in-workbench-mechanical-using-cpython-object\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BreadcrumbList","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/new-parameters-in-workbench-mechanical-using-cpython-object\/#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\/ansys-workbench-mechancal\/#listItem","name":"ansys-workbench-mechancal"},"previousItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic-tag\/ansys-workbench-mechancal\/#listItem","position":3,"name":"ansys-workbench-mechancal","item":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic-tag\/ansys-workbench-mechancal\/","nextItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/new-parameters-in-workbench-mechanical-using-cpython-object\/#listItem","name":"New parameters in Workbench Mechanical using CPython object"},"previousItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/topics\/#listItem","name":"Topics"}},{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/new-parameters-in-workbench-mechanical-using-cpython-object\/#listItem","position":4,"name":"New parameters in Workbench Mechanical using CPython object","previousItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic-tag\/ansys-workbench-mechancal\/#listItem","name":"ansys-workbench-mechancal"}}]},{"@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\/new-parameters-in-workbench-mechanical-using-cpython-object\/#webpage","url":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/new-parameters-in-workbench-mechanical-using-cpython-object\/","name":"New parameters in Workbench Mechanical using CPython object | Ansys Learning Forum","description":"Dear colleagues,in my static structural analysis after adding a CPython object in after post I processed some data creating a new scalar but I don't know how to return this new variable to Ansys and parametrize it.Basically, I would like to have this new scalar variable, not already present by default into Mechanical, parametrizable as","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/innovationspace.ansys.com\/forum\/#website"},"breadcrumb":{"@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/new-parameters-in-workbench-mechanical-using-cpython-object\/#breadcrumblist"},"datePublished":"2024-11-20T08:23:03+00:00","dateModified":"2024-11-20T09:35:59+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":"New parameters in Workbench Mechanical using CPython object | Ansys Learning Forum","og:description":"Dear colleagues,in my static structural analysis after adding a CPython object in after post I processed some data creating a new scalar but I don't know how to return this new variable to Ansys and parametrize it.Basically, I would like to have this new scalar variable, not already present by default into Mechanical, parametrizable as","og:url":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/new-parameters-in-workbench-mechanical-using-cpython-object\/","article:published_time":"2024-11-20T08:23:03+00:00","article:modified_time":"2024-11-20T09:35:59+00:00","twitter:card":"summary_large_image","twitter:title":"New parameters in Workbench Mechanical using CPython object | Ansys Learning Forum","twitter:description":"Dear colleagues,in my static structural analysis after adding a CPython object in after post I processed some data creating a new scalar but I don't know how to return this new variable to Ansys and parametrize it.Basically, I would like to have this new scalar variable, not already present by default into Mechanical, parametrizable as"},"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\/ansys-workbench-mechancal\/\" title=\"ansys-workbench-mechancal\">ansys-workbench-mechancal<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tNew parameters in Workbench Mechanical using CPython object\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":"ansys-workbench-mechancal","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic-tag\/ansys-workbench-mechancal\/"},{"label":"New parameters in Workbench Mechanical using CPython object","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/new-parameters-in-workbench-mechanical-using-cpython-object\/"}],"acf":[],"custom_fields":[{"0":{"_bbp_subscription":["483316","58821"],"_bbp_author_ip":["2a02:b025:12:d256:88d3:3b64:25dd:3dce"],"_btv_view_count":["208"],"_bbp_topic_status":["unanswered"],"_bbp_status":["publish"],"_bbp_topic_id":["394448"],"_bbp_forum_id":["27791"],"_bbp_engagement":["58821","483316"],"_bbp_voice_count":["2"],"_bbp_reply_count":["1"],"_bbp_last_reply_id":["394462"],"_bbp_last_active_id":["394462"],"_bbp_last_active_time":["2024-11-20 09:35:53"]},"test":"manuele-rossettiedu-unige-it"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/394448","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\/394448\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=394448"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}