show Track in Timeline
On 27/07/2016 at 02:03, xxxxxxxx wrote:
is it possible to show a track in the Timeline View - from python
On 28/07/2016 at 04:15, xxxxxxxx wrote:
I'm sorry, I'm not aware of any means to achieve this. I will ask our developement, but don't want to raise hopes.
On 28/07/2016 at 04:37, xxxxxxxx wrote:
thanks for asking.
On 01/08/2016 at 08:20, xxxxxxxx wrote:
I received feedback from development.
Unfortunately no good news, there's no way to show single tracks in the timeline.
For objects you could use this in C++ (unfortunately the message is not supported by Python, yet) :
BaseSceneHook* const hook = doc->FindSceneHook(100004808); // BaseSceneHook from Newman AtomArray arr; doc->GetSelection(arr); if (hook) hook->Message(EVMSG_SHOWIN_TL, &arr);
Edit: Added note on C++ code and EVMSG_SHOWIN_TL currently not usable in PYthon.
On 03/08/2016 at 12:26, xxxxxxxx wrote:
tried in python and crash ..
doc = c4d.documents.GetActiveDocument() hook = doc.FindSceneHook(100004808); arr = node if (hook) : hook.Message(c4d.EVMSG_SHOWIN_TL, arr)
On 03/08/2016 at 12:57, xxxxxxxx wrote:
It won't work from Python unless its specifically supported by the SDK. :|
On 04/08/2016 at 03:12, xxxxxxxx wrote:
So sorry, by the time I received the answer from development I had totally forgotten, that we are on the Python side, here.
And Niklas is right, this message would need to be supported by the Python SDK, but it isn't, yet.