PK_ERROR_code_t PK_ATTDEF_register_callbacks ( --- received arguments --- PK_ATTDEF_t attdef, --- attribute definition const PK_ATTDEF_callback_fns_t *callbacks --- callback functions ) This function registers a set of callback functions to be called when entities with attributes with definition attdef undergo certain events. The callback function will only be called if it is not NULL, and if the corresponding logical flag, as set by PK_ATTDEF_set_callbacks, is PK_LOGICAL_true. Calling this function does not alter the values of these flags, which are initialised to PK_LOGICAL_false. Calling this function will permanently disable Tag Persistence behaviour during modelling operations. Please refer to the Functional Description for information regarding tag persistence and the affect of attribute callbacks on this behaviour.