Notifications
Clear all

[Closed] rendUseNet rendSaveFile

I am creating a simple script to send renders but am not able to use rendUseNet OR rendSaveFile OR rendOutputFilename. Here’s a sample code:

(
try(destroyDialog rollout_testA) catch()

--Create rollout
rollout rolloutA "Rollout Test A" 
(
	checkbox saveFileCheck "Save File" offset:[5,0] across:2 checked:false enabled:false
	button browse "Files" enabled:true offset:[28,0]
	edittext path_text ""  enabled:false
	
	label label3 ""
	checkbox netRend "Network Render" offset:[5,0]
	button renderBtn "Render" width:100 height:40 offset:[65,-27]

	on renderBtn pressed do
	(
		If netRend.checked then
		(
			rendUseNet=true
		)
		else
		(
			rendUseNet=false
		)
		max quick render

	  ) --END renderBtn
) -- END rollout
createDialog rolloutA width:300 height:200
)

I started with a simple script to see if my GUI works with a basic test render. I am able to browse to the location, but am not able to save a file in the location and send the job to network rendering. Please help with any suggestions you may have.