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

fz_objt_get_ncrv

Description

Gets the NURBS curve from a formZ Object. This is the opposite of fz_objt_set_ncrv. Both functions can be used to modify a nurbZ Curve object. First the generic NURBS is created and extracted with fz_objt_get_ncrv. The generic NURBS is then edited with any of the api functions that operate on that type. Finally the NURBS is put back in the nurbZ Curve object with fz_objt_set_ncrv and is deleted with fz_ncrv_delete.

Plugin Prototype

fzrt_error_td fz_objt_get_ncrv(

fzrt_int

windex,

fz_objt_ptr

obj,

fz_nurbs_cur_ptr *

crv )

Parameters

windex [Input]

project window index

obj [Input]

formZ object

crv [Result]

NURBS curve

Returns

Error codes

Availability

5.0.0.0

See Also

fz_objt_cnstr_nrbz_curve, fz_ncrv_create_nurbs_curve, fz_objt_set_ncrv

Function Set

fz_model_fset


Defined in

fz_objt_ncrv_api.h