FlatPatternProduct.physicalProperties Method

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

Description

Returns the PhysicalProperties object that has properties for getting the area, density, mass, volume, moments, etc for a collection of 3D solid objects.

Syntax

"flatPatternProduct_var" is a variable referencing a FlatPatternProduct object.
# Uses no optional arguments.
returnValue = flatPatternProduct_var.physicalProperties(inputs)

# Uses optional arguments.
returnValue = flatPatternProduct_var.physicalProperties(inputs, accuracy)
"flatPatternProduct_var" is a variable referencing a FlatPatternProduct object.

#include <Fusion/SheetMetal/FlatPatternProduct.h>

// Uses no optional arguments.
returnValue = flatPatternProduct_var->physicalProperties(inputs);

// Uses optional arguments.
returnValue = flatPatternProduct_var->physicalProperties(inputs, accuracy);

Parameters

Name Type Description
inputs ObjectCollection A collection of one or more 3D solid input objects to perform the calculations on. Supported input object types are Components, Occurrences and BRepBodies. Calculation results reflect the sums of the input objects (i.e. total volume of multiple bodies)
accuracy CalculationAccuracy Specifies the desired level of computational accuracy of the property calculations. The default value of 'LowCalculationAccuracy' returns results within a +/- 1% error margin.

This is an optional argument whose default value is CalculationAccuracy.LowCalculationAccuracy.

Version

Introduced in version October 2022