Documents.count Property

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

Description

Returns the number of currently open documents. This includes documents that are visible and invisible.

Syntax

"documents_var" is a variable referencing a Documents object.

# Get the value of the property.
propertyValue = documents_var.count
"documents_var" is a variable referencing a Documents object.
#include <Core/Application/Documents.h>

// Get the value of the property.
uinteger propertyValue = documents_var->count();

Property Value

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

Version

Introduced in version August 2014