Author: |
|
Creation Date: |
2002-10-12 |
• ArchiCAD 9 |
|
Platform: |
• Mac OS X |
Audience: |
• power users |
Reference: |
• [tracking number] |
First of all, create a new Unit under the Edit Database menu command in the Calculate menu:
Then name this new unit, we will use USD:
Then, create Property objects containing this new price unit, see for example '119_per_item.gps' or '29_per_length.gps' in the library of the downloadable archive (.[PLA]) file (see below). These property objects have to be linked to your construction elements to which you want to add price information. Property objects can be linked by criteria or by individual assignment. In this example, let's choose the individual assignment. You can see on this figure how the 29_per_length.gps property object has been linked to Wall-001:
To experiment with price informations added to your project, download the example file (Prices.PLA v7.0) and create a component list as shown here:
Another method
You can also define a separate variable in your library parts for price information, in this case, you need to define the Price component in the Property Script of the library part with a command like
COMPONENT "price", 19.90, "USD", 1
- The first parameter, named "price" in this case, will be displayed in the component list.
- The second parameter can be a number or any numeric variable (that you eventually add to the parameter list of the library part). This value will be multiplied by the referenced length, surface or volume and displayed in the component list.
- The third parameter will define the unit, in this case the price unit in the component list.
The fourth parameter is a code which defines the referenced element parameter (1..5) as shown on p.159 in the AchiCAD 7.0 GDL Reference Manual:
1: item, 2: length, 3: surface A, 4: surface B, 5: surface, 6: volume
This method can't be used with Walls, Slabs and other construction elements that can't be scripted.
