Allocate a plugin ObjectData

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 25/10/2008 at 03:24, xxxxxxxx wrote:

User Information:
Cinema 4D Version:   10.5 
Platform:   Windows  ;   
Language(s) :     C++  ;

---------
Hi,

I'm newbie in c++ and my english is very bad ;). I want to create a SceneLoaderData plugin's for read shapefiles. In my SceneLoaderData I would like to create an object from an other plugin ObjectData.

BaseObject::Alloc(Omypluginobject) doesn't work
CallCommand(mypluginobjetct_number) doesn't work in SceneLoaderData (it works fine in a CommandData).

What can I do... any ideas ?

Thanks

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 25/10/2008 at 03:50, xxxxxxxx wrote:

It's too simple ...I'm sorry...

The answer it's in the C4Djack's last post

BaseObject::Alloc(mypluginobject_number); !!!!

Sorry and thanks to c4dJack

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 25/10/2008 at 10:13, xxxxxxxx wrote:

Don't forget that there are many examples of various plugin types in the plugins:cinema4dsdk folder. Use them as reference as well as the SDK docs.