B: Graphic Template Setup Example
1.Choose the New Properties command. Save the Property Object to the Property Data folder in your library. Name it for example “drawing”.
2.Create the new parameters X and Y.
3.In the Properties script window, type “DRAWING”.
4.In the 2D script window, type:
DRAWING3 7, 270, 2
See the “GDL Reference Guide” in ARCHICAD Help.
5.Save the Property Object.
6.Select objects on the Floor Plan and assign this Property Object to them. In the Object Settings dialog box, on the Listing Panel, uncheck the by Criteria checkbox and check the Individually checkbox.
Note: The Listing Panel is not visible by default. To enable it in any construction element’s settings, go to Options > Work Environment > Tool Settings Dialog Boxes.
7.Then select the Property Object you have just created (drawing).
8.Open the Set up List Schemes dialog box. Select the General Element List scheme and duplicate it (US users: select Element List Set and duplicate it). Name it “My Object Inventory”.
9.On the Elements tab page, choose Objects as the only element type to be included in the list.
10.On the Properties and Parameters tab page, select None in the Components and Descriptors pop-up lists and check the following parameters on the parameter list:
•Library Part name
•Story Name/Viewpoint Name
11.On the List Format tab page, choose Graphic Template. Then change the order of the parameters as shown:
12.Click the Start Format Wizard/Assistant button.
13.In the appearing window, select the General Element List layout.
14.Click the Duplicate button. Name your new list layout: “#My Object Inventory”.
15.Click the Header button. Select the Empty Header (landscape) Record Type.
16.Select Footer from the Edit pop-up menu, and then select the Empty Footer (landscape) Record type.
17.Select Background from the Edit pop-up menu, and enter 260 mm for the total width and 180 mm for the total height. Enter the same numbers for the width and height fields below.
18.Click the Picture button and select None in the Use Picture pop-up.
19.Click the Borders button to open the Field Borders dialog box. Check all boxes to draw borders on each side. Click OK to return to the Edit Page Item dialog box.
20.Select “Header on the first page” from the Edit pop-up menu, and select Empty Header (landscape) from the Record Type pop-up list.
21.Select “Footer on the first page” from the Edit pop-up menu, and select Empty Footer (landscape) from the Record Type pop-up list.
22.Click OK to return to the Layout tab page.
24.Go to the Content tab page and uncheck all checkboxes under the Records to display one-by-one parameter in the Parameters list.
25.Uncheck all checkboxes under the Display Headlines by… parameter in the Parameters list.
26.Select all the parameters under Calculate Totals/Subtotals by (except for Grand Total) and click the Group Selected Parameters button. The result will be as shown below. The five selected parameters will become hierarchically the members of a new group called Group of totals 01-05.
27.Go to the Fields tab page. In the Parameter & Record pop-up you have only one item: Group Of Totals 01-05.
28.Set the total width to 260 mm, and set the total height to 100 mm.
29.Set the number of rows to 10, and the number of columns to 6.
30.Click the Picture button to open the Picture dialog box, and select Property Object 2D Full View from the pop-up list.
31.Enter 100 mm for the width and 50 mm for the height. Also enter 47.1 mm for the first (horizontal) offset and 40 mm for the second (vertical) offset.
32.Click OK to return to the Fields tab page of the Format Wizard/Assistant.
33.Proceed as follows: choose Row 1/Column 1, select the first parameter from the right-hand side pop-up (User ID) then select Name from the left-hand side pop-up to be displayed in the field. Repeat these steps with all the parameters in the list.
34.The second row displays the actual values of the parameters. Set the Field to Edit counter to the second row and start inserting the values. Select the parameter in the right-hand side pop-up and then choose Insert/Value from the left side pop-up.
35.The third row displays the number of instances. Set the Field to Edit counter to the third row and enter into the first field: “Number of Instances”. For the second field of the third row select the first parameter at the right-hand side pop-up list and choose Insert/Number of Instances.
36.Click the Preview button to see the preview. (Some objects must be placed on the Floor Plan, otherwise the preview will not display anything.) Click Done to return to the Wizard/Assistant.
37.Set the height of the letters in the Default Text Format dialog box to 4 mm and select centered justification.
38.For each field set the borders to be displayed on the bottom of the field. Click the Borders button and check the Bottom checkbox.
39.The fields of the second line could be offset vertically by 2 mm so that it looks a little tidier. The third line could be offset 5 mm vertically. Enter the offset for each field separately.
40.Click Done to finish.
41.Select Element Lists > My Object Inventory to display the list.