


{"id":422394,"date":"2025-02-19T15:16:24","date_gmt":"2025-02-19T15:16:24","guid":{"rendered":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/scripting-displacement-to-tabular-form-in-ansys-mechanical-help\/"},"modified":"2025-02-19T15:20:57","modified_gmt":"2025-02-19T15:20:57","slug":"scripting-displacement-to-tabular-form-in-ansys-mechanical-help","status":"publish","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/scripting-displacement-to-tabular-form-in-ansys-mechanical-help\/","title":{"rendered":"Scripting Displacement to tabular form in Ansys Mechanical &#8211; HELP!"},"content":{"rendered":"<p>&lt;p&gt;&lt;p&gt;<img decoding=\"async\" src=\"https:\/\/innovationspace.ansys.com\/forum\/wp-content\/uploads\/sites\/2\/2025\/02\/19-02-2025-1739977313-mceclip0.png\" \/><img decoding=\"async\" src=\"https:\/\/innovationspace.ansys.com\/forum\/wp-content\/uploads\/sites\/2\/2025\/02\/19-02-2025-1739977495-mceclip2.png\" \/><img decoding=\"async\" src=\"https:\/\/innovationspace.ansys.com\/forum\/wp-content\/uploads\/sites\/2\/2025\/02\/19-02-2025-1739977659-mceclip3.png\" \/>&lt;\/p&gt;&lt;p&gt;Hello!&lt;\/p&gt;&lt;p&gt;I am trying to get from Image two too image one with scripting. I am having trouble setting the I want to set the distance to tabular data and set the indipendant variable and X-axis to &#8220;Y&#8221; as seen in the 2nd phtot. The third photo is the script I have so far. Does anyone know the sintax?&lt;\/p&gt;&lt;p&gt;&nbsp;&lt;\/p&gt;&lt;p&gt;Also does anyone know how I could inport data from an excel sheet into the tabular data? It says I have to use XML format but is there an easier way. I know I can attactch my excel file to the ansys workbench and define as variables. But i feel that since I have 250 variables it would be ineficent for displacment data. Your help would and advice wold be greatly appreciated!&lt;\/p&gt;&lt;p&gt;&nbsp;&lt;\/p&gt;&lt;\/p&gt;<\/p>\n","protected":false},"template":"","class_list":["post-422394","topic","type-topic","status-publish","hentry","topic-tag-displacementcondition-1","topic-tag-displacements","topic-tag-scripting"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_bbp_forum_id":["27791"],"_bbp_topic_id":["422394"],"_bbp_subscription":["518997","58821"],"_bbp_author_ip":["165.225.212.168"],"_bbp_last_reply_id":["422396"],"_bbp_last_active_id":["422396"],"_bbp_last_active_time":["2025-02-19 15:21:44"],"_bbp_reply_count":["1"],"_bbp_reply_count_hidden":["0"],"_bbp_voice_count":["2"],"_bbp_engagement":["518997","58821"],"_btv_view_count":["87"],"_bbp_topic_status":["unanswered"],"_bbp_notification_enabled":["518997"],"_bbp_likes_count":["1"],"_edit_last":["518997"],"_bbp_revision_log":["a:1:{i:422395;a:2:{s:6:\"author\";i:518997;s:6:\"reason\";s:0:\"\";}}"]},"test":"ibike8nowgmail-com"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/422394","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":1,"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/422394\/revisions"}],"predecessor-version":[{"id":422395,"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/422394\/revisions\/422395"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=422394"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}