User.isValid Property
Parent Object:
UserDefined in namespace "adsk::core" and the header file is <Core/Application/User.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
"user_var" is a variable referencing a User object.
# Get the value of the property. propertyValue = user_var.isValid
|
"user_var" is a variable referencing a User object.
#include <Core/Application/User.h>
// Get the value of the property. boolean propertyValue = user_var->isValid();
|
Property Value
This is a read only property whose value is a boolean.
Version
Introduced in version January 2016