formZ SDK | 5.0 API Reference | Project | Modeling | Objects | Plain Object Construction
Description
Creates an object with a single open or closed face
from a set of xyz points (vector line object).
closed indicates whether the object is closed or left open.
Plugin Prototype
fzrt_error_td fz_objt_cnstr_vline(
fzrt_int | windex, |
pnts, | |
fzrt_int | npts, |
closed, | |
obj ) |
Parameters
windex [Input]
project window index
pnts [Input]
array of points
npts [Input]
number of points in array
Range: npts >= 1
closed [Input]
if TRUE, the object is closed, otherwise the object is open
obj [Result]
vector line object
Returns
Error codes
MODEL_ERR_INSUFFICIENT_PNTS - less than 3 unique points in closed case
Availability
5.0.0.0
Example Files
util_objt_cnstr_simp_poly.fsl
util_objt_cnstr_simple.fsl
See Also
Function Set
Defined in