Arch Schedule/ru

Описание
The Schedule tool allows you to create and automatically populate a spreadsheet with contents gathered from the model.


 * This tool has been rewritten in FreeCAD 0.17 and differs from previous versions.

For a more general solution, see the Reporting Workbench in the list of external workbenches. This workbench uses SQL syntax to extract information from the document.

Применение

 * 1) Open or create a FreeCAD document which contains some objects.
 * 2) Press the  button.
 * 3) Adjust the desired options.
 * 4) Press.

Рабочий процесс
Для начала требуется некоторая готовая конструкция. Например, как в этом документе, который содержит множество объектов созданных в верстаке Arch (хотя на самом деле также поддерживаются и другие объекты).



Далее нажмите на кнопку. В результате чего откроется панель задач, как на изображении. Она довольно широкая, поэтому для удобной работы, вам нужно будет расширить её в высоту.



Затем вы можете заполнять строки таблицы друг за другом. Каждая строка представляет собой "запрос" и будет отображать одну строку в электронной таблице. Нажмите кнопку, чтобы добавить новую строку, и дважды щелкните каждую ячейку из этой строки, чтобы заполнить значения. Кнопка удаляет строку, содержащую выбранную в данный момент ячейку, а кнопка  удаляет абсолютно все строки. Доступными полями для заполнения в столбцах являются:


 * Description: A description for this query. The Description column will be the first column of the resulting spreadsheet. The description is mandatory to have a query performed. If you leave the description cell empty, the whole line will be skipped and left blank in the spreadsheet. This allows you to add "separator" lines.
 * Value: This is the real query that you want to perform on all the objects selected by the query. It can be two things: either the word or an object property:
 * If you enter (or  or, it's case-insensitive) the selected objects will simply be counted.
 * If you enter an object property the value of this property for each of the selected objects will be retrieved and summed up. Objects that do not have the property will be skipped. Use dot notation to retrieve properties of properties: . If the property before the first dot starts with a lowercase letter it will be considered a reference to the object itself and be ignored. Entering for example is the same as entering.
 * Unit: An optional unit to express the results in. It's up to you to give a unit that matches the query you are doing, for example, if you are retrieving volumes, you should use a volume unit, such as . If you use a wrong unit, for ex. cm, you'll get wrong results.
 * Objects: You can leave this empty, then all the objects of the document will be considered by this query, or give a semicolon -separated list of object names (not labels). If any of the objects in this list is a group, its children will be selected as well. So the easiest way to use this feature is to group your objects meaningfully in the document, and just give a group name here. You can also use the button to add objects currently selected in the document.
 * Filter: Here you can add a semicolon-separated list of filters. Each filter is written in the form: . You can only use properties that hold a string value. Both the property and the value are case-insensitive. The can be left out but not the . To properly handle schedules created with previous versions of Arch Schedule the  property will be translated to the  property. It is advisable to not use  in new schedules.
 * For example:
 * will retain only objects that have "floor1" in their and "window" in their . A window with the  "Floor1-AA" and the  "Window Standard Case" will be included.
 * Will retain only objects that have "door" in their.
 * Will retain only objects that do not have "door" in their.
 * Will retain only objects that have "structural" in their.
 * Will retain only objects that do not have "structural" in their or that do not have the  property.
 * Will retain only objects that do not have the property.

The button allows you to build this list in another spreadsheet application, and import that as a csv file here.

So we can build a list of queries like this:



After that, press and a new Schedule object is added to the document, which contains a result spreadsheet:



By double-clicking the Schedule object, you get back to the task panel and change the values. By double-clicking the spreadsheet itself, you get the results in 3 columns: description, value, unit (if applicable):



The spreadsheet can then be exported to csv normally, from the Spreadsheet workbench.

Dynamic properties
It is possible to add your own properties to objects. These are called Dynamic properties. If they have been added with the option selected, their names will indeed start with the group name, but this prefix is not displayed in the Property editor. Their names have this form:. To reference them in a schedule this full name must be used.