BRepBody.isVisible Property

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

Description

Gets if this body is currently visible in the graphics window. Use the isLightBulbOn to change if the light bulb beside the body node in the browser is on or not. Parent nodes in the browser can have their light bulb off which affects all of their children. This property indicates the final result and whether this body is actually visible or not.

This property is only valid if the IsTransient property is false.

Syntax

"bRepBody_var" is a variable referencing a BRepBody object.

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

# Set the value of the property.
bRepBody_var.isVisible = propertyValue
"bRepBody_var" is a variable referencing a BRepBody object.
#include <Fusion/BRep/BRepBody.h>

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

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

Property Value

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

Samples

Name Description
BRep Body Sample B-Rep (Boundary Representation) body related functions

Version

Introduced in version August 2014