Property.isReadOnly Property

Parent Object: Property
Defined in namespace "adsk::core" and the header file is <Core/Application/Property.h>

Description

Indicates if this property is read-only. If True any attempted edits will fail.

Syntax

"property_var" is a variable referencing a Property object.

# Get the value of the property.
propertyValue = property_var.isReadOnly
"property_var" is a variable referencing a Property object.
#include <Core/Application/Property.h>

// Get the value of the property.
boolean propertyValue = property_var->isReadOnly();

Property Value

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

Version

Introduced in version August 2014