File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 1
1
' Title: Drawing - Revision Table - Reset All
2
2
' Description: Reset all revision tables and clear revision tags
3
- ' Version: 0.1
3
+ ' Version: 0.2
4
4
5
5
' Notes:
6
6
' Because revision tags are linked to the tables, a blank row has to be added so that each row can be deleted.
@@ -14,6 +14,9 @@ If ThisApplication.ActiveDocumentType <> Inventor.DocumentTypeEnum.kDrawingDocum
14
14
Exit Sub
15
15
End If
16
16
17
+ ' Prompt user for checkers name. Replace with a string if you don't want a prompt
18
+ Dim strChecker As String = InputBox("Enter Checker Initials", "Drawing Revision Reset", "Z.Z")
19
+
17
20
' Get the active document
18
21
Dim oDoc As DrawingDocument = ThisApplication.ActiveDocument
19
22
@@ -110,7 +113,7 @@ For Each oSheet As Inventor.Sheet In oDoc.Sheets
110
113
'oRT.RevisionTableRows(1).Item(1).Text = "" This is typically the revision number
111
114
oRT.RevisionTableRows(1).Item(2).Text = "DESCRIPTION 123" ' DESCRIPTION
112
115
oRT.RevisionTableRows(1).Item(3).Text = ThisApplication.UserName ' BY
113
- oRT.RevisionTableRows(1).Item(4).Text = "CHECKED 123" ' CHECKED BY
116
+ oRT.RevisionTableRows(1).Item(4).Text = strChecker ' CHECKED BY
114
117
oRT.RevisionTableRows(1).Item(5).Text = Date.Today.ToShortDateString ' DATE
115
118
bFound = True
116
119
Exit For
You can’t perform that action at this time.
0 commit comments