ActiveView SaveAsBitmap failing on Content Center Components

ActiveView SaveAsBitmap failing on Content Center Components

mthomas
Collaborator Collaborator
469 Views
0 Replies
Message 1 of 1

ActiveView SaveAsBitmap failing on Content Center Components

mthomas
Collaborator
Collaborator

I'm building a macro using VBA and Inventor 2011 that will take an assembly, open each part in that assembly and save the part as a bitmap. All was working well until it hit a content center component.

 

When it opens the content center file and attempts the SaveAsBitmap it errors with "Run-time error, Method 'SaveAsBitmap' of object 'View' failed". If I open the file I can do a save copy as bitmap without error.

 

The code I'm using is as follows... any thoughts on why its failing with Content Center Parts?

 

ThisApplication.ActiveView.SaveAsBitmap sImageName, 1024, 768

Mike Thomas

0 Likes
470 Views
0 Replies
Replies (0)