DescPropertyDragData
-
On 26/09/2013 at 07:54, xxxxxxxx wrote:
User Information:
Cinema 4D Version: R15
Platform: Windows ; Mac ; Mac OSX ;
Language(s) : C++ ;---------
Hi,When I drag the Rotation.H parameter (from a cube for instance) into the ScriptManager,
it shows: #ID_BASEOBJECT_REL_ROTATION: VECTOR_X
When I do this in code:Int32 Type = 0; void *DraggedProp = nullptr; GetDragObject(msg, &Type;, &DraggedProp;); DescPropertyDragData* dpdd = static_cast<DescPropertyDragData*>(DraggedProp); const BaseContainer *bcProps = Basedesc->GetParameterI(dpdd->did[0]), dpdd->arr); GePrint("propID as string: " + bcProps->GetString(DESC_IDENT));
I get: "ID_BASEOBJECT_REL_ROTATION", missing the ": VECTOR_X" part.
How do I get the su-component ?
Even so for ID_USERDATA:1, and others?
How does the ScripManager do this stuff?
Thanks