# Python: Create social format timelines from existing timelines

**URL:** <https://forum.logik.tv/t/python-create-social-format-timelines-from-existing-timelines/12170>\
**Category:** Python\
**Tags:** timeline, social\
**Created:** [February 5, 2025, 1:54pm UTC](https://forum.logik.tv/t/python-create-social-format-timelines-from-existing-timelines/12170 "2025-02-05T13:54:41Z")\
**Posts on this page:** 17\
**Page:** 2

<div class="post-metadata">

**Author:** ![allklier](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/allklier/32/4309_2.png) [@allklier](https://forum.logik.tv/u/allklier)\
**Post date:** [February 7, 2025, 10:37pm UTC](https://forum.logik.tv/t/python-create-social-format-timelines-from-existing-timelines/12170/21 "2025-02-07T22:37:22Z")

</div>

On one job I’m on right now, everything was finished at 2880x2004 or 2880x2581 to cover social and TVC. Doing it at UHD was a definite ‘no’ from the team that set it all up.

---

<div class="post-metadata">

**Author:** ![kily](https://avatars.discourse-cdn.com/v4/letter/k/a88e4f/32.png) [@kily](https://forum.logik.tv/u/kily)\
**Post date:** [February 10, 2025, 11:06am UTC](https://forum.logik.tv/t/python-create-social-format-timelines-from-existing-timelines/12170/22 "2025-02-10T11:06:08Z")

</div>

> [@kyleobley](#):
>
> … with the existing name but with height x width appended.Puts all the layers/versions from the selected sequence into the new one.Saves you a shit ton of timeI was on the fence of doing 1x1, 4x5 or 9x16 but opted for the resolution instead. Open to changing that if the hive mind would rather that.Download: (v0.1)(Not sure why clicking the link doesn’t work…right-click, save as does the trick though)

I’ve just test. It works great, but the new sequences don’t have the right and approved repos for every shot for every format. Please, don’t toy with my emotions.

---

<div class="post-metadata">

**Author:** ![Jeroen](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/jeroen/32/3600_2.png) [@Jeroen](https://forum.logik.tv/u/Jeroen)\
**Post date:** [February 10, 2025, 1:08pm UTC](https://forum.logik.tv/t/python-create-social-format-timelines-from-existing-timelines/12170/23 "2025-02-10T13:08:25Z")

</div>

Just installed it and it works like a charm. I am only facing an issue with the 4x5 feature somehow. the correct resolution should be 1080x1350 but my sequence becomes 1350x1080. Is there a fix on my end that i can do?

---

<div class="post-metadata">

**Author:** ![kyleobley](https://avatars.discourse-cdn.com/v4/letter/k/df788c/32.png) [@kyleobley](https://forum.logik.tv/u/kyleobley)\
**Post date:** [February 10, 2025, 1:31pm UTC](https://forum.logik.tv/t/python-create-social-format-timelines-from-existing-timelines/12170/24 "2025-02-10T13:31:07Z")

</div>

Woops…you can download it again, it’s been fixed. Or… change line 28 to:  
`create_timeline(selection, 1350, 1080)`

---

<div class="post-metadata">

**Author:** ![john-geehreng](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/john-geehreng/32/7195_2.png) [@john-geehreng](https://forum.logik.tv/u/john-geehreng)\
**Post date:** [February 10, 2025, 1:42pm UTC](https://forum.logik.tv/t/python-create-social-format-timelines-from-existing-timelines/12170/25 "2025-02-10T13:42:33Z")

</div>

I love this script so with @kyleobley’s permission, I built a simple UI for it that looks like this:

 ![Screenshot 2025-02-10 at 8.31.03 AM](https://us1.discourse-cdn.com/flex020/uploads/thedepartmentofexternalservices/original/2X/c/c59b70847936fdb7f703fc2d70de589560dd0bcd.jpeg)

Grab it below or from the Logik Portal.

If you have it installed already, remove it and replace it with this folder. I’ve also changed like 28 to match above.

[social\_versions.zip](https://forum.logik.tv/uploads/short-url/z5Nx8byPZyEOIEU7FujiVbrbQ5b.zip) (233.8 KB)

---

<div class="post-metadata">

**Author:** ![Jeroen](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/jeroen/32/3600_2.png) [@Jeroen](https://forum.logik.tv/u/Jeroen)\
**Post date:** [February 10, 2025, 1:44pm UTC](https://forum.logik.tv/t/python-create-social-format-timelines-from-existing-timelines/12170/26 "2025-02-10T13:44:29Z")

</div>

worked like a charm!

---

<div class="post-metadata">

**Author:** ![Jeroen](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/jeroen/32/3600_2.png) [@Jeroen](https://forum.logik.tv/u/Jeroen)\
**Post date:** [February 10, 2025, 1:49pm UTC](https://forum.logik.tv/t/python-create-social-format-timelines-from-existing-timelines/12170/27 "2025-02-10T13:49:58Z")

</div>

now we’re talking!! thats amazing

---

<div class="post-metadata">

**Author:** ![TimC](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/timc/32/11881_2.png) [@TimC](https://forum.logik.tv/u/TimC)\
**Post date:** [February 10, 2025, 3:23pm UTC](https://forum.logik.tv/t/python-create-social-format-timelines-from-existing-timelines/12170/28 "2025-02-10T15:23:55Z")

</div>

@john-geehreng is the UI update a 2025 only thing?

---

<div class="post-metadata">

**Author:** ![AndyBrown](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/andybrown/32/708_2.png) [@AndyBrown](https://forum.logik.tv/u/AndyBrown)\
**Post date:** [February 10, 2025, 3:24pm UTC](https://forum.logik.tv/t/python-create-social-format-timelines-from-existing-timelines/12170/29 "2025-02-10T15:24:41Z")

</div>

Very Nice!

---

<div class="post-metadata">

**Author:** ![john-geehreng](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/john-geehreng/32/7195_2.png) [@john-geehreng](https://forum.logik.tv/u/john-geehreng)\
**Post date:** [February 10, 2025, 3:27pm UTC](https://forum.logik.tv/t/python-create-social-format-timelines-from-existing-timelines/12170/30 "2025-02-10T15:27:49Z")

</div>

> [@TimC](#):
>
> @john-geehreng is the UI update a 2025 only thing?

Hey @TimC  
I’ve only tested it in 2025.2.2, but I think it should work in 2023.2 and above.

---

<div class="post-metadata">

**Author:** ![TimC](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/timc/32/11881_2.png) [@TimC](https://forum.logik.tv/u/TimC)\
**Post date:** [February 10, 2025, 3:34pm UTC](https://forum.logik.tv/t/python-create-social-format-timelines-from-existing-timelines/12170/31 "2025-02-10T15:34:15Z")

</div>

sorry spoke too soon - i can confirm even thought the UI shows up, it doesn’t actually work in Flame2023.3.2

“File “/opt/Autodesk/shared/python/social\_versions\_ui.py”, line 250, in create\_timelines  
create\_timeline(self.selection, yslider.value(), xslider.value(), entry.text())  
TypeError: create\_timeline() takes 3 positional arguments but 4 were given”

the non-UI version still works great. another reason for me to push for an upgrade… thx for listening.

---

<div class="post-metadata">

**Author:** ![john-geehreng](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/john-geehreng/32/7195_2.png) [@john-geehreng](https://forum.logik.tv/u/john-geehreng)\
**Post date:** [February 10, 2025, 8:00pm UTC](https://forum.logik.tv/t/python-create-social-format-timelines-from-existing-timelines/12170/32 "2025-02-10T20:00:54Z")

</div>

> [@TimC](#):
>
> “File “/opt/Autodesk/shared/python/social\_versions\_ui.py”, line 250, in create\_timelines  
> create\_timeline(self.selection, yslider.value(), xslider.value(), entry.text())  
> TypeError: create\_timeline() takes 3 positional arguments but 4 were given”

Are you using my version of Kyle’s script or Kyle’s version from above. I tweaked his version so the user can control the name, hence the 4th argument.

---

<div class="post-metadata">

**Author:** ![finnjaeger](https://avatars.discourse-cdn.com/v4/letter/f/e99b99/32.png) [@finnjaeger](https://forum.logik.tv/u/finnjaeger)\
**Post date:** [February 26, 2025, 10:01am UTC](https://forum.logik.tv/t/python-create-social-format-timelines-from-existing-timelines/12170/33 "2025-02-26T10:01:27Z")

</div>

this is the best thing … ever

I was literally starting to write this myself because i was tasked with making 100 social versions and i am lazy, but this is like perfect timing \<3 thank you !!

one very unimportant feature request: keep color of source timeline

we use a very pretty gradient coloring system 😃

 ![image](https://us1.discourse-cdn.com/flex020/uploads/thedepartmentofexternalservices/original/2X/8/8e721645fc96b2b91f7aedfc98c3841df6d86413.jpeg)

---

<div class="post-metadata">

**Author:** ![kyleobley](https://avatars.discourse-cdn.com/v4/letter/k/df788c/32.png) [@kyleobley](https://forum.logik.tv/u/kyleobley)\
**Post date:** [February 26, 2025, 11:40am UTC](https://forum.logik.tv/t/python-create-social-format-timelines-from-existing-timelines/12170/34 "2025-02-26T11:40:29Z")

</div>

Hey @finnjaeger [try v0.3](https://github.com/kmatchbox/PythonHooks/blob/main/social_versions/social_versions.py). I can’t test it because I don’t have a license at the moment but it **should** work. Only had to add one little line.

---

<div class="post-metadata">

**Author:** ![john-geehreng](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/john-geehreng/32/7195_2.png) [@john-geehreng](https://forum.logik.tv/u/john-geehreng)\
**Post date:** [February 26, 2025, 2:22pm UTC](https://forum.logik.tv/t/python-create-social-format-timelines-from-existing-timelines/12170/35 "2025-02-26T14:22:30Z")

</div>

Great idea. This has been updated in the Logik Portal too. Now color will match and renders get flushed in the resizes.

---

<div class="post-metadata">

**Author:** ![finnjaeger](https://avatars.discourse-cdn.com/v4/letter/f/e99b99/32.png) [@finnjaeger](https://forum.logik.tv/u/finnjaeger)\
**Post date:** [February 28, 2025, 10:07am UTC](https://forum.logik.tv/t/python-create-social-format-timelines-from-existing-timelines/12170/36 "2025-02-28T10:07:48Z")

</div>

I LOVE ALL OF THIS SO MUCH PEOPLE!!!

THIS IS GREAT, so great so great

---

<div class="post-metadata">

**Author:** ![PlaceYourBetts](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/placeyourbetts/32/6852_2.png) [@PlaceYourBetts](https://forum.logik.tv/u/PlaceYourBetts)\
**Post date:** [January 22, 2026, 8:02am UTC](https://forum.logik.tv/t/python-create-social-format-timelines-from-existing-timelines/12170/37 "2026-01-22T08:02:23Z")

</div>

I love this so very much. Thank you ❤

[Previous page](https://forum.logik.tv/t/python-create-social-format-timelines-from-existing-timelines/12170.md?page=1)
