本文最后更新于657 天前,其中的信息可能已经过时,如有错误请发送邮件到84581927@qq.com
if ( selection.count==1 and (classof $ ==Editable_Poly) and (classof $.material==Multimaterial) ) do
(
max modify mode
subobjectLevel = 4
$.SetSelection #Face #{}
for i= 1 to $.material.materialList.count do
(
if (isproperty $.Material.materialList[i] “diffuseMap” and classof $.Material.materialList[i].diffuseMap == Bitmaptexture)
thencontinueelse
(
$.EditablePoly.selectByMaterial i clearCurrentSelection:off
)
)
)–end if ( selection.count==1 and (classof $ ==Editable_Poly) and (cl….
if ( selection.count==1 and (classof $ ==Editable_Poly) and (classof $.material==Standardmaterial)) do
(
if (isproperty $.Material “diffuseMap” and classof $.Material.diffuseMap != Bitmaptexture) do
(
max modify mode
subobjectLevel = 4
$.SetSelection #Face ($.faces as BitArray)
)
)–end if
if ( selection.count==1 and (classof $ ==Editable_Poly) and $.material==undefined) do
(
max modify mode
subobjectLevel = 4
$.SetSelection #Face ($.faces as BitArray)
)