Inventor Customization

*Expert Elite*
Posts: 47
Registered: ‎02-18-2009
Message 1 of 1 (124 Views)

put back static value status iin revision table

124 Views, 0 Replies
04-21-2011 11:50 PM

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 :smileywink: (and maybe some kudos)

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Are you interested in helping shape the Autodesk Community?
We’re looking at a few different ways to improve the “All Forums” landing page and need your feedback! If interested, please take a few minutes to fill out the following Usability Study. Thank you for your time!

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community

Inventor Exchange Apps

Created by the community for the community, Autodesk Exchange Apps for Autodesk Inventor helps you achieve greater speed, accuracy, and automation from concept to manufacturing.

Connect with Inventor