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

fz_objt_edit_subd_parm_get_func

Description

Gets a parameter of a subdivision. Note, that when getting the subdivision object ( which == FZ_OBJT_SUBD_OBJ), this function will create a new object in windex, and copy the content of the subdivision object into that new object. It is the responsibility of the calling function to delete this new object afterwards, using fz_objt_edit_delete_objt.

Plugin Prototype

fzrt_error_td fz_objt_edit_subd_parm_get_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 [Result]

parameter data

Returns

Error codes
MODEL_ERR_WRONG_OBJT_TYPE - object passed in is not subdivision

Availability

5.0.0.0

Example Files

util_objt_cnstr_subd.fsl

See Also

fz_objt_edit_subd_parm_set,fz_objt_cnstr_subd,

Function Set


Defined in

fz_objt_subd_api.h