LoginSignup
0
0

More than 1 year has passed since last update.

python maya reload ass

Posted at
import pymel.core as pm
standins = [i for i in pm.ls(type='aiStandIn')]
standinTransforms = [pm.listRelatives(i, parent=True, f=True)[0] for i in standins]

assPath = {i: i.dso.get() for i in standins}

for standin, path in assPath.items():
    standin.dso.set(path)
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0