The ToolTalk service provides a function to merge a compiled ToolTalk type file into the currently running ttsession:
// Merge new compiled ptypes into currently running ttsession tt_session_types_load(current_session, compiled_types_file)
where current_session is the current default ToolTalk session and compiled_types_file is the name of the compiled ToolTalk types file. This function adds new types and replaces existing types of the same name; other existing types remain unchanged.