specify a description to be used (in the report wizard) for a value previously added using createValue. Note that if this function is not called, the value will not appear in the report. It is an error to call this function for any value not previously added using createValue. By default, values that are added via createValue() are not persistent. That is, when the attribute is subsequently redefined using a call of the form db.create....(), all such data is lost, consistently with all other data. However, the persist flag may be set true to prevent this. This should only be done for data that cannot be logically invalidated by entering conflicting data in Modeller's user interface. For example, attaching a persistent value for "B" and "D" to an RSS attribute would dangerous, as the end user is free to modify the values of A, Iyy etc, thus making an inconsistent set of values.
name | string | name of the value |
desc | string | new description |
persist | optional boolean | persistence (default false) |
Return value | IFDispatch |
Back to Attribute
Back to Overview