Community
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Provide API access to which Parts List row was right-clicked

Provide API access to which Parts List row was right-clicked

When we right-click a Parts List row in a drawing, Inventor gives the option to Open the row's associated document. I would like to extend this with more options using an add-in. However, right now there's no way for the add-in to determine which row was clicked. It can determine if the Parts List was right-clicked, but not which row.

 

Please provide some API mechanism to give add-ins access to which row was right-clicked.

 

Related thread: Add-In: Determine right-clicked row in Parts List.

2 Comments
DRoam
Mentor

As discussed in the thread, one acceptable implementation would be to add the row as a value in the "AdditionalInfo" NameValueMap argument of the UserInputEvents.OnLinearMarkingMenu event when a Parts List row is right-clicked.

g.georgiades
Advocate

With Autodesk 2025 - we can now hover over rows and actually select individual rows which stay selected until the user clicks elsewhere. The API still only reports the full parts list as being selected. Adding a Selected boolean to the PartsListRow API object or a SelectedRow property to the PartList Object does not seem difficult? Something like that must already exist on the backend otherwise the new behavior would not be possible.

 

@MjDeck

 

ggeorgiades_0-1713551935322.png

 

This relates to https://forums.autodesk.com/t5/inventor-ideas/open-idw-directly-from-part-list/idi-p/9389040

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

Submit Idea  

Technology Administrators


Autodesk Design & Make Report