formZ SDK | 5.0 API Reference | Project | Modeling | Objects | Editing Operations
Description
Converts a controlled object of one type to a controlled object of another type. If the object passed in is not a controlled object, or it cannot be converted to the requested control type, an error is returned. The function can be used to find out whether an object can be converted to a given type.
Plugin Prototype
fzrt_error_td fz_objt_edit_convert_cntrl(
fzrt_int | windex, |
obj, | |
cnvrt_to_type ) |
Parameters
windex [Input]
project window index
obj [Input, Result]
object to convert
cnvrt_to_type [Input]
type to convert to
Returns
Error codes
Availability
5.0.0.0
Example Files
See Also
Function Set
Defined in