Product.parentDocument Property

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

Description

Returns the parent Document object.

Syntax

"product_var" is a variable referencing a Product object.

# Get the value of the property.
propertyValue = product_var.parentDocument
"product_var" is a variable referencing a Product object.
#include <Core/Application/Product.h>

// Get the value of the property.
Ptr<Document> propertyValue = product_var->parentDocument();

Property Value

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

Version

Introduced in version August 2014