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

You're right.  I see it very clearly now this morning.  It's right near the top where we are creating the variables.  We need to change this:

Dim oSheets As Sheets
Dim oSheet As Sheet=oDoc.Sheets
Dim oViews As DrawingViews
Dim oView As DrawingView

to this:

Dim oSheets As Sheets = oDoc.Sheets
Dim oSheet As Sheet
Dim oViews As DrawingViews
Dim oView As DrawingView

Apparently I accidentally put that Value behind the wrong variable, so it was thinking we were trying to set a Sheet type variable to a Sheets type value, which caused the error.  Hopefully that fixes the error and there aren't any others.  Sorry about that. :upside_down_face:

Wesley Crihfield

EESignature

(Not an Autodesk Employee)