Atharv Joshi
Forum Moderator
Hello, 
 
Can you try this without ClearAll() command? 
I think its deleting the custom surface that's created and thus failing to find any face for selection. 
 
Regards
Atharv