


{"id":290799,"date":"2023-06-28T18:59:10","date_gmt":"2023-06-28T18:59:10","guid":{"rendered":"\/forum\/forums\/topic\/error-eval-unbound-variable-when-executing-command\/"},"modified":"2023-06-28T18:59:10","modified_gmt":"2023-06-28T18:59:10","slug":"error-eval-unbound-variable-when-executing-command","status":"closed","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/error-eval-unbound-variable-when-executing-command\/","title":{"rendered":"Error: eval: unbound variable when executing command"},"content":{"rendered":"<p>Hi,<\/p>\n<p>I&#8217;m trying to change a BC during my calculation using the &#8220;Execute Command&#8221; function. I&#8217;m executing :<\/p>\n<p><em>(if( &lt; 0 (pick-a-real&#8221;\/report\/v-i\/max 8 9, pressure n&#8221;)) (ti-menu-load-string&#8221;\/define\/b-c\/z-t 13 interior&#8221;))<\/em><\/p>\n<p>It&#8217;s working fine when tested in the TUI but during the actual calculation I&#8217;m seeing this error :&nbsp;<\/p>\n<p style=\"text-indent: 0px;margin: 0px\"><span style=\"color: #ff0000\">Error: eval: unbound variable<\/span><\/p>\n<p style=\"text-indent: 0px;margin: 0px\"><span style=\"color: #ff0000\">Error Object: 0&nbsp;<\/span><\/p>\n<p style=\"text-indent: 0px;margin: 0px\">&nbsp;<\/p>\n<p style=\"text-indent: 0px;margin: 0px\"><span>Any idea why it&#8217;s not working in the execute command promt ?<\/span><\/p>\n<p style=\"text-indent: 0px;margin: 0px\"><span>Thanks<\/span><\/p>\n","protected":false},"template":"","class_list":["post-290799","topic","type-topic","status-closed","hentry","topic-tag-execute-commands","topic-tag-fluent"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_bbp_subscription":["62474","199"],"_bbp_author_ip":["23.33.28.204"]," _bbp_last_reply_id":["0"]," _bbp_likes_count":["0"],"_btv_view_count":["1757"],"_bbp_topic_status":["unanswered"],"_bbp_status":["publish"],"_bbp_topic_id":["290799"],"_bbp_forum_id":["27792"],"_bbp_engagement":["199","62474"],"_bbp_voice_count":["2"],"_bbp_reply_count":["3"],"_bbp_last_reply_id":["291587"],"_bbp_last_active_id":["291587"],"_bbp_last_active_time":["2023-07-05 07:43:24"]},"test":"mathieu-goureaupolymtl-ca"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/290799","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\/290799\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=290799"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}