formZ SDK | 5.0 API Reference | Project | Modeling | Objects | Control Objects | Patch Object
Description
Divides a Patch object n_div_dir1 by n_div_dir2 times.
Plugin Prototype
fzrt_error_td fz_objt_edit_patch_divide_object(
fzrt_int | windex, |
src_obj, | |
fzrt_int | n_div_dir1, |
fzrt_int | n_div_dir2, |
lock_points ) |
Parameters
windex [Input]
src_obj [Input]
source object
n_div_dir1 [Input]
number of divisions in first direction
n_div_dir2 [Input]
number of divisions in second direction
lock_points [Input]
lock points on both sides of divided edge when true
Returns
MODEL_ERR_WRONG_OBJT_TYPE - object passed in is not a patch
Availability
5.0.0.0
Example Files
util_objt_patch_divide.fsl
util_objt_patch_udivide.fsl
See Also
fz_objt_cnstr_patch_opts_init, fz_objt_cnstr_patch_opts_finit, fz_objt_cnstr_patch_opts_finit, fz_objt_cnstr_patch_opts_get
Function Set
Defined in