04-18-2017
06:08 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
04-18-2017
06:08 PM
Hi
As far as I know, Apprentice doesn't contain any UI capabilities so objects like Drawing Views may not be accessible. You could try opening the drawing instead as invisible
Dim InvApplication As Inventor.Application =
' System.Runtime.InteropServices.Marshal.
' GetActiveObject("Inventor.Application")
Dim sPath As String = "C:/My Folder/ MyDrawing.idw"
Dim oIDW As Inventor.DrawingDocument = InvApplication.Documents.Open(sPath, False)
don't forget to close it after
oIDW.Close oIDW = nothing
Nacho
Nacho
Automation & Design Engineer
Inventor automation Programmer (C#, VB.Net / iLogic)
Furniture, Sheet Metal, Structural, Metal fab, Tradeshow, Fabrication, CNC
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.