State:New|TargetRelease:No Target|icon_bug|icon_nuke|database:public|Resolution:Fixed|BugID:586885|
Problem summary
Setting In/Out points via Python does not work in Sync Review.
This issue appears to be because hiero.core.SequenceBase.setInTime() and hiero.core.SequenceBase.setOutTime() do not send events.EventType.kInOutPointsChanged messages.
Customer reported version
Hiero 15.1v2
Customer reported platform
Rocky 9 and macOS 14
Steps to reproduce
1) Open Nuke Studio.
2) Import a clip (File > Import File(s)...) and drop it on the timeline.
3) Switch to the Sync Session workspace, then press Host, leaving the settings at default and Start.
4) Open a second Nuke Studio session.
5) In the second session, switch to the Sync Session workspace, then press Connect, leaving the setting at default and Connect.
6) Back in the host session run the following lines of code in the Script Editor:
hiero.ui.activeSequence().setInTime(10)hiero.ui.activeSequence().setOutTime(90) def sendInOutPointsChangedEvent(sequence): try: inTime = sequence.inTime() except: inTime = -1 try: outTime = sequence.outTime() except: outTime = -1 hiero.core.events.sendEvent('kInOutPointsChanged', None, sequence=sequence, inTime=inTime, outTime=outTime, playheadIndex=sequence.activePlayhead()) seq = hiero.ui.activeSequence() seq.setInTime(20) seq.setOutTime(80) sendInOutPointsChangedEvent(seq) We're sorry to hear that
Please tell us why