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

# fz_objt_attr_get_objt_cust

Description

Gets a custom attribute of an object. The attribute is identified by its uuid. The attribute data is retrieved in the data pointer. It is the responsibility of the calling code to allocate enough space for the data pointer.

Plugin Prototype

fzrt_error_td fz_objt_attr_get_objt_cust(

fzrt_int | windex,
fz_objt_ptr | obj,
fzrt_UUID_td | attr_uuid,
fzrt_boolean * | has_attr,
void * | data )

Parameters

windex [Input]

project window index

obj [Input]

source object

attr_uuid [Input]

attribute unique identifier

has_attr [Result, Optional]

TRUE if the object has an attribute of the given type. FALSE otherwise.

data [Result, Optional]

attribute data

Returns

Error codes

Availability

5.0.0.0

Function Set

fz_objt_attr_fset

Defined in

fz_objt_attr_api.h