Skip to content

Commit f0423e9

Browse files
committed
Update DRG_RevisionTable_ResetAll.iLogicVb
1 parent 2b33d5f commit f0423e9

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Scripts/DRG_RevisionTable_ResetAll.iLogicVb

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
' Title: Drawing - Revision Table - Reset All
22
' Description: Reset all revision tables and clear revision tags
3-
' Version: 0.1
3+
' Version: 0.2
44

55
' Notes:
66
' 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
1414
Exit Sub
1515
End If
1616

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+
1720
' Get the active document
1821
Dim oDoc As DrawingDocument = ThisApplication.ActiveDocument
1922

@@ -110,7 +113,7 @@ For Each oSheet As Inventor.Sheet In oDoc.Sheets
110113
'oRT.RevisionTableRows(1).Item(1).Text = "" This is typically the revision number
111114
oRT.RevisionTableRows(1).Item(2).Text = "DESCRIPTION 123" ' DESCRIPTION
112115
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
114117
oRT.RevisionTableRows(1).Item(5).Text = Date.Today.ToShortDateString ' DATE
115118
bFound = True
116119
Exit For

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy