I want to set the timeline Range with a chop execute dat.
I can set the End with “me.time.end =”
I tried me.time.rangeend, me.time.rend and various permutations of the like.
How can you set range with python?
Thanks.
I want to set the timeline Range with a chop execute dat.
I can set the End with “me.time.end =”
I tried me.time.rangeend, me.time.rend and various permutations of the like.
How can you set range with python?
Thanks.
I found out how to do it with Tscript in case anyone is wondering
set a = chop("math4/length")
opparm /local/time rangeend $a
You should be able to set it, by first setting end, then rangeEnd, if the latter extends the former.
python >>> root.time.end = 2000
python >>> root.time.rangeEnd = 2000
It’s accessing the time component that is controlling the operator you specify (me, root, etc):
docs.derivative.ca/index.php?ti … COMP_Class
We’ll be updating those docs with that extra info.
Cheers,
Rob
Thanks!