Hello colleagues,
There is a custom node space and there is a bitmap node with a the filepath of the type Url. The image drag&drop to nodes area is working from windows expolrer, everyting his working except for "Save project with Assets".
So the bitmap files are copied to the specified location, but the file strings are not updated in the custom bitmap node. None of them.
This code links C4D logic with the custom file path as described in the C++ API:
spaceData.Set(maxon::nodes::NODESPACE::IMAGENODEASSETID, mynodes::NODE::BITMAP::GetId()) iferr_return;
maxon::nodes::NODESPACE::ImageNodePortTuple imageTuple;
imageTuple.first = maxon::NodePath::Create(maxon::ToSingletonBlock<maxon::InternedId>(mynodes::NODE::BITMAP::RESULT)) iferr_return;
imageTuple.second = maxon::NodePath::Create(maxon::ToSingletonBlock<maxon::InternedId>(mynodes::NODE::BITMAP::FILENAME)) iferr_return;
imageTuple.third = maxon::NodePath::Create(maxon::ToSingletonBlock<maxon::InternedId>(mynodes::NODE::BITMAP::FRAME_START)) iferr_return;
imageTuple.fourth = maxon::NodePath::Create(maxon::ToSingletonBlock<maxon::InternedId>(mynodes::NODE::BITMAP::FRAME_END)) iferr_return;
spaceData.Set(maxon::nodes::NODESPACE::IMAGENODEPORTS, std::move(imageTuple)) iferr_return;
Also the Asset Inspector relink doesn't actually change the file strings on the node.
This functionality is not working in R26 and 2023.
But it is working in R21-R25 nicely! The bitmap related code is the same.
I also can't open the Resource Editor in 2023.1.3. I am using the options to launch the Cinema:
"C:\Program Files\Maxon Cinema 4D 2023\Cinema 4D.exe" g_applicationRepositoryWritable=true g_developerNodeEditorFunctions=true g_descriptionEditorDeveloperMode=true
Then click Resource Edit in the node editor and nothing happens.
Cinema version is 2023.1.3. The compiled SDK for node space was 2023.0.0.
Please help me to fix this