formZ SDK | 5.0 API Reference | Project | Modeling | Attributes

# fz_objt_attr_get_objt_visib

Description

Gets the visibility of an object. An object can be visible, invisible or ghosted. If display is TRUE, the layer visibility is taken into account. Otherwise, the true object attribute is returned.

Plugin Prototype

fzrt_error_td fz_objt_attr_get_objt_visib(

fzrt_int | windex,
fz_objt_ptr | obj,
fzrt_boolean | display,
fz_attr_visib_enum * | visib )

Parameters

windex [Input]

project window index

obj [Input]

object

display [Input]

get from display context or attribute

visib [Result]

visibility type

Returns

Error codes

Availability

5.0.0.0

Example Files

util_attr_basic.fsl

See Also

Function Set

fz_objt_attr_fset

Defined in

fz_objt_attr_api.h