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)
More than 1 year has passed since last update.
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme