{"id":16245,"date":"2022-02-24T13:33:17","date_gmt":"2022-02-24T12:33:17","guid":{"rendered":"https:\/\/manual.keyshot.com\/keyshot11\/manual\/scripting-scripts-abbrechen\/"},"modified":"2022-02-24T13:57:41","modified_gmt":"2022-02-24T12:57:41","slug":"scripting-scripts-abbrechen","status":"publish","type":"manual_documentation","link":"https:\/\/manual.keyshot.com\/keyshot11\/manual\/scripting\/quick-start-scripting\/scripting-scripts-abbrechen\/?lang=de","title":{"rendered":"Scripting: Scripts Abbrechen"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Scripts Abbrechen <sup>(nur GUI)<\/sup><\/h2>\n\n<p class=\"wp-block-paragraph\">Im Allgemeinen k\u00f6nnen Sie ein Skript nicht abbrechen, bestimmte Vorg\u00e4nge, wie z. B. das Importieren einer Datei oder das Rendern eines Bildes, einer Animation oder XR, k\u00f6nnen jedoch abgebrochen werden. Das Abbrechen in diesen Situationen bedeutet, dass der zugeh\u00f6rige Dialog, wie das Renderausgabefenster oder der Importfortschrittsdialog, abgebrochen wird.<\/p>\n\n<p class=\"wp-block-paragraph\">Die einzigen Vorg\u00e4nge, die Sie abbrechen k\u00f6nnen, sind:<\/p>\n\n<ul class=\"wp-block-list\"><li><em>lux.importFile()<\/em><\/li><li><em>lux.renderImage()<\/em><\/li><li><em>lux.renderFrames()<\/em><\/li><li><em>lux.renderAnimation()<\/em><\/li><li><em>lux.renderXR()<\/em><\/li><li><em>lux.encodeVideo()<\/em><\/li><\/ul>\n<p class=\"wp-block-paragraph\">\u00dcberpr\u00fcfen Sie einfach den R\u00fcckgabewert, um festzustellen, ob er False war und daher abgebrochen wurde oder fehlgeschlagen ist.<\/p>\n\n<p class=\"wp-block-paragraph\">Besonders wenn Sie eine Schleifenstruktur verwenden, k\u00f6nnen Sie Folgendes tun:<\/p>\n\n<pre class=\"wp-block-code\"><code class=\"\">&gt;&gt;&gt; frames = 10\n&gt;&gt;&gt; for frame in range(1, frames + 1):\n        lux.setAnimationFrame(frame)\n        if not lux.renderImage(\"\/path\/to\/output.{}.png\".format(frame)):\n            break<\/code><\/pre>\n","protected":false},"author":29916,"featured_media":0,"parent":16246,"menu_order":20,"template":"","manualdocumentationcategory":[19],"manual_doc_tag":[],"class_list":["post-16245","manual_documentation","type-manual_documentation","status-publish","hentry","manualdocumentationcategory-keyshot-de"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Scripting: Scripts Abbrechen - KeyShot 11 Manual<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/manual.keyshot.com\/keyshot11\/manual\/scripting\/quick-start-scripting\/scripting-scripts-abbrechen\/?lang=de\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Scripting: Scripts Abbrechen - KeyShot 11 Manual\" \/>\n<meta property=\"og:description\" content=\"Scripts Abbrechen (nur GUI) Im Allgemeinen k\u00f6nnen Sie ein Skript nicht abbrechen, bestimmte Vorg\u00e4nge, wie z. B. das Importieren einer Datei oder das Rendern eines Bildes, einer Animation oder XR, k\u00f6nnen jedoch abgebrochen werden. Das Abbrechen in diesen Situationen bedeutet, dass der zugeh\u00f6rige Dialog, wie das Renderausgabefenster oder der Importfortschrittsdialog, abgebrochen wird. Die einzigen Vorg\u00e4nge, [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/manual.keyshot.com\/keyshot11\/manual\/scripting\/quick-start-scripting\/scripting-scripts-abbrechen\/?lang=de\" \/>\n<meta property=\"og:site_name\" content=\"KeyShot 11 Manual\" \/>\n<meta property=\"article:modified_time\" content=\"2022-02-24T12:57:41+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/manual.keyshot.com\\\/keyshot11\\\/manual\\\/scripting\\\/quick-start-scripting\\\/scripting-scripts-abbrechen\\\/?lang=de\",\"url\":\"https:\\\/\\\/manual.keyshot.com\\\/keyshot11\\\/manual\\\/scripting\\\/quick-start-scripting\\\/scripting-scripts-abbrechen\\\/?lang=de\",\"name\":\"Scripting: Scripts Abbrechen - KeyShot 11 Manual\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/manual.keyshot.com\\\/keyshot11\\\/#website\"},\"datePublished\":\"2022-02-24T12:33:17+00:00\",\"dateModified\":\"2022-02-24T12:57:41+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/manual.keyshot.com\\\/keyshot11\\\/manual\\\/scripting\\\/quick-start-scripting\\\/scripting-scripts-abbrechen\\\/?lang=de#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/manual.keyshot.com\\\/keyshot11\\\/manual\\\/scripting\\\/quick-start-scripting\\\/scripting-scripts-abbrechen\\\/?lang=de\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/manual.keyshot.com\\\/keyshot11\\\/manual\\\/scripting\\\/quick-start-scripting\\\/scripting-scripts-abbrechen\\\/?lang=de#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/manual.keyshot.com\\\/keyshot11\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Scripting\",\"item\":\"https:\\\/\\\/manual.keyshot.com\\\/keyshot11\\\/manual\\\/scripting\\\/?lang=de\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Quick Start Scripting\",\"item\":\"https:\\\/\\\/manual.keyshot.com\\\/keyshot11\\\/manual\\\/scripting\\\/quick-start-scripting\\\/?lang=de\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Scripting: Scripts Abbrechen\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/manual.keyshot.com\\\/keyshot11\\\/#website\",\"url\":\"https:\\\/\\\/manual.keyshot.com\\\/keyshot11\\\/\",\"name\":\"KeyShot 11 Manual\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/manual.keyshot.com\\\/keyshot11\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Scripting: Scripts Abbrechen - KeyShot 11 Manual","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/manual.keyshot.com\/keyshot11\/manual\/scripting\/quick-start-scripting\/scripting-scripts-abbrechen\/?lang=de","og_locale":"en_US","og_type":"article","og_title":"Scripting: Scripts Abbrechen - KeyShot 11 Manual","og_description":"Scripts Abbrechen (nur GUI) Im Allgemeinen k\u00f6nnen Sie ein Skript nicht abbrechen, bestimmte Vorg\u00e4nge, wie z. B. das Importieren einer Datei oder das Rendern eines Bildes, einer Animation oder XR, k\u00f6nnen jedoch abgebrochen werden. Das Abbrechen in diesen Situationen bedeutet, dass der zugeh\u00f6rige Dialog, wie das Renderausgabefenster oder der Importfortschrittsdialog, abgebrochen wird. Die einzigen Vorg\u00e4nge, [&hellip;]","og_url":"https:\/\/manual.keyshot.com\/keyshot11\/manual\/scripting\/quick-start-scripting\/scripting-scripts-abbrechen\/?lang=de","og_site_name":"KeyShot 11 Manual","article_modified_time":"2022-02-24T12:57:41+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/manual.keyshot.com\/keyshot11\/manual\/scripting\/quick-start-scripting\/scripting-scripts-abbrechen\/?lang=de","url":"https:\/\/manual.keyshot.com\/keyshot11\/manual\/scripting\/quick-start-scripting\/scripting-scripts-abbrechen\/?lang=de","name":"Scripting: Scripts Abbrechen - KeyShot 11 Manual","isPartOf":{"@id":"https:\/\/manual.keyshot.com\/keyshot11\/#website"},"datePublished":"2022-02-24T12:33:17+00:00","dateModified":"2022-02-24T12:57:41+00:00","breadcrumb":{"@id":"https:\/\/manual.keyshot.com\/keyshot11\/manual\/scripting\/quick-start-scripting\/scripting-scripts-abbrechen\/?lang=de#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/manual.keyshot.com\/keyshot11\/manual\/scripting\/quick-start-scripting\/scripting-scripts-abbrechen\/?lang=de"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/manual.keyshot.com\/keyshot11\/manual\/scripting\/quick-start-scripting\/scripting-scripts-abbrechen\/?lang=de#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/manual.keyshot.com\/keyshot11\/"},{"@type":"ListItem","position":2,"name":"Scripting","item":"https:\/\/manual.keyshot.com\/keyshot11\/manual\/scripting\/?lang=de"},{"@type":"ListItem","position":3,"name":"Quick Start Scripting","item":"https:\/\/manual.keyshot.com\/keyshot11\/manual\/scripting\/quick-start-scripting\/?lang=de"},{"@type":"ListItem","position":4,"name":"Scripting: Scripts Abbrechen"}]},{"@type":"WebSite","@id":"https:\/\/manual.keyshot.com\/keyshot11\/#website","url":"https:\/\/manual.keyshot.com\/keyshot11\/","name":"KeyShot 11 Manual","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/manual.keyshot.com\/keyshot11\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/manual.keyshot.com\/keyshot11\/wp-json\/wp\/v2\/manual_documentation\/16245","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/manual.keyshot.com\/keyshot11\/wp-json\/wp\/v2\/manual_documentation"}],"about":[{"href":"https:\/\/manual.keyshot.com\/keyshot11\/wp-json\/wp\/v2\/types\/manual_documentation"}],"author":[{"embeddable":true,"href":"https:\/\/manual.keyshot.com\/keyshot11\/wp-json\/wp\/v2\/users\/29916"}],"version-history":[{"count":0,"href":"https:\/\/manual.keyshot.com\/keyshot11\/wp-json\/wp\/v2\/manual_documentation\/16245\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/manual.keyshot.com\/keyshot11\/wp-json\/wp\/v2\/manual_documentation\/16246"}],"wp:attachment":[{"href":"https:\/\/manual.keyshot.com\/keyshot11\/wp-json\/wp\/v2\/media?parent=16245"}],"wp:term":[{"taxonomy":"manualdocumentationcategory","embeddable":true,"href":"https:\/\/manual.keyshot.com\/keyshot11\/wp-json\/wp\/v2\/manualdocumentationcategory?post=16245"},{"taxonomy":"manual_doc_tag","embeddable":true,"href":"https:\/\/manual.keyshot.com\/keyshot11\/wp-json\/wp\/v2\/manual_doc_tag?post=16245"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}