formZ SDK | 5.0 API Reference | Project | Modeling | Objects | Control Objects | Nurbz Curve
Description
Attaches 2 nurbz curve objects. The attachment takes place from an end of the first curve to an end of the second curve, either by moving the first curve or by stretching it. The objects passed in must be nurbz objects. Returns the updated first curve object.
Plugin Prototype
fzrt_error_td fz_objt_edit_nrbz_curve_attach(
fzrt_int | windex, |
crv_obj1, | |
crv_obj2, | |
which_end1, | |
which_end2, | |
align_type, | |
do_move ) |
Parameters
windex [Input]
project window index
crv_obj1 [Input]
nurbz object
crv_obj2 [Input]
nurbz object
which_end1 [Input]
end of first curve to attach
which_end2 [Input]
end of second curve to attach
align_type [Input]
alignment type when smooth surfaces is FALSE (C0, G1, C1, C2)
do_move [Input]
attachment type (move = TRUE, stretch = FALSE)
Returns
Error codes
MODEL_ERR_WRONG_OBJT_TYPE - source objects passed in are not
nurbz objects.
Availability
5.0.0.0
Example Files
util_objt_edit_nrbz_curv_attach.fsl
See Also
Function Set
Defined in