Reply
Highlighted
Participant
14 Posts
Accepted Solution

timeline markerposition

42 Views, 1 Replies
2 weeks ago

Hi,

I want to move the marker in the timeline like this:

 

tl = design.timeline

print(tl.markerPosition)

tl.moveToBeginning

print(tl.markerPosition)

tl.moveToPreviousStep

print(tl.markerPosition)

 

but the code results in the unexpected output:

 

4

4

4

 

so what goes wrong here? any suggestions?

 

Thanks,

Stefan

Hello

1. moveToPreviousStep is a Method (function) - to call it you must use round brackets: moveToPreviousStep()
2. I wonder, first you jump to beginning of the TimeLine and in next step going to the left (moveToPreviousStep()), soo nothing can happend - use movetoNextStep() method/function.

 

Have fun.

Marek

Explorer
2 Posts
1 Solution

Re: timeline markerposition

2 weeks ago in reply to: stefan

Hello

1. moveToPreviousStep is a Method (function) - to call it you must use round brackets: moveToPreviousStep()
2. I wonder, first you jump to beginning of the TimeLine and in next step going to the left (moveToPreviousStep()), soo nothing can happend - use movetoNextStep() method/function.

 

Have fun.

Marek