formZ SDK | 4.0 Call Back Reference | Object Type
Description
Object type key points function (Optional). When this function is implemented, it is expected to define on or more important (key) points that represent the object. For example, the key points of an arc are its center, its start and end point. This function is called in two modes. If pnts is passed as NULL the function only needs to determine how many key points there are and pass that value back in the knt parameter. If pnts is passed in, it is an array, allocated by formZ, ready to receive the key points. "knt" needs to be set in both cases.
Plugin Prototype
fzrt_error_td fz_otyp_cbak_get_key_pnts(
fzrt_int | windex, |
obj, | |
parm, | |
fzrt_int * | knt, |
pnts ) |
Parameters
windex [Input]
project window index
obj [Input]
object
parm [Input]
generic pointer to the parameter block
knt [Result]
The number of key points for this object
pnts [Result]
An array of points, allocated by formZ, ready to receive the key points.
Returns
Error codes
Availability
5.0.0.0
Function Set
Defined in