formZ SDK | 5.0 API Reference | Project | Modeling | Objects | Control Objects | Extrusion
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, |
src_obj, | |
norm, | |
double | dist, |
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
See Also
fz_objt_edit_extrude_parm_get, fz_objt_edit_extrude_parm_set
Function Set
Defined in