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

# fz_objt_segt_get_fromcurv

Description

Returns the index of the curve to which a segment belongs.
The model_type parameter determines whether the segment is taken from the facetted or smooth topology. model_type must be specified.

Plugin Prototype

fzrt_error_td fz_objt_segt_get_fromcurv(

fzrt_int | windex,
fz_objt_ptr | obj,
fzrt_int | sindx,
fz_objt_model_type_enum | model_type,
fzrt_int * | fromcurve )

Parameters

windex [Input]

project window index

obj [Input]

object

sindx [Input]

segment index

model_type [Input]

object topology type

fromcurve [Result]

curve index to which the segment belongs

Returns

Error codes

Availability

5.0.0.0

Example Files

util_low_level.fsl

See Also

,, fz_objt_segt_get_prev, fz_objt_segt_get_next,

Function Set

fz_model_fset

Defined in

fz_objt_otop_api.h