OpenFLUID.createAttribute | R Documentation |
Creates an attribute for all spatial units of a class, initialized with a default value
OpenFLUID.createAttribute(ofblob, unitclass, attrname, attrval)
ofblob |
the simulation definition blob |
unitclass |
the unit class |
attrname |
the attribute name |
attrval |
the default attribute value for alla units |
OpenFLUID.getAttribute
OpenFLUID.setAttribute
OpenFLUID.removeAttribute
## Not run: OpenFLUID.createAttribute(ofsim,"SU","area",1.0) OpenFLUID.createAttribute(ofsim,"SU","code","NONE") ## End(Not run)