adding timecode as property reference

adding timecode as property reference

Anonymous
Not applicable
929 Views
2 Replies
Message 1 of 3

adding timecode as property reference

Anonymous
Not applicable

I am trying to add the timecode to a null as a property reference. NOT from an LTC device, but from whicher timecode is displaying on the transport panel. So if I (right click timeline/time) switch from 'LTC display' to 'System Time' The property reference is updated accordingly.

 

I am however, stuck. HOW can I add this as a reference? Or query it in py?

 

Thanks!

0 Likes
930 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable

..Moving this into the python forum...

0 Likes
Message 3 of 3

santd
Autodesk
Autodesk

Hello @Anonymous,

 

Thank you for posting to the Area forums.

 

I found the following which seems to return the correct timecode for me:

 

import pyfbsdk as fb

LocalTime = fb.FBSystem().LocalTime.GetTimeString().replace(";",":").split(":")
LocalTime = [ int(i) for i in LocalTime]

print LocalTime

 

Hope that is helpful.

 

Cheers,




David Santos

0 Likes