Community
Fusion API and Scripts
Got a new add-in to share? Need something specialized to be scripted? Ask questions or share what you’ve discovered with the community.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Path from Component (configuration) to its siblings (other configurations)?

2 REPLIES 2
Reply
Message 1 of 3
jaco_tech
112 Views, 2 Replies

Path from Component (configuration) to its siblings (other configurations)?

In my script while traversing an assembly, i come a cross a 'Component' that is configured. (component.parentDesign.isConfigured = True)

So that parentDesign has a configurationRowId, but not a configuration(Top)Table set.

 

Now i would like to iterate through all the other possible configurations for that component ... But i do not find a path back to the full configurationTable.

 

How do i do this ?

Tags (1)
Labels (1)
2 REPLIES 2
Message 2 of 3
BrianEkins
in reply to: jaco_tech

If the Design.isConfiguredDesign returns True, you can use the Design.configurationTopTable. However, it looks like something is missing from the API. From a top table, you can't get the parent Design it is in. I was expecting a parentDesign property on the table object.

---------------------------------------------------------------
Brian Ekins
Inventor and Fusion 360 API Expert
Website/Blog: https://EkinsSolutions.com
Message 3 of 3
jaco_tech
in reply to: BrianEkins

Indeed. There are a lot of dead ends here. I know the configurations part of the api is experimental ... but still.

Also when the Design.isConfiguration = True ... there is only the configurationRowId ... the configurationTopTable is empty ... so even that would lead nowhere.

 

Hope some Autodesk Fusion API team member can weigh in what is the approach here.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report