On 10/06/2015 at 09:56, xxxxxxxx wrote:
Hi
I'm making a c++ plugin that sends (and handles) a processing job to Deadline. The user selects one or more objects in their c4d file, and then the list of those object(s) are stored in the jobinfo file that is sent to Deadline. These are the objects that needs processing.
When a Deadline Slave opens the submitted file, my c4d plugin is passed the list of objects from Deadline (via the command line) Pluss several other parameters the user have set in the submission dialog in Cinema. Then the plugin processes those objects and saves the result to disk.
Right now i'm just storing the names of the objects, but this is not a very good solution as you can get duplicate names in the file.
Whats the best solution for identifying objects like this? Does objects in c4d have unique ids thats permanent from session to session? Or is it better to make custom tag that the user attaches to the objects they want processed?
Any advise is appreciated.
Cheers
Bonsak