Fusion 360 Python Script - Determine If A Drawing Contains Either An Assembly Or A Part?

Fusion 360 Python Script - Determine If A Drawing Contains Either An Assembly Or A Part?

isocam
Collaborator Collaborator
194 Views
1 Reply
Message 1 of 2

Fusion 360 Python Script - Determine If A Drawing Contains Either An Assembly Or A Part?

isocam
Collaborator
Collaborator

Can anybody help?

 

Does anybody know, using a Fusion 360 python script, if it is possible to determine of a drawing contains either an assembly or a part?

 

Many thanks in advance!

 

Darren

0 Likes
195 Views
1 Reply
Reply (1)
Message 2 of 2

jordan783ZS
Advocate
Advocate

Unfortunately Fusion gives very little API access to the drawing space currently.
The only real way I can think to do this would be to have your script open the linked file, and then check the structure of that file for any sub-components or linked components.

0 Likes