formZ SDK | 5.0 API Reference | Project | Modeling | Attributes
Description
Gets the material density attribute of an object. The
fz_attr_mdns_ptr mdns parameter must be created and
deleted by the calling function. For example :
fz_objt_attr_mdns_init(windex,&mdns);
(windex,obj,&has_mdns,mdns);
fz_objt_attr_mdns_finit(windex,&mdns);
Note, that an object may not have a material density attribute, in which case
the has_mdns parameter will be returned as FALSE.
Plugin Prototype
fzrt_error_td fz_objt_attr_get_objt_mdns(
fzrt_int | windex, |
obj, | |
has_mdns, | |
mdns_ptr ) |
Parameters
windex [Input]
project window index
obj [Input]
object
has_mdns [Result, Optional]
TRUE if the object has a material density attribute. FALSE otherwise.
mdns_ptr [Result, Optional]
material density attribute
Returns
Error codes
Availability
5.0.0.0
Example Files
See Also
Function Set
Defined in