# vray submit to deadline - different versions

**URL:** <https://forums.chaos.com/t/vray-submit-to-deadline-different-versions/98644>\
**Category:** General\
**Created:** [May 19, 2020, 10:10am UTC](https://forums.chaos.com/t/vray-submit-to-deadline-different-versions/98644 "2020-05-19T10:10:14Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![suedlich\_t](https://avatars.discourse-cdn.com/v4/letter/s/258eb7/32.png) [@suedlich\_t](https://forums.chaos.com/u/suedlich_t)\
**Post date:** [May 19, 2020, 10:10am UTC](https://forums.chaos.com/t/vray-submit-to-deadline-different-versions/98644/1 "2020-05-19T10:10:14Z")

</div>

Hello,

in deadine i am using a BAT file, to seperate different standalone render locations on the slaves.  
when using the submit to deadline node in houdini, is there a uservariable send to deadline, i can catch, to find out, wich vrayplugin is used ?

---

<div class="post-metadata">

**Author:** ![bdancer](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/bdancer/32/52257_2.png) [@bdancer](https://forums.chaos.com/u/bdancer)\
**Post date:** [May 19, 2020, 10:29am UTC](https://forums.chaos.com/t/vray-submit-to-deadline-different-versions/98644/2 "2020-05-19T10:29:31Z")

</div>

\> is there a user variable send to deadline

No, there is none.  
I guess I could set some env. var. [https://docs.thinkboxsoftware.com/products/deadline/10.0/1\_User%20Manual/manual/environment.html](https://docs.thinkboxsoftware.com/products/deadline/10.0/1%5C_User%20Manual/manual/environment.html) - will that work? What info will u need?

---

<div class="post-metadata">

**Author:** ![suedlich\_t](https://avatars.discourse-cdn.com/v4/letter/s/258eb7/32.png) [@suedlich\_t](https://forums.chaos.com/u/suedlich_t)\
**Post date:** [May 19, 2020, 11:07am UTC](https://forums.chaos.com/t/vray-submit-to-deadline-different-versions/98644/3 "2020-05-19T11:07:06Z")

</div>

IncludeEnvironment=True “Deadline will automatically grab all the environment variables from the submitter’s environment and set them as the job’s environment variables.”

yes, this would work!

---

<div class="post-metadata">

**Author:** ![bdancer](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/bdancer/32/52257_2.png) [@bdancer](https://forums.chaos.com/u/bdancer)\
**Post date:** [May 19, 2020, 11:20am UTC](https://forums.chaos.com/t/vray-submit-to-deadline-different-versions/98644/4 "2020-05-19T11:20:14Z")

</div>

This may pass some “dangerous” stuff… I could set some specific variable like VRAY\_FOR\_HOUDINI=1 + some version variable if needed.

---

<div class="post-metadata">

**Author:** ![suedlich\_t](https://avatars.discourse-cdn.com/v4/letter/s/258eb7/32.png) [@suedlich\_t](https://forums.chaos.com/u/suedlich_t)\
**Post date:** [May 19, 2020, 11:35am UTC](https://forums.chaos.com/t/vray-submit-to-deadline-different-versions/98644/5 "2020-05-19T11:35:21Z")

</div>

we are edited f.E. Deadlines - FusionSubmission Scripts, and add this. With no problems so far. It is fine, because PiplineTDs can manage by there own, which VAR is set by opening the program, and then track this envoriments all over the different tools. f.E. (Fusion → Deadline - \> RV player)

i guess, if u set some specific var, then it need to be well documented 😉

---

<div class="post-metadata">

**Author:** ![Gosho.Genchev](https://avatars.discourse-cdn.com/v4/letter/g/e495f1/32.png) [@Gosho.Genchev](https://forums.chaos.com/u/Gosho.Genchev)\
**Post date:** [May 29, 2020, 12:09pm UTC](https://forums.chaos.com/t/vray-submit-to-deadline-different-versions/98644/6 "2020-05-29T12:09:12Z")

</div>

Hey @suedlich_t ,

we added a new “Advanced” tab on the Deadline ROP with a toggle “Inherit Environment Variables” and a multi-parm for custom variables to pass to the Deadline job. In case you’d like to check what is exported, you can unhide the deadline\_tmpdir parameter and point it to a folder of your choice where the submission files will be placed.

The change will be in the next nightly build.

[https://drive.google.com/file/d/1J5gGasQuii\_7mqJGThLomwKG\_CQs9U\_f/view](https://drive.google.com/file/d/1J5gGasQuii%5C_7mqJGThLomwKG%5C_CQs9U%5C_f/view)

Hope that helps!

---

<div class="post-metadata">

**Author:** ![suedlich\_t](https://avatars.discourse-cdn.com/v4/letter/s/258eb7/32.png) [@suedlich\_t](https://forums.chaos.com/u/suedlich_t)\
**Post date:** [July 1, 2020, 10:57am UTC](https://forums.chaos.com/t/vray-submit-to-deadline-different-versions/98644/7 "2020-07-01T10:57:05Z")

</div>

Thanks a lot, that works!
