Find Size of IDW File

Find Size of IDW File

isocam
Collaborator Collaborator
431 Views
1 Reply
Message 1 of 2

Find Size of IDW File

isocam
Collaborator
Collaborator

Can anybody help??

 

Using Inventors VBA, is it possible to get the sheet size of a idw drawing file (Eg A0, A1, A2 etc)

 

Many thanks in advance!!!

0 Likes
Accepted solutions (1)
432 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable
Accepted solution
Private Sub Sample()
    Dim oDrawDoc As DrawingDocument
    Set oDrawDoc = ThisApplication.ActiveDocument
    Dim oSheet As Sheet
    For Each oSheet In oDrawDoc.Sheets
        MsgBox (oSheet.Size)
    Next
End Sub