Search This Blog

Tuesday, September 17, 2013

Revision Control from Item Master - Part 2 - Getting Started

Hey there.  So in Part 1 of this series I gave a rather lengthy overview of all of the different revision table styles I created, with the help of some customization gurus, for placing revisions on my drawings from the Item Master in Autodesk ® Vault Professional 2013.  This time around I thought I'd go into a bit more depth on how I got started on the Vault side, and how I set up the Autodesk ® Inventor table.  Then I'll do a couple more parts if needed to get into more detail on the Autodesk ® Autocad and Autodesk ® Autocad Electrical tables.

First thing I had to do was to decide what properties I wanted to use to fill in the revision tables.  I decided that a grouping of User Defined Properties, the same grouping I used when I set up the Vault Revision Table, would work for this as well. I had to add these to the Item so that users could edit them when they process a revision through an Engineering Change Order.  To do this, I edited the several Vault Categories I have set up to handle different revision schemes (alpha for proposals, numeric for projects etc).  Under the Vault Settings\Behaviors\Edit and Manage Categories, I clicked the Assign button on each category I wanted to add these to.  A list of available Item properties comes up, and you simply select the ones you want, and click Add.

Assigning Properties to an Item Category
The list of available properties comes from the Property Definitions manager, under Vault Settings\Behavior\Properties.  Properties can be set to associate with Files, Items, Folders, Change Orders or Custom Objects.  The properties I used for my revision tables are associated to Files and Items, though the file mappings are really only used visually in the Project Explorer screen.  It's the Item mappings that are important.  As you can see I have mapped this property (they are all done the same) to a similarly named custom property on the CAD file in all three systems I use.  The mapping is done in one direction; from Vault to the File, and is set to create the property on the file if it does not already exist.

Mapping Vault Properties
With these settings in place, a user Edits an Item and enters the appropriate information.  For several of these I created a list of values on the property settings to allow for quick selection, but did not set it to enforce this list.  That way a user can enter a name or a description other than those already in the list.  Once the properties are edited and the Item saved, these properties will be pushed out to the Cad file the next time it is checked out from Vault, and Update Properties is run in the Cad application.

Editing the Properties on an Item

Now... onto the Autodesk ® Inventor side.  With the Vault properties set to be updated in my inventor drawings, the next thing was to set up a new Revision Table in Inventor to accept these properties.  I opened my drawing template file and went to Manage\Styles Editor, then scrolled down to Revision Table.

The default revision table in most of my newer drawings was set up to run with the Vault Revision Table.  Using an older ANSI style that was leftover from before the VRT, I created a new style and edited it using the Column Chooser.  Column Chooser brings up a list of all available properties on the drawing you have open.  The chooser dialog box allows you to select these properties and add them to your style, move them up or down, or remove unwanted properties.  If the property you want is not in the list, you can add it using the New Property button.  Make sure you add it using the exact name of the corresponding Vault property.

In my case, I did not want the revision table column headers to be the property names.  These were too long for me. In the editor shown below, to change the column header, simply click in the column name and change it.  The property remains the same, but this is how it will show up on your drawings.

Revision Table Settings in Inventor Styles Manager

Column Chooser Dialog Box


Once all of the columns are selected, set the width of each and set anything else on the page that you want to; fonts, title etc.  After you have modified they style to your heart's content, make certain that you add it to your Object Defaults.  This step tells Inventor which available style to use for almost everything in your drawings.

Object Defaults Editor

So now the new revision table style is created and set as the default in your drawing template file.  Don't forget to save at this point!  If you have multiple templates and want to add this style to all of them, you can export the completed style to a .xml file.  Right click on the style and select Export, then point it to a location where you can find it later.  Then, in your next template file, go to Revision Table and hit the Import button at the bottom of the dialog screen.

This is more of the mundane business side of setting this up.  For the truly cool part... you have to refer back to Part 1 of this series, where I detailed the ilogic rule that controls the revision table's behavior.  Now, after editing the Item in Vault, I run that ilogic rule to lock in any existing rows on my revision table and create a new one.  Then using Update Properties, it magically fills itself in with the current revision information that matches the Item in Vault.

Part 3 and or 4 of this series will go over the creation of the revision tables for Autodesk ® Autocad and Autodesk ® Autocad Electrical.

Enjoy!

“Autodesk® screen shots reprinted with the permission of Autodesk, Inc.  Autodesk ® , AutoCAD ® , DWG, the DWG logo, Vault®, Autocad Electrical® and Inventor® are registered trademarks or trademarks of Autodesk, Inc., and/or its subsidiaries and/or affiliates in the USA and other countries.”







5 comments:

  1. Hi Chris

    Thanks for sharing the info. I am interested in finding out how you mapped the Vault system property REVISION (file, item or both) and which direction.
    Also did you map a UDP for Rev Number only for visually seeing that the property values is (not for editing)?
    If yes how did you map the UDP?

    Thanks
    Max B

    ReplyDelete
    Replies
    1. Hi Max. I am away from the office this morning due to a major snow storm. As soon as I am able to get in I will be happy to address your questions. Hang in there! Thanks.

      Delete
    2. Hey Max, made it to the office finally. Vault system property "Revision" is mapped in my setup From Item to the CAD File. In the case of Autocad and Inventor I have it mapping to both the standard property as well as a custom property that I use for my revision tables. The UDP I have is called Revision Level. (I may have made some changes since I wrote this post). The UDP is mapped from CAD File to Vault File, and is set to "Create" if it does not already exist. What happens then is I revise the Item and that revision gets pushed down to the CAD FIle. When I update properties on the CAD File that UDP is created or updated. Then when I check back in, the File side in Vault shows that UDP as matching the Item Revision. This is only for a visual reference, I do nothing with Revisions on the File side any more. Most of the time I don't even pay any attention to them. I hope this helped!

      Delete
  2. Hi Chris
    Thanks for the reply. It does help. This is how I have always mapped it but for some reason in 2014, some weird stuff is happening where if the UDP value is set to say E and ITEM has a REVISION of A, I would expect it to show up as non compliant but it does not.

    I suspect a bug here. It has worked in the past in 2012 and 2013 but stopped working in 2014.

    I am also becoming more convinced that trying to use/map REVISION that suits both FILES and ITEMS workflows does not work very well and results are very un-reliable

    Cheers
    Max

    ReplyDelete
  3. Hi Chris

    The commpliance checking on ITEMS seems broken. I have a word document I wanted to share showing the mapping and the issue but not sure how to add it here. Let me know if I can and I will upload it

    Max

    ReplyDelete