如题,我装了4.1版本的场景助手,结果里头的“打开所有组”功能不能用,不知道各位有没遇到这种情况?求高手赐教啊
\Rny*px 代码为:
"}]$ag!`q$ fn openAllGroups obj =
Jxe+LG (
\fA{ sehdL sourceObj =
for i in obj where not isOpenGroupHead i collect i
4_R|3L if sourceObj.count != 0 then for o in sourceObj do setGroupOpen o false else return true
R?xb1yc7_ for j in 1 to sourceObj.count do openAllGroups sourceObj
oh9
;_~ )
I~GF%$-G ( if selection.count != 0 then
fvkcJwkc obj = for i in selection where CGplusplusFunc.notHiddenOrFrozen i and isGroupHead i collect i
cl4E6\?z else obj = for i in objects where CGplusplusFunc.notHiddenOrFrozen i and isGroupHead i collect i
6Z2 ,:j; fl_openAllGroups obj
G7 %bY )
&k}f"TX2