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

# fz_objt_alys_get_objt_topo_type

Description

Gets the object's topology type. See fz_objt_topo_type_enum for possible values.
FZ_OBJT_TOPO_MIXD means that the object has multiple volumes, where at least two are of a different topology type. If the multi parameter is not NULL, fz_objt_alys_get_objt_topo_type will also determine whether the object consists of multiple volumes. If it does and they are all of the same topology type, that type is returned. Otherwise FZ_OBJT_TOPO_MIXD is returned.

Plugin Prototype

fzrt_error_td fz_objt_alys_get_objt_topo_type(

fzrt_int | windex,
fz_objt_ptr | obj,
fz_objt_topo_type_enum * | topo_type,
fzrt_boolean * | multi )

Parameters

windex [Input]

project window index

obj [Input]

object

topo_type [Result]

object's topology type

multi [Result, Optional]

object consists of multiple volumes

Returns

Error codes

Availability

5.0.0.0

Example Files

util_objt_alys_objt.fsl

See Also

fz_objt_alys_get_objt_volume,, fz_objt_alys_get_objt_area, fz_objt_alys_get_objt_moments,, fz_objt_alys_get_objt_bbox, ,, fz_objt_alys_set_objt_origin, ,, ,

Function Set

fz_model_fset

Defined in

fz_objt_alys_api.h