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

fz_attr_field_type_enum

Description

attribute field data type. This enum is used to specify the data type of a field of a custom attribute. It is used to return this information via the callback function

enum fz_attr_field_type_enum {

FZ_ATTR_FIELD_TYPE_INTG,

FZ_ATTR_FIELD_TYPE_FRCT,

FZ_ATTR_FIELD_TYPE_DIST,

FZ_ATTR_FIELD_TYPE_AREA,

FZ_ATTR_FIELD_TYPE_VOLM,

FZ_ATTR_FIELD_TYPE_ANGL,

FZ_ATTR_FIELD_TYPE_PCNT,

FZ_ATTR_FIELD_TYPE_CRCY,

FZ_ATTR_FIELD_TYPE_DATE,

FZ_ATTR_FIELD_TYPE_DURN,

FZ_ATTR_FIELD_TYPE_BOOL,

FZ_ATTR_FIELD_TYPE_STNG,

FZ_ATTR_FIELD_TYPE_VLST,

FZ_ATTR_FIELD_TYPE_TIME };

Members

FZ_ATTR_FIELD_TYPE_INTG

the field defines an whole (integer) number. The value of the field is stored as an integer number (fzrt_int).

FZ_ATTR_FIELD_TYPE_FRCT

the field defines a fractional number, displayed with a decimal point. The precision and # of decimal points is determined by the setting in the working units dialog. The value of the field is stored as a floating point number (double).

FZ_ATTR_FIELD_TYPE_DIST

the field defines a linear distance, displayed according to the setting in the working units dialog. The value of the field is stored as a floating point number (double). The stored value is assumed to always be in inches or centimeters, depending on the unit of the project.

FZ_ATTR_FIELD_TYPE_AREA

the field defines an area. The value of the field is stored as a floating point number (double). The stored value is assumed to always be in square inches or square centimeters, depending on the unit of the project.

FZ_ATTR_FIELD_TYPE_VOLM

the field defines a volume. The value of the field is stored as a floating point number (double). The stored value is assumed to always be in cubic inches or cubic centimeters, depending on the unit of the project.

FZ_ATTR_FIELD_TYPE_ANGL

the field defines an angle, displayed according to the setting in the working units dialog. The value of the field is stored as a floating point number (double). The stored value is assumed to always be in radians.

FZ_ATTR_FIELD_TYPE_PCNT

the field defines a percentage. That is, the actual value of an attribute field is multiplied by 100 when shown in the dialog. The value of the field is stored as a floating point number (double).

FZ_ATTR_FIELD_TYPE_CRCY

the field defines a currency value. The currency format is determined by the settings in the operating . The value of the field is stored as a floating point number (double).

FZ_ATTR_FIELD_TYPE_DATE

the field defines a date (day, month and year). The date format is determined by the settings in the operating . The value of the field is stored as an integer number (fzrt_int).

FZ_ATTR_FIELD_TYPE_DURN

the field defines a time duration (hours, minutes and seconds). The value of the field is stored as an integer number (fzrt_int).

FZ_ATTR_FIELD_TYPE_BOOL

the field defines a boolean value (TRUE or FALSE). The value of the field is stored as a boolean ( fzrt_boolean).

FZ_ATTR_FIELD_TYPE_STNG

the field defines a string value, such as a name. It can contain a maximum of 256 characters. The value of the field is stored as a string ( fz_string_td).

FZ_ATTR_FIELD_TYPE_VLST

the field defines a value list. A value list shows up as a menu with user defined items.

FZ_ATTR_FIELD_TYPE_TIME

the field defines a time of day (hours, minutes and seconds). The time format is determined by the settings in the operating . The value of the field is stored as an integer number (fzrt_int).

Availability

5.0.0.0

Defined in

fz_objt_attr_api.h