AnimationExplodeInput.setManualExplodeDirection Method

Parent Object: AnimationExplodeInput

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/AnimationExplodeInput.h>

Description

Method that sets the manual explode direction for the animation component.

Syntax

"animationExplodeInput_var" is a variable referencing an AnimationExplodeInput object.

returnValue = animationExplodeInput_var.setManualExplodeDirection(component, direction)
"animationExplodeInput_var" is a variable referencing an AnimationExplodeInput object.

#include <Fusion/Animation/AnimationExplodeInput.h>

returnValue = animationExplodeInput_var->setManualExplodeDirection(component, direction);
"animationExplodeInput_var" is a variable referencing an AnimationExplodeInput object.

returnValue = animationExplodeInput_var.setManualExplodeDirection(component, direction);

Return Value

Type Description
boolean Returns true if the manual explode direction was successfully set, false otherwise.

Parameters

Name Type Description
component AnimationComponent The animation component for which to set the manual explode direction. This should be a leaf component in the assembly structure.
direction Vector3D Specifies the explode direction for the animation component. Valid directions include x-direction (1,0,0), y-direction (0,1,0), z-direction (0,0,1), negative x-direction (-1,0,0), negative y-direction (0,-1,0), and negative z-direction (0,0,-1).

Version

Introduced in version November 2026