formZ SDK | 5.0 API Reference | Project | Modeling | Objects | Control Objects | Sweep

# fz_objt_cnstr_sweep_2path

Description

Creates a 2 path sweep object. The source object must have a single face. It can be an open or closed wire or a single face surface object. The paths must also be open or closed wires or single face surface objects with a single curve. The path objects must both be closed or both be open.

Plugin Prototype

fzrt_error_td fz_objt_cnstr_sweep_2path(

fzrt_int | windex,
fz_objt_ptr | src_obj,
fz_objt_ptr | pth_obj1,
fz_objt_ptr | pth_obj2,
fz_objt_model_type_enum | model_type,
fz_objt_smooth_type_enum | smooth_type,
fz_objt_sweep_cnstr_opts_ptr | swep_opts,
fz_attr_refn_ptr | refn_opts,
fz_objt_ptr * | obj )

Parameters

windex [Input]

project window index

src_obj [Input]

source object

pth_obj1 [Input]

path object 1

pth_obj2 [Input]

path object 2

model_type [Input]

model type

smooth_type [Input]

smooth type

swep_opts [Input, Optional]

construction options. For defaults fz_objt_sweep_parm_enum

refn_opts [Input, Optional]

display resolution options. For defaults fz_attr_refn_parm_enum

obj [Result]

new object

Returns

Error codes

Availability

5.0.0.0

Example Files

util_objt_cnstr_sweep.fsl

See Also

,

Function Set

fz_model_fset

Defined in

fz_objt_swep_api.h