Appearance.color Property

Parent Object: Appearance

PreviewThis functionality is provided as a preview of intended future API capabilities. You are encouraged to use it and report any problems or suggestions using the Fusion API and Scripts forum.

Because this is a preview of future functionality, there is the possibility that it will change, which will possibly break any existing programs that use this functionality. Because of that, you should never deliver any programs that use any preview capabilities. For a distributed program, you should wait until it has moved from preview to released state.


Defined in namespace "adsk::core" and the header file is <Core/Materials/Appearance.h>

Description

The appearance's primary color as RGBA. Maps to the schema-appropriate color property — `opaque_albedo` for opaque appearances, `metal_f0` for metallic, `transparent_color` for transparent. Setting alpha less than 255 enables translucency on opaque appearances.

For schema-specific properties not exposed here (emission, index of refraction, anisotropy, etc.), use `appearanceProperties`.

Syntax

"appearance_var" is a variable referencing an Appearance object.
# Get the value of the property.
propertyValue = appearance_var.color

# Set the value of the property.
appearance_var.color = propertyValue
"appearance_var" Is a variable referencing an Appearance Object.
#include <Core/Materials/Appearance.h>

// Get the value of the property.
Ptr<Color> propertyValue = appearance_var->color();

// Set the value of the property, where value_var is a Color.
bool returnValue = appearance_var->color(value_var);
"appearance_var" Is a variable referencing an Appearance Object.
// Get the value of the property.
propertyValue = appearance_var.color;

// Set the value of the property.
appearance_var.color = propertyValue;

Property Value

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

Version

Introduced in version July 2026