ScheduleFilter(ScheduleFieldId, ScheduleFilterType, Int32) Constructor requires Int32 - current casting to to int
|
if (value.GetType() == typeof(int)) |
|
{ |
|
filter = new Autodesk.Revit.DB.ScheduleFilter(field.InternalScheduleField.FieldId, ft, (int)value); |
|
} |