OpenSite/Concepts/Properties and units: Difference between revisions

From BathAfrica Documentation
Jump to navigation Jump to search
Publish professional OpenSite help structure and learning paths
 
Connect OpenSite chapter overviews into the documentation reading flow
 
Line 18: Line 18:
* [[OpenSite/Guides/Python property expressions]]
* [[OpenSite/Guides/Python property expressions]]


<div class="os-page-nav">{{Docnav|OpenSite/Getting started|OpenSite/Guides|OpenSite/Guides|All guides}}</div>
<div class="os-page-nav">{{Docnav|OpenSite/Concepts/Documents and identity|OpenSite/Concepts/Expressions|OpenSite/Guides|All guides}}</div>
[[Category:OpenSite documentation]]
[[Category:OpenSite documentation]]

Latest revision as of 14:16, 29 October 2026

OpenSite 0.0.1 · DevelopmentSource scope and availability

A property has more meaning than a displayed number.

Type, role and validity

Quantity properties carry dimension and quantity kind; other types include Boolean, integer, real, text, references and typed lists. An input differs from a derived result. Current, stale and invalid are meaningful states; an old retained number is not automatically current.

Canonical SI and display

The model keeps canonical SI. Display profiles choose how to present it. Entering 300 mm stores 0.3 m. Changing the display to metres must not rescale the object.

Literal and expression

A literal stores a value. An expression stores a source and dependencies, then produces a result. Writing a new literal replaces an expression-bound value through the supported edit path.

Practical lessons