OpenFLUID.getAttributeR Documentation

Returns an attribute value for a given spatial unit

Description

Returns an attribute value for a given spatial unit

Usage

OpenFLUID.getAttribute(ofblob, unitclass, unitid, attrname)

Arguments

ofblob

the simulation definition blob

unitclass

the unit class

unitid

the unit ID

attrname

the name of the attribute

Value

the attribute value

See Also

OpenFLUID.createAttribute

OpenFLUID.setAttribute

OpenFLUID.removeAttribute

Examples

## Not run: 
val = OpenFLUID.getAttribute(ofsim,"SU",18,"length")

## End(Not run)