{"id":229,"date":"2013-04-25T14:10:15","date_gmt":"2013-04-25T18:10:15","guid":{"rendered":"http:\/\/www.tks-designs.com\/blog\/?p=229"},"modified":"2013-04-25T14:10:15","modified_gmt":"2013-04-25T18:10:15","slug":"nuke-command-line-argument-not-used","status":"publish","type":"post","link":"https:\/\/www.tks-designs.com\/blog\/?p=229","title":{"rendered":"Nuke command line, &#8220;argument not used&#8221;"},"content":{"rendered":"<p>Working with my python-based nuke render farm, I&#8217;ve been shoring up the code to deal with some unusual instances (single frames, fewer frames than clients, et al). When passing arguments to Nuke for rendering, I used this format:<\/p>\n<pre><code>Nuke7.0v6 -m 8 -x projectFile.nk <strong>-F 250-500<\/strong><\/code><\/pre>\n<\/p>\n<p>When I need to send multiple frames, or frame ranges, to the same instance, the documentation says you can use multiple instances of the -F argument, like so:<\/p>\n<pre><code>Nuke7.0v6 -m 8 -x projectFile.nk <strong>-F 250-500 -F 550-700<\/strong><\/code><\/pre>\n<\/p>\n<p>What you&#8217;ll get, though, is only the second specified frame range (in this case, 550-700) rendering, and the following output:<\/p>\n<pre><code>\"-F\": argument not used<br \/>\r\n\"250-500\": argument not used<br \/>\r\n\"-F\": argument not used<\/code><\/pre>\n<\/p>\n<p>After discussing with Foundry support, it seems the <strong>-F<\/strong> switch will only work if placed <em>before<\/em> the <strong>-x<\/strong> switch, like so:<\/p>\n<pre><code>Nuke7.0v6 -m 8 <strong>-F 250-500 -F 550-700<\/strong> -x projectFile.nk<\/code><\/pre>\n<p>Otherwise, Nuke assumes the last number is the <strong>legacy<\/strong> method of passing frame ranges to the command line renderer, and ignores your <strong>-F<\/strong> switch. I&#8217;ve requested that this be specifically mentioned in the documentation.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Working with my python-based nuke render farm, I&#8217;ve been shoring up the code to deal with some unusual instances (single frames, fewer frames than clients, et al). When passing arguments to Nuke for rendering, I used this format: Nuke7.0v6 -m 8 -x projectFile.nk -F 250-500 When I need to send multiple frames, or frame ranges, <span class=\"ellipsis\">&hellip;<\/span> <span class=\"more-link-wrap\"><a href=\"https:\/\/www.tks-designs.com\/blog\/?p=229\" class=\"more-link\"><span>Continue Reading &rarr;<\/span><\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"kia_subtitle":"how to appropriately specify frames to Nuke in the command line","footnotes":""},"categories":[15,3,12],"tags":[],"class_list":["post-229","post","type-post","status-publish","format-standard","hentry","category-bash","category-nuke","category-technical-direction"],"_links":{"self":[{"href":"https:\/\/www.tks-designs.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/229","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.tks-designs.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tks-designs.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tks-designs.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tks-designs.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=229"}],"version-history":[{"count":5,"href":"https:\/\/www.tks-designs.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/229\/revisions"}],"predecessor-version":[{"id":234,"href":"https:\/\/www.tks-designs.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/229\/revisions\/234"}],"wp:attachment":[{"href":"https:\/\/www.tks-designs.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=229"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tks-designs.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=229"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tks-designs.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=229"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}