formZ SDK | 5.0 API Reference | Project | Modeling | Objects | Topology

# fz_objt_indp_init

Description

Allocates and initializes an independent object. This function must be used to create a control object which will be stored inside the parameter block of another parametric object. It is not valid to permanently store objects created with other modeling API functions in the parameter block of a parametric object. The nested control object must be created with this function and any object data must be copied into this object.

Plugin Prototype

fzrt_error_td fz_objt_indp_init(

fzrt_int | windex,
fzrt_zone_ptr | zone_ptr,
fz_objt_ptr * | obj )

Parameters

windex [Input]

project window index

zone_ptr [Input]

memory zone for the object

obj [Result]

the new, empty independent object

Returns

Error codes

Availability

5.0.0.0

Function Set

fz_model_fset

Defined in

fz_objt_otop_api.h