Selection sets names should match corresponding materials names, of course.
Could someone help please?
Thanks
Forum topic · Scripts Wanted
Create Named Selectoin Sets based on scene's materials
By 1rv · 2017-12-22
Description
Comments (4)
1rv · 2019-01-10
Miauu, 1000 thanks!
P.S. Is it possible to modify so it'd create SelSets only from SELECTED objects?
.
miauu · 2019-01-10
From materials applied to the selected objects?
Can you provide a test scene?
1rv · 2019-01-14
I PMed you
.
miauu · 2017-12-28
(
for sceneMat in sceneMaterials do
(
theObjsArr = for n in (refs.dependents sceneMat) where superClassOf n == GeometryClass collect n
selectionSets[sceneMat.name] = theObjsArr
)
)