Hi Thomas,
Review versions are stacked based on the context in which they are uploaded to. When uploading an item for review, they will be version stacked at the various levels including: job, dev, asset, show, shot, and task.
Render works a little differently since the render item acts as the group. The render assumes that review items attached are per unique pass in the render. When attaching review items to a render you should see a single render item, but then in the renders review list at the top of the panel you should see the full list of attached review items.

- nim_render_info copy.jpg (83.67 KiB) Viewed 401 times
If you are looking to stack multiple versions of the same render, ie v01, v02, v03... it may be better organizationally to upload these to the task instead.
In the upload_reviewItem() function, instead of using renderID or taskID, you should use itemID and itemType by setting itemID to your taskID and the itemType to "task" as outlined here:
Code: Select all
def upload_reviewItem( taskID=None, renderID=None, renderKey=None, itemID=None, itemType=None, path=None, submit=None, \
name=None, description=None, reviewItemTypeID=0, reviewItemStatusID=0, keywords=None, nimURL=None, apiKey=None ) :
# nimURL and apiKey are optional for Render API Key overrride
#
# Required Fields:
# itemID integer the ID of the parent to attach the review item
# itemType string options user, job, asset, show, shot, task, render
# path string the path of the item to upload
#
#
# 2 option fields for backwards compatibility:
# renderID or renderKey or taskID
# $_FILE[]
#
# renderKey is passed for association from render manager (deadlineID)
# free association is made with render based on renderKey
# should look up jobID and taskID from renderKey and set based on render
#
# If taskID is passed, NIM will create a new render to associate with the review item
#
# # Optional
#
# submit is optional to mark uploaded dailies for review - value is either: 0 or 1 (DEPRICATED)
# name string The NIM name for the review item - if empty will use filename
# description string Description for the review item
# reviewItemTypeID integer The review item type ID
# reviewItemStatusID integer The review status ID
# keywords list ["keyword1", "keyword2"]
Cheers,
Andrew