


{"id":343899,"date":"2024-01-10T02:02:22","date_gmt":"2024-01-10T02:02:22","guid":{"rendered":"\/forum\/forums\/topic\/scripting-constraint-equations-in-workbench\/"},"modified":"2024-01-11T05:38:29","modified_gmt":"2024-01-11T05:38:29","slug":"scripting-constraint-equations-in-workbench","status":"closed","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/scripting-constraint-equations-in-workbench\/","title":{"rendered":"Scripting Constraint Equations in Workbench"},"content":{"rendered":"<p>Hello,<\/p>\n<p>&nbsp;<\/p>\n<p>I am attempting to add and define contraint equations in a static structural simulation in Mechanical Workbench. I would like to do this using the Workbench scripting language, however I have been unable to determine how to edit the equations. I need to create many equations, so manually selecting the remote points and DOF is not a valid option for me. I understand how to define the equations in APDL, however I am strictly interested in doing it with Workbench scripting methods. Is there a method to edit these equations in Workbench scripting? Any advice is appreciated.<\/p>\n<p>&nbsp;<\/p>\n<p><img decoding=\"async\" src=\"\/forum\/wp-content\/uploads\/sites\/2\/2024\/01\/10-01-2024-1704851962-Capture2.PNG\" alt=\"\"><\/p>\n","protected":false},"template":"","class_list":["post-343899","topic","type-topic","status-closed","hentry","topic-tag-ansysworkbench-ansys-staticstructural","topic-tag-automationACT-1","topic-tag-constraints","topic-tag-python-scripting"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_bbp_subscription":["336677","58821","170445"],"_bbp_author_ip":["23.52.43.81"]," _bbp_last_reply_id":["0"]," _bbp_likes_count":["0"],"_btv_view_count":["1067"],"_bbp_topic_status":["unanswered"],"_bbp_status":["publish"],"_bbp_topic_id":["343899"],"_bbp_forum_id":["27791"],"_bbp_engagement":["58821","336677"],"_bbp_voice_count":["2"],"_bbp_reply_count":["2"],"_bbp_reply_count_hidden":["1"],"_bbp_last_reply_id":["344071"],"_bbp_last_active_id":["344071"],"_bbp_last_active_time":["2024-01-10 20:21:13"]},"test":"acw922umsystem-edu"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/343899","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\/343899\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=343899"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}