Jump to content

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.

KeyTypeValueDescription
OBJECTCLASSTextAny valid object class namehe name of the object class for which the property values are calculated.
ATextThe name or key of the first property used in the formula.
BTextName 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.
CTextName 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.
FORMULATextThe formula used for calculating the value of the target propertyThe 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)
TARGETPROPERTYTextName or key of a numeric property that exists for the specified object classThe name or key of the numeric property into which the result of the formula is written.