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

# fz_objt_cnstr_patch_from_prim_obj

Description

Creates a Bezier patch primitive object from a primitive object.

Plugin Prototype

fzrt_error_td fz_objt_cnstr_patch_from_prim_obj(

fzrt_int | windex,
fz_objt_ptr | src_obj )

Parameters

windex [Input]

project window index

src_obj [Input]

source object

Returns

MODEL_ERR_WRONG_OBJT_TYPE - object passed in is not a patch

Availability

5.0.0.0

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