Make all values in a revision block non static
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello All,
For some reason, for the last few releases, updating properties from Vault has updated our rev block (we use vault rev blocks) correctly, however, the operation adds the correct values to the rev block and then leaves everything static.
Is there a way to use ilogic to change all of the cells to Not Static?
I have found a snippet (thanks @jdkriek and @cbenner) that will make them all static, but my programming capability does not allow me to reverse it.
Here is the snippet:
Dim oDrawDoc As DrawingDocument = ThisApplication.ActiveDocument ' Get the revision table Dim oRevTable As RevisionTable = oDrawDoc.ActiveSheet.RevisionTables.Item(1) ' Get last row Dim oRow As RevisionTableRow oRow = oRevTable.RevisionTableRows.Item(oRevTable.RevisionTableRows.Count) ' Make sure we have the active row If oRow.IsActiveRow Then ' Go through all columns in that row For i = 1 To oRevTable.RevisionTableColumns.Count Dim oCell As RevisionTableCell = oRow.Item(i) ' Set all cells to static oCell.Text = oCell.Text Next End If
Mechanix Design Solutions inc.

