06-22-2021
04:09 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
06-22-2021
04:09 AM
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. ![]()
Wesley Crihfield
(Not an Autodesk Employee)