![revizto api revizto api](https://bim-manager.fr/wp-content/uploads/2020/06/logiciel2020BIM.jpeg)
![revizto api revizto api](https://2.bp.blogspot.com/-WTlXCqjEeUQ/VxApnWSYBNI/AAAAAAAAH1c/5GF6S8hAa6ceJGjTt30sVNm8rjpRV2VKQCLcB/s1600/beta.png)
The ScheduleField.IsHidden property can be used to hide a field. Column width and horizontal alignment of text within a column can also be defined. The ScheduleField class has properties to control column headings, both the text as well as the orientation. Fields can also represent data calculated from other fields in the schedule, specifically Formula and Percentage fields. Some fields represent parameters of other related elements, like the room to which a scheduled element belongs. Most commonly, a field represents an instance or type parameter of elements appearing in the schedule. Each (non-hidden) field becomes a column in the schedule. The ScheduleField class represents a single field in a ScheduleDefinition's list of fields. If schedulable field doesn't exist in view schedule, add it. If (vs.Definition.GetField(id).GetSchedulableField() = sf) it means the field is already added to the view schedule. If the GetSchedulableField() method of gotten schedule field returns same schedulable field, IList ids = vs.Definition.GetFieldOrder() SchedulableFields = vs.Definition.GetSchedulableFields() įoreach (SchedulableField sf in schedulableFields) Get all schedulable fields from view schedule definition. Public void AddFieldToSchedule(List schedules)
#REVIZTO API HOW TO#
The following is a simple example showing how to add fields to a view if they are not already in the view schedule. Fields can also be ordered after the fact using ScheduleDefinition.SetFieldOrder(). To place a new field in a specific location in the field list, use one of the ScheduleDefinition.InsertField() methods. Using one of the ScheduleDefinition.AddField() methods will add the field to the end of the field list. Only allowed in schedules that include elements from linked files.Ī parameter of the structural material of a scheduled element.Ī parameter of the space that a scheduled element belongs to. Currently RVT_LINK_FILE_NAME_WITHOUT_EXT is the only supported parameter. Only allowed in schedules that include elements from linked files.Ī parameter of the RevitLinkType that an element in a linked file belongs to. Currently RVT_LINK_INSTANCE_NAME is the only supported parameter. The parameter ID can be MATERIAL_AREA, MATERIAL_VOLUME, or MATERIAL_ASPAINT.Ī parameter of the RevitLinkInstance that an element in a linked file belongs to. In a material takeoff, a value representing how a particular material is used within a scheduled element. In a material takeoff, a parameter of one of the materials of a scheduled element. Only allowed in schedules that include elements from linked files. KEYNOTE_NUMBER in keynote legends that are numbered by sheet.Ī formula calculated from the values of other fields in the schedule.Ī value indicating what percent of the total of another field each element represents.Ī parameter of the room that a scheduled element belongs to.Ī parameter of the room on the "from" side of a door or window.Ī parameter of the room on the "to" side of a door or window.Ī parameter of the Project Info element in the project that the scheduled element belongs to, which may be a linked file.PROJECT_REVISION_REVISION_NUM in revision schedules.
![revizto api revizto api](https://www.revit.news/wp-content/uploads/2017/05/how-to-duplicate-a-project-in-revizto.png)
ROOM_AREA and ROOM_PERIMETER in room and space schedules.The number of elements appearing on the schedule row.Ī specialized type of field used for a few parameters whose displayed values can change based on the settings of the view: All shared parameters also use this type, regardless of whether they are instance or type parameters.Ī type parameter of the scheduled elements. When present, the embedded ScheduleDefinition is obtained from the ScheduleDefinition.EmbeddedDefinition property.Īn instance parameter of the scheduled elements. Those settings are stored in a second ScheduleDefinition object. An embedded schedule has its own category, fields, filters, etc. In Revit MEP, schedules of certain categories can contain an "embedded schedule" containing elements associated with the elements in the primary schedule, for example a room schedule showing the elements inside each room or a duct system schedule showing the elements associated with each system. Most schedules contain a single ScheduleDefinition which is retrieved via the ViewSchedule.Definition property. Filters that restrict the set of elements visible in the schedule.A set of fields that become the columns of the schedule.The schedule's category and other basic properties that determine the type of schedule.The ScheduleDefinition class contains various settings that define the contents of a schedule view, including: