Inventor Customization

Inventor Customization

Reply
Contributor
axa-61
Posts: 24
Registered: ‎08-08-2012
Message 1 of 2 (386 Views)

iLogic zoom (fit) all IDW sheets

386 Views, 1 Replies
11-14-2012 12:50 AM

Hi, 

How to get all Inventor drawing sheets fit on PC screen. Example iLogic code below makes only Gasket:3 to fit the screen (always last one in the code chaine) . Nothing happens with  sheets :1 and  :2 .

 

ActiveSheet = ThisDrawing.Sheet("MainAssembly:1")
ThisApplication.ActiveView.Fit
ActiveSheet = ThisDrawing.Sheet("WeldAssembly:2")
ThisApplication.ActiveView.Fit
ActiveSheet = ThisDrawing.Sheet("Gasket:3")
ThisApplication.ActiveView.Fit

Inventor 2013 SP2
Windows 7, 64 bits
RAM 18GB
Core TM2 Duo CPU 2,99 Gz
ADN Support Specialist
adam.nagy
Posts: 575
Registered: ‎03-26-2007
Message 2 of 2 (362 Views)

Re: iLogic zoom (fit) all IDW sheets

11-21-2012 08:31 AM in reply to: axa-61

Hi,

 

In the user interface as well, there can only be one sheet active at a time, so I don't think there is a way around that through the API.

 

Cheers,



Adam Nagy
Developer Technical Services
Autodesk Developer Network
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.