Community
Inventor Programming - iLogic, Macros, AddIns & Apprentice
Inventor iLogic, Macros, AddIns & Apprentice Forum. Share your knowledge, ask questions, and explore popular Inventor topics related to programming, creating add-ins, macros, working with the API or creating iLogic tools.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

put back static value status iin revision table

0 REPLIES 0
Reply
Message 1 of 1
stefaanboel
362 Views, 0 Replies

put back static value status iin revision table

we worked out this piece of code to reset all cells from the approved folder in the revision table.

but it's not working, is it because this function does not exist for the revision table? It does work for the partslist :s

 

Public Sub RevisionTableMult()

Dim invDDoc As DrawingDocument
Dim invPL As RevisionTable
Dim invPLCell As RevisionTableCell
Dim intRow As Integer
Dim invPLRow As RevisionTableRow

    Set invDDoc = ThisApplication.ActiveDocument
    Set invPL = invDDoc.ActiveSheet.RevisionTables.Item(1)
 
     For intRow = 1 To invPL.RevisionTableRows.Count
     
        Set invPLRow = invPL.RevisionTableRows.Item(intRow)
       Set invPLCell = invPLRow.Item("APPROVED")
'resets the cell back to the parametric value...
         invPLCell.Static = Active
    Next intRow

End Sub



If this is the solution, push the solution button Smiley Wink (and maybe some kudos)

0 REPLIES 0

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report