Using AssemblyPropertiesCmd event and Custom Properties

Using AssemblyPropertiesCmd event and Custom Properties

rey_bustamante
Contributor Contributor
305 Views
1 Reply
Message 1 of 2

Using AssemblyPropertiesCmd event and Custom Properties

rey_bustamante
Contributor
Contributor

Hi all,

 

I'm creating an add-in for Inventor 2015 that creates a custom property then automatically opens up the iProperties window in Inventor. I'm using the solution here and it works great:

http://forums.autodesk.com/t5/inventor-customization/display-iproperties-dialog-for-a-specific-part/...

 

The only issue is the iProperties window opens to the "General" tab. I'd like it to open to the "Custom" tab, rather than the "General" tab so the user can see the newly added property without having to click around. The only suggestion I saw for this was to call the Windows Forms SendKey function to tab over to the correct tab:

http://inventorhub.autodesk.com/discussions/threads/120/post/2717821

This doesn't work for me, but regardless it sounds like a rather awkward way to accomplish what I'm looking for.

 

Is there a way through the API to either open directly to the "Custom" tab, or a way to navigate to it once the iProperties window is open?

 

Thank you.

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

rey_bustamante
Contributor
Contributor

Hi all, just curious if anyone has a solution for this, I've been searching since posting and this seems to be a common problem with no official solution.

0 Likes