2017-12-04 13 views

答えて

0

ABCキャッシュ用のパスを取得するためのソリューションです:地理・キャッシュの

shape = cmds.ls(sl=True, dag=True, type="mesh", ni=True) # just to get the mesh shape under selection 
abc = cmds.listConnections(shape, type='AlembicNode') # find the alembic node 
cache_path = cmds.getAttr('{0}.{1}'.format(abc[0],'abc_File')) # get the path 

、属性は両方とも、次のとおりです。

.cacheName .cachePath

関連する問題