def METHOD_NAME( self ):
    renderArguments = "-batch"
    if self.GetBooleanPluginInfoEntryWithDefault( "UsingResPreset", False ):
        resName = self.GetPluginInfoEntryWithDefault( "ResolutionName", "HDTV_1080p24" )
        if resName == "Custom":
            renderArguments += " -res " + self.GetPluginInfoEntryWithDefault( "PresetName", "HDTV_1080p24" )
        else:
            renderArguments += " -res " + resName
    else:
        resolutionX = self.GetIntegerPluginInfoEntryWithDefault( "ResolutionX", -1 )
        resolutionY = self.GetIntegerPluginInfoEntryWithDefault( "ResolutionY", -1 )
        fov = self.GetFloatPluginInfoEntryWithDefault( "FieldOfView", -1 )
        if resolutionX > 0 and resolutionY > 0 and fov > 0:
            renderArguments += " -res " + str( resolutionX ) + " " + str( resolutionY ) + " " + str( fov )
    camera = self.GetPluginInfoEntryWithDefault( "Camera", "" )
    if not camera == "":
        renderArguments += " -camera " + camera
    startFrame = str( self.GetStartFrame() )
    endFrame = str( self.GetEndFrame() )
    renderArguments += " -frames " + startFrame + " " + endFrame
    if not self.GetBooleanPluginInfoEntryWithDefault( "IsDatabase", False ):
        sceneFilename = self.GetPluginInfoEntryWithDefault( "SceneFile", self.GetDataFilename() )
        sceneFilename = RepositoryUtils.CheckPathMapping( sceneFilename )
        renderArguments += " \"" + sceneFilename + "\""
    else:
        environment = self.GetPluginInfoEntryWithDefault( "Environment", "" )
        renderArguments += " -env " + environment
        job = self.GetPluginInfoEntryWithDefault( "Job", "" )
        renderArguments += " -job " + job
        scene = self.GetPluginInfoEntryWithDefault( "SceneName", "" )
        renderArguments += " -scene " + scene
        version = self.GetPluginInfoEntryWithDefault( "SceneVersion", "" )
        renderArguments += " -version " + version
    #tempSceneDirectory = self.CreateTempDirectory( "thread" + str(self.GetThreadNumber()) )
    #preRenderScript =
    rendernodeNum = 0
    scriptBuilder = StringBuilder()
    while True:
        nodeName = self.GetPluginInfoEntryWithDefault( "Output" + str( rendernodeNum ) + "Node", "" )
        if nodeName == "":
            break
        nodeType = self.GetPluginInfoEntryWithDefault( "Output" + str( rendernodeNum ) + "Type", "Image" )
        if nodeType == "Image":
            nodePath = self.GetPluginInfoEntryWithDefault( "Output" + str( rendernodeNum ) + "Path", "" )
            nodeLeadingZero = self.GetPluginInfoEntryWithDefault( "Output" + str( rendernodeNum ) + "LeadingZero", "" )
            nodeFormat = self.GetPluginInfoEntryWithDefault( "Output" + str( rendernodeNum ) + "Format", "" )
            nodeStartFrame = self.GetPluginInfoEntryWithDefault( "Output" + str( rendernodeNum ) + "StartFrame", "" )
            if not nodePath == "":
                scriptBuilder.AppendLine("node.setTextAttr( \"" + nodeName + "\", \"drawingName\", 1, \"" + nodePath + "\" );")
            if not nodeLeadingZero == "":
                scriptBuilder.AppendLine("node.setTextAttr( \"" + nodeName + "\", \"leadingZeros\", 1, \"" + nodeLeadingZero + "\" );")
            if not nodeFormat == "":
                scriptBuilder.AppendLine("node.setTextAttr( \"" + nodeName + "\", \"drawingType\", 1, \"" + nodeFormat + "\" );")
            if not nodeStartFrame == "":
                scriptBuilder.AppendLine("node.setTextAttr( \"" + nodeName + "\", \"start\", 1, \"" + nodeStartFrame + "\" );")
        if nodeType == "Movie":
            nodePath = self.GetPluginInfoEntryWithDefault( "Output" + str( rendernodeNum ) + "Path", "" )
            if not nodePath == "":
                scriptBuilder.AppendLine("node.setTextAttr( \"" + nodeName + "\", \"moviePath\", 1, \"" + nodePath + "\" );")
        rendernodeNum += 1
    tempDirectory = self.CreateTempDirectory( "thread" + str(self.GetThreadNumber()) )
    preRenderScriptName = Path.Combine( tempDirectory, "preRenderScript.txt" )
    File.WriteAllText( preRenderScriptName, scriptBuilder.ToString() )
    preRenderInlineScript = self.GetPluginInfoEntryWithDefault( "PreRenderInlineScript", "" )
    if preRenderInlineScript:
        renderArguments += " -preRenderInlineScript \"" + preRenderInlineScript +"\""
    renderArguments += " -preRenderScript \"" + preRenderScriptName +"\""
    return renderArguments