PK_ATTRIB_set_named_doubles   


PK_ERROR_code_t PK_ATTRIB_set_named_doubles
(
--- received arguments ---
PK_ATTRIB_t     attrib,             --- attribute
const char     *field_name,         --- field name
int             n_doubles,          --- number of doubles (>= 0)
const double    doubles[]           --- doubles to set
)


This function copies doubles into field field_name of the given
attribute.


Specific Errors:
    PK_ERROR_bad_name               The attribute does not have a field with
                                    this name
    PK_ERROR_field_of_wrong_type    The field is not a double field


The new data replaces any existing data stored in the field.

If n_doubles is zero then this field is set to be empty.