lontra
11-21-2006, 02:00 PM
Hi there!...
I'm having some trouble figuring out a FUNCTION to filter geometry with a kind of modifier (ie. turbosmooth) for a pickbutton with selectByName...
I've seen this code um a post:
for i in geometry where (for f in i.modifiers where classOf f == TurboSmooth collect 0).count == 0 collect i
but I just canīt get the darn function to filter the content...
Here is what I have so far, and it just doesnt work:
on bt1 pressed do
(
TsPicked = SelectByName title:"Objectos com TurboSmooth" filter:TsFn showHidden:true
TsObj = TsPicked
)
Any ideas??? Thanks...
I'm having some trouble figuring out a FUNCTION to filter geometry with a kind of modifier (ie. turbosmooth) for a pickbutton with selectByName...
I've seen this code um a post:
for i in geometry where (for f in i.modifiers where classOf f == TurboSmooth collect 0).count == 0 collect i
but I just canīt get the darn function to filter the content...
Here is what I have so far, and it just doesnt work:
on bt1 pressed do
(
TsPicked = SelectByName title:"Objectos com TurboSmooth" filter:TsFn showHidden:true
TsObj = TsPicked
)
Any ideas??? Thanks...
