Applying filters to schedule

I’m trying to add filter to schedule using node ScheduleFilter.ByFieldTypeAndValue with filter type ‘has a value’ but don’t know what value should be as there is no value in Revit for such filter type, but the node expects value, like on image below:

One more question hot to set option ‘Filter by sheet’?

I haven’t found how to set those options, but as workaround schedule with those options already in can be copied.

You are looking for:

ScheduleFilter Constructor (ScheduleFieldId, ScheduleFilterType) (revitapidocs.com)

and

ScheduleFilterType Enumeration (revitapidocs.com)

Instead of using “has a value” use “is greater than” and the value would be double quotation for blank " "