formZ SDK | 5.0 API Reference | Project | Modeling | Objects | Control Objects | Nurbz Object
Description
Attaches 2 nurbz surface objects. The attachment takes place from an edge of the first surface to an edge of the second surface, either by moving the first surface or by stretching it. The objects passed in must be nurbz objects without any trimming. Returns the updated first surface object.
Plugin Prototype
fzrt_error_td fz_objt_edit_nrbz_attach(
fzrt_int | windex, |
srf_obj1, | |
srf_obj2, | |
which_edge1, | |
which_edge2, | |
match_pont1, | |
match_pont2, | |
custm_pnt1, | |
custm_pnt2, | |
align_type, | |
do_move ) |
Parameters
windex [Input]
project window index
srf_obj1 [Input]
srf_obj2 [Input]
nurbz object #2
which_edge1 [Input]
edge identifier of source object #1
which_edge2 [Input]
edge identifier of source object #2
match_pont1 [Input]
match point identifier of which_edge1
match_pont2 [Input]
match point identifier of which_edge2
custm_pnt1 [Input]
custom point for which_edge1
custm_pnt2 [Input]
custom point for which_edge2
align_type [Input]
alignment type (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 or are nurbz objects but are trimmed
Availability
5.0.0.0
Example Files
util_objt_edit_nrbz_attach.fsl
See Also
,
Function Set
Defined in