Extracting data from cost models

Design and reference parameters

FOR USE
Parameter in 1up OneUpN.Cost.Parameter
Parameter in Layout LayoutN.Cost.Parameter
description parameter in 1up OneUpN.Cost.Parameter.Descr
Description Parameter in Layout LayoutN.Cost.Parameter.Descr

Examples

TO print USE Example
The value, in U.S. dollars, of 'TotalCost' from Layout1. $$$Layout1.Cost.TotalCost; n0t$ $1,050*
The value, in euros, of 'TotalCost' from OneUp1. $OneUp1.Cost.TotalCost; n2$ EUR 135.50 EUR
The value, in euros, of 'TotaRules' from Layout1. $Layout1.Cost.TotalRules; n2$ EUR 334.50 EUR
Description of 'TotaRules' in OneUp1. $OneUp1.Cost.TotalRules.Descr$ Total length of rules in meters
Description of 'TotaRules' in Layout1. $Layout1.Cost.TotalRules.Descr$ Total length of rules in meters

* If you want to display the character '$' in front of a text, insert it two more times in front of the formula. For example, if the formula for extracting the total cost is $OneUp1.Cost.TotalCost$, write $$$OneUp1.Cost.TotalCost$. EngView will return a number preceded by the $ sign — for example, $21.32.

Selection Parameters

A selection parameter consists of multiple values, called selection type entries, combined in a holding entity called selection type. When you use a selection parameter, you choose an entry from the selection type, and this entry then becomes the actual value that the cost model will use for calculations. That is why, when working with selection parameters, there are a four properties that you can extract. See the two tables and the picture that follow to learn which they are and how you can extract them.

Color Indicates Formula that extracts it
Yellow Description of the selection parameter OneUp1.Cost.ParameterName.Descr
Green Name of the applied selection type entry #OneUp1.Cost.ParameterName
OneUp1.Cost.ParameterName.Expr
Red Expression value of the applied selection type entry OneUp1.Cost.ParameterName
Light Purple Description of the applied selection type entry OneUp1.Cost.ParameterName.ValDescr
to print drawing formula to use example
Description of the WorkQualification parameter 1up $OneUp1.Cost.WorkQualification.Descr$ Rate per hour
Layout $Layout1.Cost.WorkQualification.Descr$
The name of the applied selection type entry for the WorkQualification parameter 1up $#OneUp1.Cost.WorkQualification$ Beginner
$OneUp1.Cost.WorkQualification.Expr$
Layout $#Layout1.Cost.WorkQualification$
$Layout1.Cost.WorkQualification.Expr$
The expression value of the applied selection type entry for the WorkQualification parameter 1up $OneUp1.Cost.WorkQualification; n2$ EUR 5.00 EUR
Layout $Layout1.Cost.WorkQualification; n2$ EUR
The description of the applied selection type entry for the WorkQualification parameter 1up $OneUp1.Cost.WorkQualification.ValDescr$ 5 euro per hour
Layout $Layout1.Cost.WorkQualification.ValDescr$

See the general rules for how to write formulas and format formula results.