Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
Hi Maxime,
Wow! I'm completly blown away
What would be, one asks you to do a full job and not only to give a hint? World Peace? So you've done pretty much the whole work for me - just out of kindness - Thank you so much!
Yes, it works now exactly as i wanted - so i'm going to use my spared time to explore your solution and try to understand it more deeply than just seeing: "Ah, here i've to put my directory in and here i have to generate a text file with this text inside..."
Thanks again & i wish you beautifull days in your life when there should be anything i can do for you - just say it (most i can do is 3D-Graphics-Stuff) for sure, when this project i'm working on is finaly done in every aspect i'll give you a message, so you can at least see the result. But that will take some months.
Matthias
Thanks again a lot I just needed to replace the part in the python-node where you newly written how the path is being generated by my own Path-String-generation-algorythm which is builded from the content of the file watched. Sure, it's the risky way, as you mentioned it, but it works for this time.
Greets Matthias
Follow up from Start render in PictureViewer at the moment when a certain file has changed hi,
Sorry about my wording. There are two Problems for me: First i'm not that good in english, second i'm not a programmer. Thats not very ideal base to get this done, i know . This in mind, i'm pretty happy to get some help from you guys.
Back to the issue: If the renderer is startet by the solution of maxime (above) the renderoutput path can't be set by a node?! I recon this, cause i've read somewhere, that the renderpath can't be changed while rendering is ongoing.
So the renderoutput path should be set before the Plugin from Maxime starts the renderer. That means (when i'm right) the path should be set by the same Plugin that also starts the renderer, just before it starts it. That's the reason why i'm trying to set the Path there (in the Plugin) and not in a node.
Do i have a wrong idea with this? The Node isn't executet before the render starts, right? That's why my Path isn't changing...
Cheers Matthias
Hi Zipit, I've tried to place c4d.C4DAtom.Message(c4d.MSG_CHANGE) inside the Python-node where i try to set the render data. The node is going yellow and it's not working... And yes, i've tried many ways to use c4d.EventAdd(). But while there is no error it also seem not to force an update of the renderdata.
Hi Maxime - it's me once again
I've got a new (but i recon rather small) problem with my automated rendering-issue: Inside an Expresso-tag i'm putting a string together to generate a specific path for the renderoutput. This string should go to rDat[c4d.RDATA_PATH]. So far: no Problem.
But it's only no Problem as long as i'm klicking in the timeline "one step forward". When i'm doing this, the Path in the render settings is being updated. Without that klick, the path-string stays the same.
But i would need it updated automaticaly before the c4d.CallCommand(12099) starts the renderengine. So i've tried to put a c4d.AddEvent(c4d.EVENT_FORCEREDRAW) in the Line before CallCommand(12099).
There are no Errors - but also no Updates of the path...
Could you help me once again?
Greetings Matthias
Thank you very much for taking your time answering my questions.
It was quiet a journey for me to install the watchdog module - but i've got it. Now it's there, inside my Cinema4D-Skript-Manager yay!
First, as you suggested, i'm just care about this watchdog.thingy and try to find out, how to use this. I think/hope the rest of my stuff is not that hard to do, because it seems much simpler to me. (In some pretty primitve skript-stuff i've got some experience. - so as i've got the text-import working in the Python-Expresso-Node.)
...but this watchdog.stuff seems to start a background-routine witch is not directly dependent to the Cinema4D-Environment. But i can start it from the Skript Manager and i can get the file-change event back into the skript - am i right there? ...or do i think wrong about?
I've found this manual for watchdog: https://pythonhosted.org/watchdog/quickstart.html#a-simple-example
If you should have some more time: Could you give me a hint, how to implement this inside my c4d-script?
Once again: Thank you so far Matthias
Hi All,
First - i'm trying Python since two days - so my brain is pretty empty to this topic
I've a textfile *.txt where are some values stored. Once a day one of the values is going to change. the values are being imported in cinema 4d (via python-node in expresso) where they are mapped on some object parameters.
Now my issue: how can i get cinema 4d to start the render after the change in the values of the textfile is occured and the parameter has also done its correspondent change?
two things are seeming to be a problem for me: · how i get a continuous check for the textfile has changed? · how i can start the CallCommand(12099) #for RenderInPictureviewer from this code
Hope you can help me Thanks a lot so far