ButtonControlDefinition.isVisible Property

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

Description

Gets or sets if this definition is visible or not. This has the effect of making any associated controls visible or invisible in the user interface.

Syntax

"buttonControlDefinition_var" is a variable referencing a ButtonControlDefinition object.

# Get the value of the property.
propertyValue = buttonControlDefinition_var.isVisible

# Set the value of the property.
buttonControlDefinition_var.isVisible = propertyValue
"buttonControlDefinition_var" is a variable referencing a ButtonControlDefinition object.
#include <Core/UserInterface/ButtonControlDefinition.h>

// Get the value of the property.
boolean propertyValue = buttonControlDefinition_var->isVisible();

// Set the value of the property, where value_var is a boolean.
bool returnValue = buttonControlDefinition_var->isVisible(value_var);

Property Value

This is a read/write property whose value is a boolean.

Samples

Name Description
Customizing the UI using the API Sample Demonstrates how to work with tabs, panels, and command in the user interface. The full source for C++ and Python samples can be downloaded. This is especially useful for getting the resource files.

Version

Introduced in version August 2014