DraftAnalysis.opacity Property

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

Description

A property that gets and sets the opacity of the analysis as an integer in the range of 0 to 100, where 100 is fully opaque.

Syntax

"draftAnalysis_var" is a variable referencing a DraftAnalysis object.
# Get the value of the property.
propertyValue = draftAnalysis_var.opacity

# Set the value of the property.
draftAnalysis_var.opacity = propertyValue
"draftAnalysis_var" Is a variable referencing a DraftAnalysis Object.
#include <Fusion/Fusion/DraftAnalysis.h>

// Get the value of the property.
integer propertyValue = draftAnalysis_var->opacity();

// Set the value of the property, where value_var is an integer.
bool returnValue = draftAnalysis_var->opacity(value_var);
"draftAnalysis_var" Is a variable referencing a DraftAnalysis Object.
// Get the value of the property.
propertyValue = draftAnalysis_var.opacity;

// Set the value of the property.
draftAnalysis_var.opacity = propertyValue;

Property Value

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

Version

Introduced in version October 2026