Component.propertyGroups Property

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

Description

Returns the PropertyGroups object associated with this component.

Syntax

"component_var" is a variable referencing a Component object.

# Get the value of the property.
propertyValue = component_var.propertyGroups
"component_var" is a variable referencing a Component object.
#include <Fusion/Components/Component.h>

// Get the value of the property.
Ptr<PropertyGroups> propertyValue = component_var->propertyGroups();

Property Value

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

Samples

Name Description
Library item API Sample

Demonstrates using library items using the API.

To use the sample, create a new Python or C++ script and copy and paste this code, replacing the default code. The sample also used an saved user document with Library component(s). Create document, save it and insert Library item into the document. When running the script, have a that design open.

Version

Introduced in version January 2024