hi ...
so, does this ConsolePrint() example print immediately?
i guess it is not possible use it for a dialog, but...
it should be possible to print into a custom logger channel?
(i've seen a plugin doing that)
would it be possible to get an example how to use
LoggerInterface.AddNewLogger ?
the goal would be to add a console channel for a cmd plugin
and to "live" output console messages to that channel
while the plugin is processing one of its commands.
it would also be nice to share that channel for all my plugins
and to have a way to to open (show) and clear the console
before processing
best, index
EDIT:
i tried to port the C++ example to python...
https://developers.maxon.net/docs/Cinema4DCPPSDK/html/page_maxonapi_loggerinterface.html
but i fail with
myLogger.AddLoggerType(maxon.TARGETAUDIENCE.ALL, maxon.LoggerTypes.Application)
--> TypeError: unable to convert maxon.interface.Declaration to @net.maxon.interface.class-cR
(sorry this is probably a bit off topic and should be in a separate thread)
edit [ferdinand]: This thread is a follow up question for the thread Write to C4D console in real time.