Get An Image of a "Raster" DrawingView

Get An Image of a "Raster" DrawingView

Maxim-CADman77
Advisor Advisor
410 Views
3 Replies
Message 1 of 4

Get An Image of a "Raster" DrawingView

Maxim-CADman77
Advisor
Advisor

I wonder if it posiible to get an image that inventor generates for so-called Raster DrawingView?

Please vote for Inventor-Idea Text Search within Option Names

0 Likes
411 Views
3 Replies
Replies (3)
Message 2 of 4

HermJan.Otterman
Advisor
Advisor

Hello,

 

what is you final goal?

 

maybe this will help, it is a post from last week:

https://forums.autodesk.com/t5/inventor-customization/export-each-views-to-pdf-or-png/m-p/8157696#M8...

If this answers your question then please select "Accept as Solution"
Kudo's are also appreciated Smiley Wink

Succes on your project, and have a nice day

Herm Jan


0 Likes
Message 3 of 4

Maxim-CADman77
Advisor
Advisor

Thank you for your interest.

 

My goal is to determine if there any two views that have real overlap. (not just frame overlap).

AFAIK there is no fast direct solution of the task.

The idea of indirect solution is to get separate images of frame intersection rectangle for each of two views and then combine them in resulting image (using special algorithm - the point is considered black only if both corresponding points of the two initial images are black) and check if there is any difference of resulting image from "totally white".

 

Yours code shots inseparate images thus doesn't suite the idea. It may worth try to suppress all other views before shooting each next... Or may be there is a better way?

 

Please vote for Inventor-Idea Text Search within Option Names

0 Likes
Message 4 of 4

chandra.shekar.g
Autodesk Support
Autodesk Support

@Maxim-CADman77,

 

Suggestion from @HermJan.Otterman is nice idea. If there are overlaps within Drawing views, respective view can be set to invisible to take image.

 

You can also check overlap of views by comparing rangebox of drawing view.

 

Thanks and regards,


CHANDRA SHEKAR G
Developer Advocate
Autodesk Developer Network



0 Likes