FusionDocument.products Property

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

Description

Returns the products associated with this document.

Syntax

"fusionDocument_var" is a variable referencing a FusionDocument object.

# Get the value of the property.
propertyValue = fusionDocument_var.products
"fusionDocument_var" is a variable referencing a FusionDocument object.
#include <Fusion/Fusion/FusionDocument.h>

// Get the value of the property.
Ptr<Products> propertyValue = fusionDocument_var->products();

Property Value

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

Samples

Name Description
Save and Insert File API Sample Demonstrates creating save a new file and then inserting it into a design. To use this sample, have a design open that has been saved and run the script. It will create a new design that contains a cylinder, save it to the same folder the active design was saved to, and then insert it into the active design.

Version

Introduced in version August 2014