![]() |
PK_ATTDEF_register_callbacks |
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. NOTE: This function is deprecated and has been superseded by PK_ATTDEF_register_cb. 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 disable tag persistence within the Parasolid session. Please refer to the Functional Description for information regarding tag persistence and the effect of attribute callbacks on this behaviour.