Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.

Get Drawing "Sheet Size" Using Fusion 360 API

isocam
Collaborator

Get Drawing "Sheet Size" Using Fusion 360 API

isocam
Collaborator
Collaborator

Can Anybody help?

 

I have an Inventor Macro that can give me the drawing sheet size thus,

 

   Dim oDoc As Document

    Set oDoc = ThisApplication.ActiveDocument

    Dim oSheet As Sheet

    Set oSheet = oDoc.ActiveSheet

    Select Case oSheet.Size
      Case kA0DrawingSheetSize
           DrawingSize = "0"
      Case kA1DrawingSheetSize
           DrawingSize = "1"
      Case kA2DrawingSheetSize
           DrawingSize = "2"
      Case kA3DrawingSheetSize
           DrawingSize = "3"
      Case kA4DrawingSheetSize
           DrawingSize = "4"
      Case Else
           Message = "Incorrect drawing sheet size has been specified!"
    End Select

 

Can anybody tell me if I can do the same with a Fusion 360 API?

 

Many thanks in advance!

 

Darren

0 Likes
Reply
437 Views
1 Reply
Reply (1)

erik
Advocate
Advocate

I am not entirely sure, but I don't think there has been implemented code for the Drawing environment yet.

But we need @ekinsb to confirm.

 

- Erik

0 Likes