Print part of a drawing

Print part of a drawing

GeorgK
Advisor Advisor
2,552 Views
11 Replies
Message 1 of 12

Print part of a drawing

GeorgK
Advisor
Advisor

Hello together,
is there a possibility to print out a part of a drawing (1:1) for example to split it in 4 parts.
Print.png
Thank you

Georg

0 Likes
Accepted solutions (1)
2,553 Views
11 Replies
Replies (11)
Message 2 of 12

GeorgK
Advisor
Advisor

Or to select the area like in Autocad.

0 Likes
Message 3 of 12

JamieVJohnson2
Collaborator
Collaborator

Inventor has limited options for printing, here are 3 ideas:

Use Model 1:1 with Tiled Printing turned on (it at least imitates what you drew).

Set the view screen to zoom to your area, then print with option Current Window.  You could play with browser or window size until you achieve the desired aspect ratio.

Change the actual sheet size to reduce and ignore all other entities.  This is the worst idea, because it would only print 1 not shiftable area, and you would have to shift ALL the contents of the document instead.

Jamie Johnson : Owner / Sisu Lissom, LLC https://sisulissom.com/
0 Likes
Message 4 of 12

GeorgK
Advisor
Advisor

@JamieVJohnson2

 

I thougt that I could program this function, which you described. I know the limitation of Inventor.

0 Likes
Message 5 of 12

chandra.shekar.g
Autodesk Support
Autodesk Support

@GeorgK,

 

Unfortunately, Inventor won't support to print selected window. But, drawing need to adjust 1/4th part of original size. Then, print the drawing with "Current Window" option as shown below.

 

Current window.PNG

Thanks and regards,


CHANDRA SHEKAR G
Developer Advocate
Autodesk Developer Network



0 Likes
Message 6 of 12

GeorgK
Advisor
Advisor

@chandra.shekar.g

 

how could I calculate the distance? I tried it with the camera:

 

Public Sub Zoom_With_Camera()
    
    Dim oDoc As DrawingDocument
    Set oDoc = ThisApplication.ActiveDocument

    Dim oSheet As Sheet
    Set oSheet = oDoc.ActiveSheet
       
    Dim sheetWidth As Double
    sheetWidth = oSheet.Width
    
    Dim sheetHeight As Double
    sheetHeight = oSheet.Height
   
    Dim oCamera As Camera
    Set oCamera = ThisApplication.ActiveView.Camera
 
   Dim NewTargePnt As Point
   Set NewTargePnt = ThisApplication.TransientGeometry.CreatePoint((sheetWidth / 2 + 4), (sheetHeight / 2) - 4, 0)
   oCamera.Target = NewTargePnt

   Call oCamera.SetExtents(20, 20)
   oCamera.Apply

End Sub

The Sheet size is A0, A1, A2, A3, A4

 

Thank you Georg

0 Likes
Message 7 of 12

GeorgK
Advisor
Advisor

@chandra.shekar.g

 

Is there a formula to calculate the distance? Then I can print each part of the drawing.

0 Likes
Message 8 of 12

chandra.shekar.g
Autodesk Support
Autodesk Support
Accepted solution

@GeorgK,

 

Sorry for reply,

 

Hoping that solution provided in the below forum discussion may help.

 

https://forums.autodesk.com/t5/inventor-forum/zoom-extents-in-drawing-sheet/td-p/7985096

 

Thanks and regards,


CHANDRA SHEKAR G
Developer Advocate
Autodesk Developer Network



Message 9 of 12

GeorgK
Advisor
Advisor

@chandra.shekar.g

 

The "current view" in the print dialog changes the printed area. Is there a relation or known value of the change?

0 Likes
Message 10 of 12

chandra.shekar.g
Autodesk Support
Autodesk Support

@GeorgK,

 

Can you please demonstrate print issue with screen shots?

 

Thanks and regards,


CHANDRA SHEKAR G
Developer Advocate
Autodesk Developer Network



0 Likes
Message 11 of 12

GeorgK
Advisor
Advisor

@chandra.shekar.g

It looks different on the screen as on the paper. I don't know if it's possible to print it on the correct size.

 

 

Preview to printPreview to printCurrent windowCurrent windowDrawingDrawing

 

 

 

 

 

0 Likes
Message 12 of 12

chandra.shekar.g
Autodesk Support
Autodesk Support

@GeorgK,

 

Sorry for late reply,

 

As Inventor API is not supporting to print of window selection, I suggest to try trial and error method until getting correct size.

 

Thanks and regards,


CHANDRA SHEKAR G
Developer Advocate
Autodesk Developer Network



0 Likes