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

# fz_objt_edit_nrbz_change_ctrlpts_by_number

Description

Rebuilds a nurbz surface object with the requested number of control points. If -1 is passed for the new number of control points, then the number of control points in the corresponding direction is left unchanged.

Plugin Prototype

fzrt_error_td fz_objt_edit_nrbz_change_ctrlpts_by_number(

fzrt_int | windex,
fz_objt_ptr | srf_obj,
fzrt_int | num_cpts_u,
fzrt_int | num_cpts_v )

Parameters

windex [Input]

project window index

srf_obj [Input]

nurbz surface object

num_cpts_u [Input]

new number of control points in U

num_cpts_v [Input]

new number of control points in V

Returns

Error codes

Availability

5.0.0.0

Example Files

util_objt_edit_nrbz.fsl

See Also

fz_objt_edit_nrbz_change_degree,

Function Set

fz_model_fset

Defined in

fz_objt_nrbz_api.h