Part.package3d Property

Parent Object: Part

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::electron" and the header file is <Electron/Parts/Part.h>

Description

3D package associated with this part (can be null).

Syntax

"part_var" is a variable referencing a Part object.

# Get the value of the property.
propertyValue = part_var.package3d
"part_var" Is a variable referencing a Part Object.
#include <Electron/Parts/Part.h>

// Get the value of the property.
Ptr<Package3d> propertyValue = part_var->package3d();

Property Value

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

Samples

Name Description
Electronics Bill of Materials Sample

Prints a bill of materials to the Text Commands window: lines that share the same value, footprint, MPN, and manufacturer are merged—Part lists all designators (sorted), Qty is the count. Indented Value, Footprint, MPN, and Manufacturer lines follow. Empty value, MPN, or manufacturer shows (missing). Omits parts without a package, without a linked 3D footprint name, or not populated for the default assembly variant.

Version

Introduced in version May 2026