VolumetricSample.isValid Property

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

Description

Indicates if this object is still valid, i.e. hasn't been deleted or some other action done to invalidate the reference.

Syntax

"volumetricSample_var" is a variable referencing a VolumetricSample object.
# Get the value of the property.
propertyValue = volumetricSample_var.isValid
"volumetricSample_var" Is a variable referencing a VolumetricSample Object.
#include <Volume/Volumetric/VolumetricSample.h>

// Get the value of the property.
boolean propertyValue = volumetricSample_var->isValid();
"volumetricSample_var" Is a variable referencing a VolumetricSample Object.
// Get the value of the property.
propertyValue = volumetricSample_var.isValid;

Property Value

This is a read only property whose value is a boolean.

Version

Introduced in version May 2025