OpenFLUID.setAttribute | R Documentation |
Sets an attribute value for a given spatial unit
OpenFLUID.setAttribute(ofblob, unitclass, unitid, attrname, attrval)
ofblob |
the simulation definition blob |
unitclass |
the unit class |
unitid |
the unit ID |
attrname |
the name of the attribute |
attrval |
the value of the attribute |
OpenFLUID.createAttribute
OpenFLUID.getAttribute
OpenFLUID.removeAttribute
## Not run: OpenFLUID.setAttribute(ofsim, "SU",18, "length",12.3) OpenFLUID.setAttribute(ofsim, "SU",18, "CODE","ABC") ## End(Not run)