Anonymous
in reply to:
Anonymous
03-22-2015
01:08 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
03-22-2015
01:08 PM
Hi All
I have found this code:
'Update Drawing Dim oDocument As Inventor.DrawingDocument Set oDocument = ThisApplication.ActiveDocument Dim oSheet As Inventor.Sheet oSheet = oDocument.Sheets(1) If oDocument.RequiresUpdate Then oDocument.Update oDocument.Save End Sub
But It fails at:
oSheet = oDocument.Sheets(1)
Invalid use of property.
Thanks