Alpha Docs
Construction ModuleTypes

Dynamic Variables

Using variables in type configurations

Dynamic Variables

Variables enable dynamic values in types and options.

Variable Concepts

What are Variables?

Variables store dynamic values:

  • Calculated prices
  • Unit-specific data
  • Configuration inputs
  • Computed values

Use Cases

Use CaseExample
Area-based pricingPrice per sqm
Lot-specificLot dimensions
Calculated totalsSum of options

Variable Types

Input Variables

User-provided values:

VariableTypeExample
Lot WidthNumber15 meters
Lot DepthNumber25 meters
Floor LevelNumber3

Calculated Variables

Computed from formulas:

Lot Area = Lot Width × Lot Depth
Price = Base + (Lot Area × Price/sqm)

System Variables

Provided by system:

VariableSource
Unit NumberFrom project
Project NameFrom project
Current DateSystem

Creating Variables

Step 1: Define Variable

  1. Go to type Variables tab
  2. Click Add Variable
  3. Configure:
FieldDescription
NameVariable name
CodeReference code
TypeNumber/Text/Boolean
DefaultDefault value

Step 2: Set Formula (if calculated)

LotArea = width * depth
ExtendedPrice = basePrice + (LotArea * 50)

Using Variables

In Options

Reference in option pricing:

Driveway Extension: +${ExtendedDrivewayPrice}

In Descriptions

Dynamic text:

"Your {LotArea} sqm lot at {ProjectName}"

In Restrictions

Conditional rules:

IF LotWidth < 12 THEN exclude "Wide Garage"

Variable Scope

ScopeAvailable
TypeAll options in type
ProjectAll types in project
UnitSpecific unit

On this page