EnvironmentMapAnalyses.add Method

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

Description

Creates a new Environment Map Analysis applied to the specified bodies.

Syntax

"environmentMapAnalyses_var" is a variable referencing an EnvironmentMapAnalyses object.

returnValue = environmentMapAnalyses_var.add(bodies, environmentID, rotation, isMirrorApplied)
"environmentMapAnalyses_var" is a variable referencing an EnvironmentMapAnalyses object.

#include <Fusion/Fusion/EnvironmentMapAnalyses.h>

returnValue = environmentMapAnalyses_var->add(bodies, environmentID, rotation, isMirrorApplied);
"environmentMapAnalyses_var" is a variable referencing an EnvironmentMapAnalyses object.

returnValue = environmentMapAnalyses_var.add(bodies, environmentID, rotation, isMirrorApplied);

Return Value

Type Description
EnvironmentMapAnalysis Returns the new EnvironmentMapAnalysis object if successful, or null if creation failed.

Parameters

Name Type Description
bodies Base[] An array of BRepBody objects to apply the environment map analysis to.
environmentID string The environment ID that identifies which environment map image to use. Use design.renderManager.renderEnvironments to get the available environments and their id property for this value.
rotation double The rotation angle in radians to apply to the environment map.
isMirrorApplied boolean Specifies whether mirror material is applied to the bodies during the analysis.

Version

Introduced in version September 2026