-
Notifications
You must be signed in to change notification settings - Fork 766
Description
Hi,
thanks so much first of all for all the great examples. I managed to use all of it so far to create custom GEO, TEXTURE and CAMERA importer.
With the camera importer I am stuck at one little thing.
I need to set the sequencer timeline viewRange and workingRange to reflect this camera properties:
frameStart = 1001
frameEnd = 1100
With print statement I get following properties:
print seq.MovieScene.EditorData.properties()
[u'ExpansionStates', u'ViewStart', u'ViewEnd', u'WorkStart', u'WorkEnd', u'WorkingRange', u'ViewRange']
seq.MovieScene.EditorData.ViewStart = 1001
# ValueError: invalid value for UProperty
from unreal_engine.structs import FloatRange
seq.MovieScene.EditorData.WorkingRange = FloatRange(1001/24, 1100/24)
# no error get returned but timeline doesn't update
Any ideas how I can get the working/view range to work?
cheers,
Peter