Community
Fusion API and Scripts
Got a new add-in to share? Need something specialized to be scripted? Ask questions or share what you’ve discovered with the community.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

timeline markerposition

1 REPLY 1
SOLVED
Reply
Message 1 of 2
designingberlin
209 Views, 1 Reply

timeline markerposition

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

1 REPLY 1
Message 2 of 2

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

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report