Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.

ComponentList object - explanation please ?

gvisca44
Advocate

ComponentList object - explanation please ?

gvisca44
Advocate
Advocate

Seeking assistance:

 

Can someone explain the ComponentList object to me ... and how it differs from the Components object ? There are a bunch of other ....List objects - so I assume they are all similar.

 

It appears like I can create a transient ComponentList object (say - a collection of components extracted from the design that match certain criteria) - and rather than traverse the main design to extract data, I could work on the transient ComponentList object (say to extract a bunch of data and output to a file).

 

If I am anywhere close to correct - can someone provide an example ? (to be clear - I have already developed scripts that do this ... I was just playing around with different approaches).

 

Glenn.

0 Likes
Reply
218 Views
1 Reply
Reply (1)

kandennti
Mentor
Mentor

Hi @gvisca44 .

 

A ComponentList object is a collection of Component objects, which can be retrieved with the item method.

https://help.autodesk.com/view/fusion360/ENU/?guid=GUID-GUID-0ddb54cd-cd21-4880-8458-42a5c390ce86 

 

I think the ComponentList object may be obtained by the return value of a method with a property, but I could not find the situation in which it could be obtained.

 

0 Likes