Message 1 of 3

Not applicable
05-28-2018
09:57 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I frequently have to make copies of large sets of drawings and then change only a select few iproperties. I want to automate this a little.
Dim oDoc As Document For Each oDoc In ThisApplication.Documents.VisibleDocuments If oDoc.DocumentType = kDrawingDocumentObject Then MsgBox ("it worked once") iProperties.Value(ThisDrawing,"Project", "Project")="newproject" End If Next oDoc
This code gives me a message box for each open drawing, but only changes the iProperties on whichever drawing is active when I run the code.
Any thoughts?
Inventor 2013
Solved! Go to Solution.