formZ SDK | 5.0 API Reference | Project | Modeling | Objects | Control Objects | 2D Enclosure

fz_objt_cnstr_enclos2d

Description

Creates a 2d enclosure object from a source object.

Plugin Prototype

fzrt_error_td fz_objt_cnstr_enclos2d(

fzrt_int

windex,

fz_objt_ptr

src_obj,

double

width,

fz_align_lcr_enum

align,

fz_objt_ptr *

obj )

Parameters

windex [Input]

project window index

src_obj [Input]

source object

width [Input]

enclosure wall width.

Range: width > 0.0

align [Input]

alignment relative to the direction of the source.

obj [Result]

new object

Returns

Error codes

Availability

5.0.0.0

Example Files

util_objt_ecdb.fsl

See Also

fz_objt_edit_enclos2d_parm_get, fz_objt_edit_enclos2d_parm_set

Function Set

fz_model_fset


Defined in

fz_objt_ecdb_api.h