Returns how many 'rows' of the given value exist within this attribute. Generally, rows represent rows in grids in the LUSAS Modeller user interface Some attributes (slidelines and most materials) use rows to represent temperature dependance, with each row representing one temperature. Other attributes use rows for multiple versions of similar data, such as in discrete loads and some variations. Many simple attributes do not use rows at all, and will return 0.
If this function returns 0, getValue and setValue should be called without the optional 'row' argument, or with it set to -1. If this function returns 1 or more, getValue and setValue will require the extra 'row' argument which should be in the range (0..nrows-1).
Note that many values are implemented as arrays, whether or not they are present in rows. The only way to discover whether a particular value is row-based or array-based (or both) is to call both countRows and getValue
varName | string | name of the value (e.g. "E") |
Return value | LONG_PTR |
Back to Attribute
Back to Overview