formZ SDK | 5.0 API Reference | Project | Modeling | Objects | Plain Object Construction

# fz_objt_cnstr_blend

Description

Creates a blended object from existing objects (source). The source objects must be either surfaces or solids. If the optional parameter blend_opts is not specified, default Blend Construction Options are used.

Plugin Prototype

fzrt_error_td fz_objt_cnstr_blend(

fzrt_int | windex,
fz_objt_ptr | src_obj1,
fz_objt_ptr | src_obj2,
fzrt_int | n_segs1,
fzrt_int | n_segs2,
fzrt_int * | seg_indx,
fz_objt_blend_cnstr_opts_ptr | blend_opts,
fz_attr_refn_ptr | refn_opts,
fz_objt_ptr * | obj )

Parameters

windex [Input]

project window index

src_obj1 [Input]

Source Object 1

src_obj2 [Input]

Source Object 2

n_segs1 [Input]

Number of segments for start section

n_segs2 [Input]

Number of segments for end section

seg_indx [Input]

Array of segment indices

blend_opts [Input, Optional]

Blend construction options- See fz_objt_blend_parm_enum for defaults

refn_opts [Input, Optional]

Display resolution options- See fz_attr_refn_parm_enum for defaults

obj [Result]

New object

Returns

Error codes

Availability

5.0.0.0

Example Files

util_objt_blend.fsl

See Also

, fz_objt_cnstr_blend_opts_finit, fz_objt_cnstr_blend_opts_set,, fz_objt_blend_parm_enum

Function Set

fz_model_fset

Defined in

fz_objt_blend_api.h