Hi @Karsten ,
For every node, you create you need to invoke create function, and then if you want it to appear in the DataGraph this node needs to be added to a parent node:
auto camcopy = SAMSON::getActiveCamera()->clone(); // clone the camera camcopy->create(); // create the node document->addChild(camcopy); // add the created camera into the active document /* ... some modifications of the camcopy */ SAMSON::getActiveDocument()->setActiveCamera(camcopy); // set the active camera