formZ SDK | 5.0 API Reference | Project | Modeling | Objects | Control Objects | Nurbz Object

fz_objt_edit_nrbz_attach

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,

fz_objt_ptr

srf_obj1,

fz_objt_ptr

srf_obj2,

fz_nsrf_which_edge_enum

which_edge1,

fz_nsrf_which_edge_enum

which_edge2,

fz_nsrf_attach_point_enum

match_pont1,

fz_nsrf_attach_point_enum

match_pont2,

fz_xyz_td *

custm_pnt1,

fz_xyz_td *

custm_pnt2,

fz_objt_nrbz_algn_type_enum

align_type,

fzrt_boolean

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

fz_model_fset


Defined in

fz_objt_nrbz_api.h