formZ SDK | 5.0 API Reference | Project | Modeling | Objects | Control Objects | Patch Object

fz_objt_edit_patch_divide_face

Description

Divides a Patch face n_div_dir1 by n_div_dir2 times.

Plugin Prototype

fzrt_error_td fz_objt_edit_patch_divide_face(

fzrt_int

windex,

fz_objt_ptr

src_obj,

fzrt_int

findx,

fzrt_int

n_div_dir1,

fzrt_int

n_div_dir2,

fzrt_boolean

lock_points )

Parameters

windex [Input]

project

src_obj [Input]

source object

findx [Input]

index of the face to be divided

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

fz_model_fset


Defined in

fz_objt_ptch_api.h