formZ SDK | 4.0 Call Back Reference | Surface Style Representation
Description
Surface Style Representation data initiailization function (Required). This function is called whenever a new Surface Style is created by formZ. It is expected to fill in the default values for the content of the Surface Style Representation. Note, that formZ allocates the data block for the Surface Style Representation, based on the size parameter returned by the function. In other words, the plugin does not need to allocate / deallocate the basic data storage. However, any dyamic memory needed within each instance of a Surface Style Representation needs to be allcoated here end deallocated in the function.
Plugin Prototype
fzrt_error_td fz_srep_cbak_data_init(
fzrt_int | windex, |
void * | data ) |
Parameters
windex [Input]
project window index
data [Input, Result]
Surface Style Representation data.
Returns
Error codes
Availability
6.0.0.2
Function Set
Defined in