NetworkRTT documentation

NetworkRTT documentation

sijo_animech
Contributor Contributor
2,767 Views
5 Replies
Message 1 of 6

NetworkRTT documentation

sijo_animech
Contributor
Contributor

Trying to submit render-to-texture jobs via maxscript is a hellish experience at the moment. By googling and digging around in the install directory files (Macro_BakeTextures.mcr) you find out there is a function called NetworkRTT.  However, it isn't talked about anywhere in the documentation.  So it's impossible to know what parameters to send it, without resorting to trial and error.

 

The script we're developing is able to batch RTT groups of objects, and we want to be able to use NetworkRTT to network render. If we do res = NetworkRTT objs, it brings up the job submission window, and we can enter a job name. In our script however, we want the job name to be set automatically (with a string we send when running our batch function). Even better would be if we could noPrompt it, and send jobs without configuring them.

 

None of this is possible without NetworkRTT being properly documented though. If it's not too much to ask, please add it to the maxscript documentation.

In the meantime, does anyone have a workaround for the job name example above?

0 Likes
Accepted solutions (1)
2,768 Views
5 Replies
Replies (5)
Message 2 of 6

sijo_animech
Contributor
Contributor

Actually, this works:

res = NetworkRTT objs jobName:"Job Name 001"

I tried this in max 2018.4, and it successfully submits a job with the specified jobName.

I also tried this in 2019, which didn't work. Turns out there's a problem with submitting jobs with max 2019, where it shows the message @#$ missing message: 1006 $#@ and fails to submit the job.

0 Likes
Message 3 of 6

drew_avis
Autodesk
Autodesk

Hi there, I don't know why you're having issues in 2019, sorry - but I notice that this function is called in the Macro_BakeTextures.mcr script, which you could look at as an example.  I've opened a defect to get this added to the MAXScript docs.

 

Regards,

Drew



Drew Avis
Content Experience Designer
0 Likes
Message 4 of 6

sijo_animech
Contributor
Contributor

Much appreciated!

 

The issue we were having with 2019 had nothing to do with NetworkRTT - it affected network rendering in general. We found the issue to be Backburner itself. Max 2019 doesn't come bundled with backburner, so we were running Backburner 2018. So that's why it couldn't connect properly.

0 Likes
Message 5 of 6

sijo_animech
Contributor
Contributor
Accepted solution

This might help others. NetworkRTT apparently has 3 string parameters:

NetworkRTT $ manager:"HZ" jobname:"someName" jobdescription:"describeJob"

Thanks @denis_grigor for the information!

0 Likes
Message 6 of 6

MartinBeh
Advisor
Advisor

As a follow up on this - here's some official documentation:

https://knowledge.autodesk.com/search-result/caas/CloudHelp/cloudhelp/2019/ENU/3DSMax-MAXScript/file...

 

networkRTT <nodes> [ manager:<string> jobname:<string> jobdescription:<string> ]
Martin B   EESignature
→ please 'Like' posts that are helpful; if a post answers your question please click the "Accept Solution" button.
0 Likes