PhysicalProperties.mass Property

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

Description

Gets the mass in kilograms.

Syntax

"physicalProperties_var" is a variable referencing a PhysicalProperties object.

# Get the value of the property.
propertyValue = physicalProperties_var.mass
"physicalProperties_var" is a variable referencing a PhysicalProperties object.
#include <Fusion/Fusion/PhysicalProperties.h>

// Get the value of the property.
double propertyValue = physicalProperties_var->mass();

Property Value

This is a read only property whose value is a double.

Samples

Name Description
Get Physical Properties API Sample Script that demonstrates getting physical properties using the API. When this script is run it will create a new document, build a simple model, and get the various physical properties from the model.

Version

Introduced in version September 2015