{"action":"created","issue":{"url":"https://api.github.com/repos/20tab/UnrealEnginePython/issues/553","repository_url":"https://api.github.com/repos/20tab/UnrealEnginePython","labels_url":"https://api.github.com/repos/20tab/UnrealEnginePython/issues/553/labels{/name}","comments_url":"https://api.github.com/repos/20tab/UnrealEnginePython/issues/553/comments","events_url":"https://api.github.com/repos/20tab/UnrealEnginePython/issues/553/events","html_url":"https://github.com/20tab/UnrealEnginePython/issues/553","id":369353341,"node_id":"MDU6SXNzdWUzNjkzNTMzNDE=","number":553,"title":"ViewRange and WorkingRange Question for Sequencer","user":{"login":"pete3d","id":6765385,"node_id":"MDQ6VXNlcjY3NjUzODU=","avatar_url":"https://avatars3.githubusercontent.com/u/6765385?v=4","gravatar_id":"","url":"https://api.github.com/users/pete3d","html_url":"https://github.com/pete3d","followers_url":"https://api.github.com/users/pete3d/followers","following_url":"https://api.github.com/users/pete3d/following{/other_user}","gists_url":"https://api.github.com/users/pete3d/gists{/gist_id}","starred_url":"https://api.github.com/users/pete3d/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pete3d/subscriptions","organizations_url":"https://api.github.com/users/pete3d/orgs","repos_url":"https://api.github.com/users/pete3d/repos","events_url":"https://api.github.com/users/pete3d/events{/privacy}","received_events_url":"https://api.github.com/users/pete3d/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-12T00:18:51Z","updated_at":"2018-10-12T02:10:03Z","closed_at":null,"author_association":"NONE","body":"Hi, \r\n\r\nthanks 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. \r\nWith the camera importer I am stuck at one little thing. \r\n\r\nI need to set the sequencer timeline viewRange and workingRange to reflect this camera properties:\r\nframeStart = 1001\r\nframeEnd = 1100\r\n\r\n\r\nWith print statement I get following properties:\r\n\r\n`print seq.MovieScene.EditorData.properties()`\r\n`[u'ExpansionStates', u'ViewStart', u'ViewEnd', u'WorkStart', u'WorkEnd', u'WorkingRange', u'ViewRange']`\r\n\r\n`seq.MovieScene.EditorData.ViewStart = 1001`\r\n`# ValueError: invalid value for UProperty`\r\n\r\n\r\n`from unreal_engine.structs import FloatRange`\r\n`seq.MovieScene.EditorData.WorkingRange = FloatRange(1001/24, 1100/24)`\r\n`# no error get returned but timeline doesn't update`\r\n\r\nAny ideas how I can get the working/view range to work?\r\n\r\ncheers,\r\nPeter\r\n"},"comment":{"url":"https://api.github.com/repos/20tab/UnrealEnginePython/issues/comments/429180348","html_url":"https://github.com/20tab/UnrealEnginePython/issues/553#issuecomment-429180348","issue_url":"https://api.github.com/repos/20tab/UnrealEnginePython/issues/553","id":429180348,"node_id":"MDEyOklzc3VlQ29tbWVudDQyOTE4MDM0OA==","user":{"login":"taotang1984","id":34328387,"node_id":"MDQ6VXNlcjM0MzI4Mzg3","avatar_url":"https://avatars2.githubusercontent.com/u/34328387?v=4","gravatar_id":"","url":"https://api.github.com/users/taotang1984","html_url":"https://github.com/taotang1984","followers_url":"https://api.github.com/users/taotang1984/followers","following_url":"https://api.github.com/users/taotang1984/following{/other_user}","gists_url":"https://api.github.com/users/taotang1984/gists{/gist_id}","starred_url":"https://api.github.com/users/taotang1984/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taotang1984/subscriptions","organizations_url":"https://api.github.com/users/taotang1984/orgs","repos_url":"https://api.github.com/users/taotang1984/repos","events_url":"https://api.github.com/users/taotang1984/events{/privacy}","received_events_url":"https://api.github.com/users/taotang1984/received_events","type":"User","site_admin":false},"created_at":"2018-10-12T02:10:03Z","updated_at":"2018-10-12T02:10:03Z","author_association":"CONTRIBUTOR","body":"I just asked same question, try to use this:\r\n#set fps\r\nseq.MovieScene.DisplayRate.Numerator = 24\r\n#set start and end frame\r\nseq.sequencer_set_playback_range( frameStart *0.041666667, frameEnd *0.041666667)"}}
{"actor":{"display_login":"taotang1984"}}