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

fz_objt_attr_set_objt_sdns

Description

Sets the sampling density of an object. This attribute is currently used only by the point cloud objects created with the re-engineer tool. It is possible to set this attribute for other objects, but it will not be used. If -1.0 is passed in as the sdns argument, the attribute will be removed. Otherwise only values greater than 0.0 will be accepted.

Plugin Prototype

fzrt_error_td fz_objt_attr_set_objt_sdns(

fzrt_int

windex,

fz_objt_ptr

obj,

double

sdns )

Parameters

windex [Input]

project window index

obj [Input]

object

sdns [Input]

Sampling density. If -1.0 is passed in, the attribute will be removed. Otherwise values greater than 0.0 must be passed in.

Range: sdns > 0.0

Returns

Error codes

Availability

5.0.0.0

Example Files

util_attr_basic.fsl

See Also

fz_objt_attr_get_objt_sdns

Function Set

fz_objt_attr_fset


Defined in

fz_objt_attr_api.h