removing floating faces - Maxscript

Do anybody know way to do this, How to remove from object faces which are not connected with base mesh - floating faces.
I need it for tool I'm working on but I'm running out of ideas.
Can anybody advice something?
Would be great to hear from You.

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
miauu's picture

.

Those faces are:

1) single faces(3,4,5..n sided polygon)
2) several faces, that forms an Element and are not connected to the base mesh?

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.