Localize all reference model in scene
Monday, September 22, 2014
in
Python
#=============================================
# Make all ref model in scene local
from siutils import si, sisel, log
for obj in si.ActiveSceneRoot.FindChildren("*", "#model"):
xx = obj.Parameters("referenced_model").Value==True
if xx:
yy = obj.Parameters("active_resolution").Value==True
if yy:
#print obj
si.MakeModelLocal(obj, "", 2)
#=============================================
0 Responses to "Localize all reference model in scene"
Leave a Reply