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

# fz_objt_cnstr_extrude

Description

Creates an extruded object from a source object. norm indicates the extrusion direction and must be a normalized vector. dist the extrusion height (may be negative, but must be non zero). If the source object has more than one face the first face is extruded.

Plugin Prototype

fzrt_error_td fz_objt_cnstr_extrude(

fzrt_int | windex,
fz_objt_ptr | src_obj,
fz_xyz_td * | norm,
double | dist,
fz_objt_ptr * | obj )

Parameters

windex [Input]

project window index

src_obj [Input]

source object

norm [Input]

normal direction of extrusion. Must be a normalized vector

dist [Input]

Extrusion height. This may be any value except zero.

obj [Result]

new object

Returns

Error codes

Availability

5.0.0.0

Example Files

util_objt_ecdb.fsl

See Also

fz_objt_edit_extrude_parm_get, fz_objt_edit_extrude_parm_set

Function Set

fz_model_fset

Defined in

fz_objt_ecdb_api.h