Skip to content

Instantly share code, notes, and snippets.

View justinfx's full-sized avatar

Justin Israel justinfx

View GitHub Profile
import math
import pymel.core as pm
def insertKeyframeBetweenKeys():
try:
objects = pm.ls(sl=1)
attrs = pm.selectionConnection('graphEditor1FromOutliner', q=1, object=1)
for attr in attrs:
buffer = attr.split(".")