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

fz_objt_edit_subd_parm_set_func

Description

Sets a parameter of a subdivision. When setting a new path object (which == FZ_OBJT_SUBD_OBJ), the content of the object passed in is copied into the object maintained with the subdivision. The same restrictions apply for this object as for the one used to construct the subdivision initially Note, that the shape of the stair from path is not changed until the function has been called.

Plugin Prototype

fzrt_error_td fz_objt_edit_subd_parm_set_func(

fzrt_int

windex,

fz_objt_ptr

obj,

fz_objt_subd_parm_enum

which,

fz_type_td *

data )

Parameters

windex [Input]

project window index

obj [Input]

stair from path object

which [Input]

parameter identifier

data [Input]

parameter data

Returns

Error codes
MODEL_ERR_WRONG_OBJT_TYPE - object passed in is not a subdivision

Availability

5.0.0.0

Example Files

util_objt_cnstr_subd.fsl

See Also

fz_objt_edit_subd_parm_get,fz_objt_cnstr_subd,

Function Set


Defined in

fz_objt_subd_api.h