Inventor Customization

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

iLogic zoom (fit) all IDW sheets

337 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: 540
Registered: ‎03-26-2007
Message 2 of 2 (313 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

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community


Inventor Exchange Apps

Created by the community for the community, Autodesk Exchange Apps for Autodesk Inventor helps you achieve greater speed, accuracy, and automation from concept to manufacturing.

Connect with Inventor

Twitter

Facebook

Blogs

Pinterest

Youtube