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

fz_objt_attr_get_field_flags

Description

Get the range of a field of an attribute. The flags parameter is a fzrt_int, where the information is bit encoded as follows :
: the field uses a minimum value
FZ_ATTR_FIELD_RANGE_MIN_INCL : the field uses a minimum value and the minimum value is inclusive (allowed)
FZ_ATTR_FIELD_RANGE_MAX : the field uses a maximum value
FZ_ATTR_FIELD_RANGE_MAX_INCL : the field uses a maximum value and the maximum value is inclusive (allowed)
The attribute is identified the prototype pointer, which can be retrieved from the attributes name by calling . The field is identified by its index.

Plugin Prototype

fzrt_error_td fz_objt_attr_get_field_flags(

fz_attr_proto_ptr

attr_proto,

fzrt_int

field_indx,

fzrt_int *

flags )

Parameters

attr_proto [Input]

The attribute prototype pointer

field_indx [Input]

The index of the attribute field

flags [Result]

The flags of the attribute field

Returns

error

Availability

5.0.0.0

Function Set

fz_objt_attr_fset


Defined in

fz_objt_attr_api.h