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

fz_objt_cnstr_dsweep_dist

Description

Creates a Draft Sweep object by distance. This function constructs a Smooth object by sweeping the source object along the path object while offsetting the source by the given distance.

Plugin Prototype

fzrt_error_td fz_objt_cnstr_dsweep_dist(

fzrt_int

windex,

fz_objt_ptr

src_obj,

fz_objt_ptr

pth_obj,

double

dist,

fz_objt_dsweep_cnstr_opts_ptr

dswp_opts,

fz_attr_refn_ptr

refn_opts,

fz_objt_ptr *

obj )

Parameters

windex [Input]

project window index

src_obj [Input]

Source object

pth_obj [Input]

Path object

dist [Input]

Distance

dswp_opts [Input]

Draft Sweep construction options

refn_opts [Input]

obj [Input]

Returns

Error codes

Availability

5.0.0.0

Example Files

util_objt_dswp.fsl

See Also

fz_objt_cnstr_dsweep_opts_init, fz_objt_cnstr_dsweep_opts_get,

Function Set

fz_model_fset


Defined in

fz_objt_dswp_api.h