@m_magalhaes
sorry to my bad descrptions , I just cann't figure out how the c++ manuual code how canbe work in cinema
// This example creates a new custom logger and adds it to the registered loggers.
// g_exampleLogger is a maxon::LoggerRef instance.
// define logger ID
const maxon::Id loggerID { "net.maxonexample.logger" };
// check if a logger with that ID already exists
if (!maxon::Loggers::Get(loggerID))
{
// create the new logger and store it in a global variable for later access
// make sure to set this object to nullptr when Cinema shuts down
iferr (g_exampleLogger = maxon::LoggerRef::Create())
{
// if the logger could not be created, use the default logger instead
g_exampleLogger = maxon::Loggers::Default();
}
else
{
// if the logger could be created
// add the logger type "Application" to display logged messages in the "Console" window
g_exampleLogger.AddLoggerType(maxon::TARGETAUDIENCE::ALL, maxon::LoggerTypes::Application()) iferr_return;
// define logger name
g_exampleLogger.SetName("Example Logger"_s);
// insert the logger in the "Loggers" registry
maxon::Loggers::Insert(loggerID, g_exampleLogger) iferr_return;
// this message must be send to update the console window
const maxon::Int32 BFM_REBUILDCONSOLETREE = 334295845;
SpecialEventAdd(BFM_REBUILDCONSOLETREE);
}
}
like code above , in python I can run it with scripts or reg a plugin, but I cann't find a reg like code in this example , I learn a little from kbar's tuts and seems it has to be compile to xdl64.file, but I don't know how it can work, e.g.: this example doesn't have a reg or message function to do some thing.
Could you provide a mini example works with c++ work flow, It's a hard to me to move on now 