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

fz_objt_attr_set_objt_cust

Description

Sets a custom attribute of an object. The attribute is identified by its uuid. The attribute data is passed in the data pointer. It is the responsibility of the calling code to pass the proper attribute data to this function.
If the data argument is passed as NULL, the attribute is deleted, if it exists.

Plugin Prototype

fzrt_error_td fz_objt_attr_set_objt_cust(

fzrt_int

windex,

fz_objt_ptr

obj,

fzrt_UUID_td

attr_uuid,

void *

data )

Parameters

windex [Input]

project window index

obj [Input]

source object

attr_uuid [Input]

attribute unique identifier

data [Input, Optional]

attribute data

Returns

Error codes

Availability

5.0.0.0

Function Set

fz_objt_attr_fset


Defined in

fz_objt_attr_api.h