THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 01/10/2010 at 16:14, xxxxxxxx wrote:
Cinema 4D Version:
Language(s) : C++ ;
i am just wondering if the "connect object" is available as a BaseObject, just like Ocube or others?
I cannot find it, but it is available in cinema as a object type.. can i use it the same within a Generator Plugin?? it would be much better than using ModellingCommand plus i actually dont know if i can even use a ModellingCommand with VirtualObjects...
thanks for your intput..
On 04/10/2010 at 05:25, xxxxxxxx wrote:
The ID of the Connect object is 1011010.
You can always get the ID of objects/tags etc. by dragging them into the command field of the Cinema console and print the type.
On 04/10/2010 at 05:45, xxxxxxxx wrote:
ok, i tried that and it didnt work. so there must have been another error somewhere
On 04/10/2010 at 07:01, xxxxxxxx wrote:
This code is working for me. It simply returns a Connect object in GetVirtualObjects(). You can see it if you make the object editable.
BaseObject *RoundedTube::GetVirtualObjects(BaseObject *op, HierarchyHelp *hh)
BaseObject *ret = NULL;
Bool dirty = op->CheckCache(hh) || op->IsDirty(DIRTYFLAGS_DATA);
if (!dirty) return op->GetCache(hh);
ret = BaseObject::Alloc(1011010);
if (!ret) return NULL;