


{"id":162889,"date":"2021-10-07T13:35:48","date_gmt":"2021-10-07T13:35:48","guid":{"rendered":"\/forum\/forums\/topic\/learning-to-script-in-spaceclaim\/"},"modified":"2021-10-07T15:55:30","modified_gmt":"2021-10-07T15:55:30","slug":"learning-to-script-in-spaceclaim","status":"closed","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/learning-to-script-in-spaceclaim\/","title":{"rendered":"Learning to script in SpaceClaim"},"content":{"rendered":"<div class=\"Item-Body\">\n<div class=\"Message userContent\">\n<p>I&#039;m trying to get into SpaceClaim scripting (not a professional programmer) and have a few questions:<\/p>\n<ol>\n<li>What are the differences between SpaceClaim and DesignModeler?<\/li>\n<li>Is there a comprehensive command reference other than the API documentation? Looking up commands in the API doc can be a bit tedious at times since they are spread across multiple categories and poorly documented, which means I basically have to learn the syntax by recording scripts.<\/li>\n<li>I noticed scripts can be saved as either *.py or *.scscript files. Is there any difference between them?<\/li>\n<li>Just out of interest: The Python scripts are directly processed by SpaceClaim, but afaik the API can also be used with C# (at least the syntax is in the doc). Does anyone know how a C# program would connect to SpaceClaim?<\/li>\n<\/ol>\n<p>Thanks a lot.<\/p>\n","protected":false},"template":"","class_list":["post-162889","topic","type-topic","status-closed","hentry","topic-tag-api","topic-tag-scripting"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_bbp_author_ip":[""],"_bbp_old_reply_author_name_id":["Anonymous"],"_bbp_old_is_reply_anonymous_id":["false"],"_btv_view_count":["1212"],"_bbp_likes_count":["0"],"_bbp_subscription":["255128"],"_bbp_topic_status":["unanswered"],"_bbp_status":["publish"],"_bbp_topic_id":["162889"],"_bbp_forum_id":["27789"],"_bbp_engagement":["200","181007"],"_bbp_voice_count":["2"],"_bbp_reply_count":["4"],"_bbp_last_reply_id":["194202"],"_bbp_last_active_id":["194202"],"_bbp_last_active_time":["2021-10-07 15:55:30"]},"test":"pineapple"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/162889","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\/162889\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=162889"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}