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 how to examine library items using the API.

To use the sample, create a new Python or C++ script and copy and paste this code, replacing the existing default code. The script will search for and record all components and library items in the current project. They are displayed in a dialog when the script has finished.

Version

Introduced in version January 2024