Share

CommandDefinition.isNative Property

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

Description

Gets if this is a native command definition. If True then there are limitations to edits that can be done on the command definition. For example a native command definition cannot be deleted.

Syntax

"commandDefinition_var" is a variable referencing a CommandDefinition object.

# Get the value of the property.
propertyValue = commandDefinition_var.isNative

Property Value

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

Version

Introduced in version August 2014

Was this information helpful?