CustomGraphicsEntity.isVisible Property

Parent Object: CustomGraphicsEntity
Defined in namespace "adsk::fusion" and the header file is <Fusion/Graphics/CustomGraphicsEntity.h>

Description

Gets and sets if the graphics entity is visible in the graphics window. By default, when a new entity is created it is visible.

Syntax

"customGraphicsEntity_var" is a variable referencing a CustomGraphicsEntity object.

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

# Set the value of the property.
customGraphicsEntity_var.isVisible = propertyValue
"customGraphicsEntity_var" is a variable referencing a CustomGraphicsEntity object.
#include <Fusion/Graphics/CustomGraphicsEntity.h>

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

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

Property Value

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

Version

Introduced in version September 2017