THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 17/04/2008 at 13:41, xxxxxxxx wrote:
Cinema 4D Version: R10.01
Platform: Windows ; Mac ;
Language(s) : C++ ;
I recently added some code to work adding some new LayerObjects to the scene... with the R10.5 SDK, this was done by Inserting new LayerObject nodes into the GeListHead pointer returned by doc->GetLayerObjectRoot().
Anyway, I just moved back to R10.01 SDK and it looks like doc->GetLayerObjectRoot() is/was a 'private' function at that time (D'oh!) and I am in fact now crashing when trying to do a list->GetFirst() on it.
I'd really like to have this functionality in an R10-based plugin (vs R10.5) if possible...
- is there some way for me to get the R10.01 version to work?
- in a way that's compatible with R10.5? (I can check versions and use different code if needed).