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

# fz_attr_mdns_parm_enum

Description

material density parameters ids. Used to set/get the parameters of a material density attribute using and fz_objt_attr_mdns_set.

enum fz_attr_mdns_parm_enum {

FZ_ATTR_PARM_MDNS_DENSITY,

FZ_ATTR_PARM_MDNS_WEIT_UNIT,

FZ_ATTR_PARM_MDNS_VOLM_UNIT };

Members

FZ_ATTR_PARM_MDNS_DENSITY

material density value, expressed in grams per cubic centimeter. The default material density attribute is 1 gram per cubic centimeter, which is the density of water.

Type: double

Range: value > 0.0

Default Value: 1.0

FZ_ATTR_PARM_MDNS_WEIT_UNIT

weight units. This parameter, together with the volume units determines how the density is displayed in the Mass Properties dialog. The density itself is always specified by the API as grams per cubic centimeter.

Type: fz_attr_mdns_weit_unit_enum

Default Value: MODEL_MDNS_WEIT_GRAM

FZ_ATTR_PARM_MDNS_VOLM_UNIT

volume units. This parameter, together with the weight units determines how the density is displayed in the Mass Properties dialog. The density itself is always specified by the API as grams per cubic centimeter.

Type: fz_attr_mdns_volm_unit_enum

Default Value: MODEL_MDNS_VOLM_CM3

Availability

5.0.0.0

See Also

, fz_objt_attr_mdns_set

Defined in

fz_objt_attr_api.h