MeshBody.appearance Property

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

Description

Read-write property that gets and sets the current appearance of the body. Setting this property will result in applying an override appearance to the body and the AppearanceSourceType property will return OverrideAppearanceSource. Setting this property to null will remove any override.

Syntax

"meshBody_var" is a variable referencing a MeshBody object.

# Get the value of the property.
propertyValue = meshBody_var.appearance

# Set the value of the property.
meshBody_var.appearance = propertyValue
"meshBody_var" is a variable referencing a MeshBody object.
#include <Fusion/MeshBody/MeshBody.h>

// Get the value of the property.
Ptr<Appearance> propertyValue = meshBody_var->appearance();

// Set the value of the property, where value_var is an Appearance.
bool returnValue = meshBody_var->appearance(value_var);

Property Value

This is a read/write property whose value is an Appearance.

Version

Introduced in version August 2016