formZ SDK | 5.0 API Reference | Project | Modeling | Objects | Control Objects | Nurbz Object
Description
Changes the degree of a nurbz surface object. If keep_shape is TRUE, the shape of surface is preserved by changing the number of control points, if necessary. If -1 is passed for the new degree, then the degree in the corresponding direction is left unchanged.
Plugin Prototype
fzrt_error_td fz_objt_edit_nrbz_change_degree(
fzrt_int | windex, |
srf_obj, | |
fzrt_int | new_degree_u, |
fzrt_int | new_degree_v, |
keep_shape ) |
Parameters
windex [Input]
project window index
srf_obj [Input]
nurbz surface object
new_degree_u [Input]
new degree in U
new_degree_v [Input]
new degree in V
keep_shape [Input]
if TRUE, the shape of surface is preserved
Returns
Error codes
Availability
5.0.0.0
Example Files
See Also
fz_objt_edit_nrbz_change_ctrlpts_by_number,
Function Set
Defined in