Inventor Api - Set focus back to inventor

Inventor Api - Set focus back to inventor

connor.ferguson
Advocate Advocate
1,207 Views
1 Reply
Message 1 of 2

Inventor Api - Set focus back to inventor

connor.ferguson
Advocate
Advocate

I am writing an Inventor addin, i have a command that displays a windows from (non-modal). Then similar to Inventor normal ui i have a button the user can click to select an edge. This issue i have is when the user clicks this button, they then need to click inside Inventor for the selection to become active, then they can see the prompt and select the edge.

I have set inventors window as the form owner. Is there a way to get the focus back to inventor and not my form?

 

Accepted solutions (1)
1,208 Views
1 Reply
Reply (1)
Message 2 of 2

bradeneuropeArthur
Mentor
Mentor
Accepted solution

form.hide

then'

form.show

Regards,

Arthur Knoors

Autodesk Affiliations & Links:
blue LinkedIn LogoSquare Youtube Logo Isolated on White Background


Autodesk Software:Inventor Professional 2025 | Vault Professional 2024 | Autocad Mechanical 2024
Programming Skills:Vba | Vb.net (Add ins Vault / Inventor, Applications) | I-logic
Programming Examples:
Drawing List!|
Toggle Drawing Sheet!|
Workplane Resize!|
Drawing View Locker!|
Multi Sheet to Mono Sheet!|
Drawing Weld Symbols!|
Drawing View Label Align!|
Open From Balloon!|
Model State Lock!
Posts and Ideas:
My Ideas|
Dimension Component!|
Partlist Export!|
Derive I-properties!|
Vault Prompts Via API!|
Vault Handbook/Manual!|
Drawing Toggle Sheets!|
Vault Defer Update!

! For administrative reasons, please mark a "Solution as solved" when the issue is solved !


 


EESignature

0 Likes