Storyboard.setAppearance Method

Parent Object: Storyboard

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::fusion" and the header file is <Fusion/Animation/Storyboard.h>

Description

Method that sets the appearance of AnimationComponent objects.

Syntax

"storyboard_var" is a variable referencing a Storyboard object.

# Uses no optional arguments.
returnValue = storyboard_var.setAppearance(components, appearance)

# Uses optional arguments.
returnValue = storyboard_var.setAppearance(components, appearance, applyToAllStoryboards)
"storyboard_var" is a variable referencing a Storyboard object.

#include <Fusion/Animation/Storyboard.h>

// Uses no optional arguments.
returnValue = storyboard_var->setAppearance(components, appearance);

// Uses optional arguments.
returnValue = storyboard_var->setAppearance(components, appearance, applyToAllStoryboards);
"storyboard_var" is a variable referencing a Storyboard object.

// Uses no optional arguments.
returnValue = storyboard_var.setAppearance(components, appearance);

// Uses Optional arguments.
returnValue = storyboard_var.setAppearance(components, appearance, applyToAllStoryboards);

Return Value

Type Description
boolean Returns true if the appearance was successfully set, false otherwise.

Parameters

Name Type Description
components AnimationComponent[] Inputs the AnimationComponent objects to set overridden appearance.
appearance Appearance Inputs the Appearance object that sets the appearance of the components.
applyToAllStoryboards boolean Inputs boolean value that indicates whether to apply the appearance overridden to all storyboards. This defaults to false indicating that only the current storyboard will be affected.

This is an optional argument whose default value is False.

Version

Introduced in version November 2026