Update revision table from ilogic

Update revision table from ilogic

abrahambarroeta
Enthusiast Enthusiast
1,041 Views
3 Replies
Message 1 of 4

Update revision table from ilogic

abrahambarroeta
Enthusiast
Enthusiast

Hello, everybody, 

 

I need some help, I'm trying to make some stuff into my company and it's necessary to update the revision table from ilogic. There is a way to do that?

 

I need to make with ilogic the next function:

 

abrahambarroeta_0-1712560615363.png

 Thanks a lot.

 

0 Likes
Accepted solutions (1)
1,042 Views
3 Replies
Replies (3)
Message 2 of 4

WCrihfield
Mentor
Mentor

Hi @abrahambarroeta.  Can you please explain what you want in more detail, or in a different way.  In what specific way do you want to update the revision table?  The image you included contains text that appears to be in a language I am not familiar with, so I can not understand what that item you have circled says.  And when I right-click on one of my revision tables, I do not see that small icon beside the item you have circled in my list.

Wesley Crihfield

EESignature

(Not an Autodesk Employee)

0 Likes
Message 3 of 4

abrahambarroeta
Enthusiast
Enthusiast

Thanks for the reply! 😁😁

 

Sure, let me explain further. I work with Inventor 2024 and Vault Professional 2024, and I have a small issue with the synchronization between the revision in Vault and the index on the drawing. The revision table works well; every time I change the state of a file, the revision table updates correctly. The problem arises with the synchronization with the index.

So, I wrote a simple iLogic rule to create a 'match' (currently, the iLogic simply takes the last value from the REVISION column and puts it into the corresponding properties), but the process to update the revision table is manual. That's my question: I need (if possible) to create a code fragment to update the revision table, to put all the code into a single file, and add it as a custom tool.

 

0 Likes
Message 4 of 4

WCrihfield
Mentor
Mentor
Accepted solution

Hi @abrahambarroeta.  I am also using Inventor 2024.  However, I am not yet using Vault, so I may not be able to understand the 'synchronization' aspect of your request yet, and may not know how to interact with Vault by code yet, if that is what is needed.  I do know that sometimes a revision table can get out of sync with the standard, document level "Revision Number" iProperty.  And I also know that there can be a revision setting for a specific sheet in a drawing.

 

In my experience, when the document level iProperty for revision is out of sync with the revision table in the drawing, it is because the revision table has been edited the wrong way at some point in the past.

Below is a list of potential problematic actions or settings that may be causing trouble, and some possible steps to fix them.

  • Someone may have mistakenly used the 'Insert Row' tool to add a new row to the revision table, then used that 'custom' row for documenting a new revision level, instead of using the 'Add Revision Row(s)' tool, then using that 'normal' new row for documenting the new revision level.
    • When we access the RevisionTable object by code, then iterate its RevisionTableRows, we can check the RevisionTableRow.Custom property, to tell if this is a 'custom' row or not.  If it is a custom row, and you do not want there to be any custom rows, then you will know there is a problem, and may or may not be able to fix it by copying the data from that row into a new 'normal' row, then deleting that custom row.
  • Someone may have created the revision table using the wrong settings.
    • Such as not specifying that it should be for the 'Entire Drawing', instead of just the 'Active Sheet'.
    • Or they may have used the default 'Numeric' setting, when the 'Alpha' setting is the standard.
    • Or they may have left the 'Auto-Index' setting unchecked, when it is normally checked.
    • Or Someone may have left the checkbox setting named 'Update Property on Revision Number Edit' unchecked, when we normally always checked.

There are likely multiple other possible ways to mess that system up too.

Sometimes I just have to take a screen shot of it (to preserve information), then delete all the revision tables, then clear the document level iProperty named 'Revision Number',  then create a new revision table will all the settings set the right way, then fill it in the right way, using the information from the screen shot, to fix the issues.  Not sure how that would effect the link or synchronization between that document an Vault though, or how to fix that, if something was still wrong there.

WCrihfield_0-1712661278914.png

WCrihfield_1-1712661395119.png

 

 

Wesley Crihfield

EESignature

(Not an Autodesk Employee)

0 Likes