HC_Set_User_Data

void HC_Set_User_Data(intptr_t index, void const *data, long data_length)
void HC_Set_User_Data(intptr_t index, void const data, long data_length)

This function allows the user to associate binary data with a segment or piece of geometry in the database.

The index parameter lets you map multiple chunks of binary data to a segment or piece of geometry. Note that index values must be unique but also can be less than zero. The binary data is not processed or modified in the HOOPS database.

HC_Show_One_User_Data

Parameters

index: A unique indentifier associated with the user data.

data: - A pointer to binary data to store in the database.

data_length: - The size of the binary user data.