public static ViewSchedule CreateLayoutLoadSchedule(Document doc, string levelName, string suffix)
        {
            ScheduleCreator _scheduleCreator = new ScheduleCreator(doc);

            ViewSchedule  _viewSchedule      = _scheduleCreator.CreateSchedule(false, levelName + suffix, BuiltInCategory.OST_Levels);
            ScheduleField _nameField         = _scheduleCreator.AppendField(_viewSchedule, "Name");
            ScheduleField _elevationField    = _scheduleCreator.AppendField(_viewSchedule, "Elevation");
            ScheduleField _levelLoadCapacity = _scheduleCreator.AppendField(_viewSchedule, "Level Load Capacity");
            ScheduleField _loadDemand        = _scheduleCreator.AppendField(_viewSchedule, "Load Demand");
            ScheduleField _liveLoadDemand    = _scheduleCreator.AppendField(_viewSchedule, "Live Load Demand");
            ScheduleField _formworkDemand    = _scheduleCreator.AppendField(_viewSchedule, "Formwork Demand");

            if (_elevationField != null)
            {
                _scheduleCreator.AppendSortField(_viewSchedule, _elevationField);
            }

            _scheduleCreator.AppendFilter(_viewSchedule, _nameField, ScheduleFilterType.Equal, levelName);

            return(_viewSchedule);
        }
        public static ViewSchedule CreatePourColumnSchedule(Document doc, string name, string suffix)
        {
            ScheduleCreator _scheduleCreator = new ScheduleCreator(doc);

            ViewSchedule  _viewSchedule     = _scheduleCreator.CreateSchedule(false, name + suffix, BuiltInCategory.OST_Columns);
            ScheduleField _pourNameField    = _scheduleCreator.AppendField(_viewSchedule, "Pour Name");
            ScheduleField _count            = _scheduleCreator.AppendField(_viewSchedule, "Count");
            ScheduleField _familyAndType    = _scheduleCreator.AppendField(_viewSchedule, "Family and Type");
            ScheduleField _clearShoreHeight = _scheduleCreator.AppendField(_viewSchedule, "Clear Shore Height"); //Total Shore Length
            ScheduleField _maxHeight        = _scheduleCreator.AppendField(_viewSchedule, "Max. Height");
            ScheduleField _minHeight        = _scheduleCreator.AppendField(_viewSchedule, "Min. Height");
            ScheduleField _loadCapacity     = _scheduleCreator.AppendField(_viewSchedule, "Load Capacity"); //Safe Working Load

            _scheduleCreator.AppendSortField(_viewSchedule, _pourNameField);
            _scheduleCreator.AppendSortField(_viewSchedule, _familyAndType);
            _scheduleCreator.AppendSortField(_viewSchedule, _clearShoreHeight);

            if (_pourNameField != null)
            {
                _scheduleCreator.AppendFilter(_viewSchedule, _pourNameField, ScheduleFilterType.Equal, name);
            }

            return(_viewSchedule);
        }