


{"id":255873,"date":"2020-08-04T08:28:40","date_gmt":"2020-08-04T08:28:40","guid":{"rendered":"\/forum\/forums\/topic\/starting-script-externally-closing-doc\/"},"modified":"2020-08-04T08:28:40","modified_gmt":"2020-08-04T08:28:40","slug":"starting-script-externally-closing-doc","status":"closed","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/starting-script-externally-closing-doc\/","title":{"rendered":"Starting script externally &#038; closing doc"},"content":{"rendered":"<p> I ve written a script in Spaceclaim to take in parameters, update the model and save the model as a new file. Now ideally I want to include that process in a larger script I ve written so I m wondering if there is a possibility to start a script using an external python script (or after opening Spaceclaim with this external python program).&nbsp; <\/p>\n<p> Next to that at the end of the geometry creation script in spaceclaim I want to close the active document, however did not see any code for that, so question is if there there is a command to close the active document? <\/p>\n","protected":false},"template":"","class_list":["post-255873","topic","type-topic","status-closed","hentry","topic-tag-scripting","topic-tag-spaceclaim"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_bbp_subscription":["278237"],"_bbp_likes_count":["0"],"_btv_view_count":["630"],"_bbp_topic_status":["unanswered"],"_bbp_status":["publish"],"_bbp_topic_id":["255873"],"_bbp_forum_id":["27789"],"_bbp_engagement":["126","278237"],"_bbp_voice_count":["2"],"_bbp_reply_count":["1"],"_bbp_last_reply_id":["267689"],"_bbp_last_active_id":["267689"],"_bbp_last_active_time":["2020-08-04 10:05:15"]},"test":"d-vleugelsairbusds-nl"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/255873","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\/255873\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=255873"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}