hello,
thanks @PluginStudent for the answer here
if (obj != nullptr) // If I'm checking for nullptr could I just use if(obj) as in Python?
The correct way is to check against nullptr, that's a c++11 standard.
if (obj) could lead to false positive and bugs.
String is not the same thing as maxon::String. String is the classic API while maxon::String is the Maxon API. You can read more about that in the manual about strings
Error handling is super eady to use, we got every thing to do so, you should definitely use it. Check Our manual about Error Handling
Last but not least you can probably use our Url class to handle file or filename. Give it a look
Cheers,
Manuel