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).
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:
User Information: Cinema 4D Version: Platform: Language(s) : C++ ;
--------- Hi,
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.. cheers, Ello
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.
See here:
cheers, Matthias
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; return ret; }