Polyline2D.isValid Property

Parent Object: Polyline2D
Defined in namespace "adsk::core" and the header file is <Core/Geometry/Polyline2D.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

"polyline2D_var" is a variable referencing a Polyline2D object.

# Get the value of the property.
propertyValue = polyline2D_var.isValid
"polyline2D_var" is a variable referencing a Polyline2D object.
#include <Core/Geometry/Polyline2D.h>

// Get the value of the property.
boolean propertyValue = polyline2D_var->isValid();

Property Value

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

Version

Introduced in version September 2024