bl_idname = "view3d.selected_to_curve" ...
def filter_on_curve_type(self, object): ...