Document.products Property

Parent Object: Document
Defined in namespace "adsk::core" and the header file is <Core/Application/Document.h>

Description

Returns the products associated with this document.

Syntax

"document_var" is a variable referencing a Document object.

# Get the value of the property.
propertyValue = document_var.products
"document_var" is a variable referencing a Document object.
#include <Core/Application/Document.h>

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

Property Value

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

Samples

Name Description
Generate Setup Sheets API Sample Demonstrates generating the setup sheets for an existing toolpath..
Generate Toolpaths API Sample Demonstrates generating the toolpaths in the active document.
Post Toolpaths API Sample Demonstrates posting toolpaths in the active document.

Version

Introduced in version August 2014