Skip to content

ViewRange and WorkingRange Question for Sequencer #553

@cghub-io

Description

@cghub-io

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions