formZ SDK | 5.0 API Reference | Project | Modeling | Objects | Control Objects | Patch Object
Description
Constructs a Patch object from one or more patch open edges given a direction specified by the value of the fz_objt_patch_from_edge_dir_enum. A new object is returned for each specified edge. Note that the patch can be a triangular patch if do_trng_patch value is TRUE.
Plugin Prototype
fzrt_error_td fz_objt_cnstr_patch_from_edge(
fzrt_int | windex, |
src_obj, | |
fzrt_int * | edge_index, |
fzrt_int | edge_knt, |
direction, | |
do_trng_patch, | |
ent_list ) |
Parameters
windex [Input]
project window index
src_obj [Input]
list of source objects
edge_index [Input]
list of edge indexes
edge_knt [Input]
number of edges
direction [Input]
enum for the direction
do_trng_patch [Input]
triangular patch is built when TRUE
ent_list [Result]
list of patch objects
Returns
MODEL_ERR_WRONG_OBJT_TYPE - object passed in are not patches
Availability
5.0.0.0
Example Files
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