formZ SDK | 5.0 API Reference | Project | Modeling | Objects | Plain Object Construction

# fz_objt_cnstr_line

Description

Creates a straight line object.

Plugin Prototype

fzrt_error_td fz_objt_cnstr_line(

fzrt_int | windex,
fz_xyz_td * | p1,
fz_xyz_td * | p2,
fz_objt_ptr * | obj )

Parameters

windex [Input]

project window index

p1 [Input]

point 1

p2 [Input]

point 2

obj [Result]

straight line object

Returns

Error codes

Availability

5.0.0.0

Example Files

util_objt_cnstr_simple.fsl
util_objt_cnstr_simp_poly.fsl

See Also

,, fz_objt_cnstr_triangle, ,

Function Set

fz_model_fset

Defined in

fz_objt_api.h