AutoCAD Inventor :: Revision Table Not Update By VBA?
Dec 3, 2012
I tried to add a revision table by vba routie. useing fllowing code
Dim oRevStyle As RevisionTableStyle
Set oRevStyle = oDoc.StylesManager.RevisionTableStyles.Item("Revision Table_NEW")
Dim oRevTable As RevisionTable
Set oRevTable = oDoc.ActiveSheet.RevisionTables.Add2(oPoint, , , , , oRevStyle)
It adds revision table is not shown correct in the drawing. I have to manually select certain style in the drawing.
I try doc.update or view.update. it doesnt work.
Autodesk Inventor Professional 2014
Autodesk Product Design Suite Standard 2013
Microsoft Office 2007 & 2013
Windows 7 64bit
Synergis Adept 2013
Visual Studio Express 2010
I'm simply trying to delete the revision table if it exists on a drawing. I did find where you can't do anything with Rev Tags with the API, but what about the Actual Revision Table?
Trying to get this to work;
If iProperties.Value("Project", "Revision Number")>0Dim oRevTable as RevisionTableoRevTable = ActiveSheet.Sheet.RevisionTable.Item(1) oRevTable = nullRevisionTable
I 'd like to keep the old Revision table rows available , but off the sheet rather than delete all the rows & start from , let's say, Rev 10.Is this possible in 2012?
I have never attempted any i-logic before and this may be running before I can walk, but I was wondering if this premise even sounded do-able. I would like to create a rule to set the last row of my revision table to all static values, and then add a row.
is it possible to do an individual revision table for multiple sheet drawings. if you typed in description 'sheet 3 nut changed from m3 to m5......etc' then all the bunf would carry over to every sheet
Just created a 2nd drawing sheet in my IDW, and when i place a revision table it is missing most of the data that is shown on sheet 1. All i get are the description column entries, nothing else.
I have a situation where I just created brand new drawing templates and they have the revision block inthem already. The revision block that comes with Inventor. The vault is driving the revision in the titleblock and when the revision is placed in the revision block it too is linked to the vault. When the drawing is checked into the vault and the lifecycle is changed to "Released" and then back to "WIP" the revision updates. Both in the titleblock (which I want) and in the revision block which I don't want. Not only is it change the revision block, but the last revision posted as per the image below.
how do I change the property in the settings of the title block to not get it's revision from the vault or allow it to be manually driven?
is there a way to set the justification to left in the revision table justification? I've tried playing with the formats and I can't get it to do anything but be centred.
I am trying to insert "Depth", "Counterbore", etc. Symbols in a revision table, but can't find ALT + XXXX for them. I did find the symbols in the Windows character map in AIGDT font group and they have Character codes but no ALT + codes? How to insert these symbols in a rev table?
When we insert a Revision Table to a drawing we have the option to update Revision Number property in the drawing. This property is updated whenever we add a Revision Row.
I want Inventor to update the Revision Number property in the model the same way.
If this is not possible, is there a way to automatically map the Revision Number property in the drawing to the Revision Number property in the model?
Is there a way to pin or standardize where a revision table is located in a drawing?
I have a title-block set up and would like a revision table either embedded or populated upon command, just above my title-block. It would also need to extend upward with additional revisions...
a customer has a title block with a revision table ( standard vault revision table) add on top of it.
If you change the sheet size the revision table remains his position.
If found the way to reposition the table with a ilogic rule.:
'point afstand in cm PointX=(ActiveSheet.Width/10)-13 PointY=5.5 'punt vanaf rechtonder gemeten in cm
[Code]....
This is working perfectly. But now the challange how to trigger this rule to run if you change the sheet size?
if tried:
trigger=Activesheet.size
or
to create a userparameter and added this line in my rule : Size=ActiveSheet.size, normaly is you change parameters it triggers the rule to rule. but both way didn't work.
Can event triggers from the API be used? Do i need the "Onchange" event? Any example for a ilogic rule?
I have a rule in the .idw drawing template, that displays a dialog box asking for the size (A, B, C, D...). Once the size is selected, it displays the appropriate border and title block. There is a small & large title block, so an A or B size gets the small, and a C or larger gets the large. This works great.
My question is, how can I have the appropriately sized Revision Table (small or large), automatically ready for use, based on the drawing size? The (2) Revision Tables are defined in the Styles library.
Product Design Suite Ultimate 2014 | Vault Basic 2014 (SP1) Dell Precision M6600 | Intel i7-2820QM - 16GB nVIDIA Quadro 4000M | Windows 7/64 Pro
I am trying to create some new templates for 2013 and I'm trying to figure a way to get the model revision number to populate into the drawing's iproperty revision number so that they will match upon save. I'm trying to do this by creating an ilogic rule but I don't see a system property in the idw that will allow me to access the 3D model iprops. I am going to Event Trigger the rule to run Before Save. Is this possible?
On the drawing border I have created a formatted text box that is built as:
Type: Properties - Model Property: Revision Number
It simply pulls the data from the models revision number and populates the text box. I need this same thing to happen but rather than populate into a text box I need it to populate into the drawings revision number iprop.
I have two tables on a drawing one showing a parts list the other changes to dimensions.
The table to show the dimension changes is a configuration table pointing to an ipart.
iLogic is used to update the ipart but you have to right click to update the Active Member in the ipart to see the drawing update.
Is there a way to automate the 'update active member'? (on the ipart table - this does update the drawing)
I just have the one row in the table, it's purpose was to pass the values onto the drawing (as the part resizes I didn't want the dimensions moving so opted to tabulate them) - hoping they would update!
or
Is there a way to have a table update parametrically i.e. I've tried .csv as a source to the table but can't force an update. This way I could scrap the ipart & just import the values to a table.
The table also includes some txt comments which change with the ipart properties.
ideas on Drawing Revision Table / Record on Title Blocks that they would share?We are re-designing our Title Blocks and I was wondering if there was a different or better way of doing this, besides a static block with attributes.
The angle or radius are outside the table boundaries. I have used bend tables before and have not run into this. See screenshot. What I don't understand is that in the error dialog box the Thickness is correct the Radii are correct and the Angle is correct except it is showing a -90 degrees. Is that the problem? The negetive? Why is it showing a negative number. I can't change the way the part is formed. The problem seems to be with the lower left hand curl. It does go ahead and flatten it, but I don't trust the results when I have the three errors.
I have a part where I have placed a number of table driven iFeatures. These features generate parameters in the model that I can see in the parameter table. I am trying to find a way to have these iFeature parameters show up in the hole table in my drawing.
By 'exporting' the parameters, I have been able to get the values to show in notes and drawing view labels but I can't find a way to add them as a 'New Property' in my hole table.
I have three rules in our stamp to the revision date and revision number to fill in.
Along our project number should include the revision letter stand out with the latest date.
Now I would like to see if the date entered by the revision number and revision letter that the letter therefore become filled in along the project number.
If the next date is fill in with the letter, that letter must be completed along the project number The dates and letters are "Prompted Entry" or do i need other properties.
Can this be done with iLogic?
Youre drawings are as good as the symbols that compleet them.....
We revise multiple items on a drawing at the same time. When we do this we add a number next to the revision letter to reference in the revision block. For example if we are on rev B and we revise 3 items we would need tags that say B1, B2, B3. We can edit the tags to reflect this, but I was wondering if there is any way to get the tags to do this automatically without using code.
I made a change to my materials library. I changed the color (from dark grey to light grey) of one material. I then saved this back to my library.
Now, when I start a new part, I get a warning that the material does not match the library. So, rather than using the material in the part, I opened the template and updated the material to match the library. (Manage >Update Styles).
This is where the problems come into play. In the update styles dialog, if I compare materials against my custom materials and then compare it to my Favorites, it just a continuious circle. It is like the favorites are stored inside the part and do not get updated to match the custom materials library. (I thought the whole idea behind using a library was to get the information out of the parts).
Here is a short video showing what it does. [URL] .....
The only way I can get the favorites to match is to delete the favorite material, update the style and the add the favorite back in. That is a bunch of work. The problem I got with this is that there are thousands of parts that have been created that has this favorite in it. The only way to update these is to open each part (if I knew which one), delete the favorite, update the materials and then add the favorite back in.
I have a question about the revision tag. It's seam that we can not change the size of the balloon or Triangle. But we can use a user symbol. But we can make this choice only after placing the tag. see picture.
My question is : It is possible to make this choice in the stylelibrary ?
I'm trying to write a routine to work with a non vault revision table. I'm working with Vb .net & Inventor 2012. I am working with sheet scope tables.
From the inventor dialogue box there are two commands to add rows to the table.The insert row command. Which inserts a row in the table.
The add row command which inserts a row set the sheet revision property & sets the new row active.
I have tried to insert a new row with the following code & make it active but this does not work. Is is possible to create a new active row through the api? The new row gets added but cannot get the new row to become the active row.
dim new_row as RevisionTableRow
new_row = revtable.RevisionTableRows.AddCustom(table_length -blank_rows) ' This works as expected.
I'm looking at a way to reduce the size of the revision tag in inventor, cause its size doesnt fit in our drawings, we have the habit to put as much info as possible on the sheets but when we get a revision the tag is too big..
Is this possible?
Currently using Inventor2012 & soon will be using 2013
I create all of the shop drawings for our company and I'm trying to find out the best way to track revised drawings. A lot of times I create a drawing and there are several revisions. The shop works off of a high res. pdf I print for them and we also have a signed version from the customer. Once in a while the shop gets their hands on an earlier revision and builds from it. The signed version from the customer is crappy at best and sometimes faxed so working from it is useless.
I have a space where I can manually enter the REVISION # on the drawing but sometimes I forget to update it. If I use an automated timestamp <timestamp> for the drawing with date and time (I've seen this done) or some iLogic code, would this show when the document is printed, opened or saved?