Calculator
This tool is part of Simplebim Prototypes addon. In order to use the tool, you need to download and install the addon from here.
Note the tool is deprecated. There’s a new tool called Calculate Properties in Simplebim 10 that replaces the Calculator.
Tool for calculating the value of a numeric property from up to 3 other numeric properties using a formula.
Configuration Options
Because this tool needs to be configured it can only beĀ run from a template. This tool is not visible in the Tools drop-down menu of the ribbon.
Key | Type | Value | Description |
---|---|---|---|
OBJECTCLASS | Text | Any valid object class name | he name of the object class for which the property values are calculated. |
A | Text | The name or key of the first property used in the formula. | |
B | Text | Name or key of a numeric property that exists for the specified object class. | The name or key of the second property used in the formula. This key does not have to be given if the formula only uses one property. |
C | Text | Name or key of a numeric property that exists for the specified object class. | The name or key of the third property used in the formula. This key does not have to be given if the formula only uses two properties. |
FORMULA | Text | The formula used for calculating the value of the target property | The formula supports all mathematical operator and parenthesis. The variables A, B and C may be used in the formula to represent the properties defined by the corresponding configuration keys. Examples – A+B – (A+B)/C – (A+10)/(B*C) |
TARGETPROPERTY | Text | Name or key of a numeric property that exists for the specified object class | The name or key of the numeric property into which the result of the formula is written. |