Component.isLibraryItem Property
Parent Object: ComponentDefined in namespace "adsk::fusion" and the header file is <Fusion/Components/Component.h>
Description
Gets whether the component was created from a fasteners library item."
Syntax
"component_var" is a variable referencing a Component object.
|
Property Value
This is a read only property whose value is a boolean.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. |