Thank you very much indeed. But I still have an error message below,
'Selection must be a Face.' in result = ExtrudeFaces.Execute(selection, thickness, options)
seclection=FaceSelection.SelectAll() means surface selection as Face? Or is there any method to change surface to Face?