Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
taher.basha
312 Views, 2 Replies

Windows froms

As shown in the pic. How can I place or contain Inventor frame in winforms

Note: for some reason I hid some details

wd.PNG

Tags (2)
petr.meduna
in reply to: taher.basha

Simply create one dockable window in Inventor and add Form hadle to it. You can also adjust window sizes and disable docking states.

 

Dim interMan As UserInterfaceManager = InventorApplication.UserInterfaceManager
Dim dockWindow As DockableWindow
Try
	dockWindow = interMan.DockableWindows.Item("WindowName")
Catch
	dockWindow = interMan.DockableWindows.Add("yourAppCLSID", "internalName", "WindowName")
End Try
dockWindow.AddChild(yourForm.Handle)

 

taher.basha
in reply to: petr.meduna

I want to contain Inventor in windows form