VolumetricSampler.clearSamplePoints Method

Parent Object: VolumetricSampler
Defined in namespace "adsk::volume" and the header file is <Volume/Volumetric/VolumetricSampler.h>

Description

Clears the sample points that have been set for sampling the volumetric model. This will reset the structured sampling rank to 0.

Syntax

"volumetricSampler_var" is a variable referencing a VolumetricSampler object.

returnValue = volumetricSampler_var.clearSamplePoints()
"volumetricSampler_var" is a variable referencing a VolumetricSampler object.

#include <Volume/Volumetric/VolumetricSampler.h>

returnValue = volumetricSampler_var->clearSamplePoints();
"volumetricSampler_var" is a variable referencing a VolumetricSampler object.

returnValue = volumetricSampler_var.clearSamplePoints();

Return Value

Type Description
boolean True if the sample points were successfully cleared.

Version

Introduced in version May 2025