Attribute Callback Functions   

<<< Indexed I/O Functions Chapters Frustrum Tokens and Error Codes >>>

Contents

[back to top]


G.1 Introduction

This appendix lists the attribute callback functions that can be implemented to replace or extend the normal attribute handling process in Parasolid.

Further information on the use and effects of attribute callback functions can be found in the following chapters of the Parasolid Functional Description:

[back to top]


G.2 Registering the attribute callback functions

The attribute callback functions must be registered with Parasolid by calling the PK function PK_ATTDEF_register_cb, at any time during a Parasolid session.

The functions can then be enabled and disabled during a modelling session by the PK function PK_ATTDEF_set_callback_flags.

[back to top]


G.3 Attribute callback functions that can be registered

This section lists the attribute callback functions that you can register during a Parasolid session. You do not need to register all of these callback functions; if there are any you do not wish to use, then set the relevant field in the callbacks structure passed to PK_ATTDEF_register_cb to null .

 

Note: In the following list, the function names given are purely nominal, as the functions are registered by the call to PK_ATTDEF_register_cb.

 

Function

Description

For more information

split_fn

Called after a split event has occurred. There are no attributes on the new entity.

PK_ATTDEF_split_callback_f_t

merge_fn

Called as a merge event is about to occur.

PK_ATTDEF_merge_callback_f_t

delete_fn

Called as a deletion event is about to occur.

PK_ATTDEF_delete_callback_f_t

copy_fn

Called after a copy event has occurred. There are no attributes on the new entity.

PK_ATTDEF_copy_callback_f_t

transmit_fn

Called at the start of a call to a PK function performing a transmit.

PK_ATTDEF_transmit_callback_f_t

receive_fn

Called at the end of a call to a PK function performing a receive.

PK_ATTDEF_receive_callback_f_t

 

[back to top]

<<< Indexed I/O Functions Chapters Frustrum Tokens and Error Codes >>>