polyop.getVertsByMatId <Poly poly> <int material_id>  NEW in 3ds Max 2023:
Returns an array of vertices that belong to faces that match the specified
 NEW in 3ds Max 2023:
Returns an array of vertices that belong to faces that match the specified material_id for the specified poly.
polyop.getFacesByMatId <Poly poly> <int material_id>  NEW in 3ds Max 2023:
Returns an array of faces that match the specified
 NEW in 3ds Max 2023:
Returns an array of faces that match the specified material_id for the specified poly.