Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
Hello, i have this unexpeced errors while trying to build a ObjectData plugin
'NewObjClear': identifier not found
in
class SubdivObject : public ObjectData { public: virtual Bool Init(GeListNode* node); virtual BaseObject* GetVirtualObjects(BaseObject* op, HierarchyHelp* hh); virtual Bool Message(GeListNode* node, Int32 type, void* t_data); static NodeData* Alloc() { return NewObjClear(SubdivObject); } };
any clues as to why this is happening?
Hello,
please use tags and the Q&A system when posting questions.
What version of Cinema 4D and the SDK are you using?
You can enable utility functions like NewObjClear() by enabling this setting in your projectdefinition.txt file
NewObjClear()
projectdefinition.txt
C4D=true
and re-creating the project files. See Project Tool.
best wishes, Sebastian
Ah, ok. Somehow missed that line. I thought defining the legacy framework in the api list was sufficient. Cheers!