AutoCAD Inventor :: Updating Custom Table Sources
Sep 5, 2013
updating the source of a custom table in a drawing. I wrote a design copy rule that takes a template "module" and saves all the files off into the customer's project folder. This latest module has an orientation chart that details the location of key features and is displayed on the drawing. We're driving the chart using an external excel file. I can get the reference in the assembly to update with no problem by just telling the driving rule to look for an excel with matching project and assembly numbers in the same folder as the assembly.
However, when I try and update the reference in the drawing, I can get the "3rd Party" link to change, but it doesn't change the actual link in the table. Here's a pic of the tree and my part of the current code. How can I make it update the actual link?
TryDim oSht As Sheet = oDwgDoc.Sheets.Item(1)Dim oChart As CustomTable = oSht.CustomTables.Item(1) MsgBox(oChart.Title)Dim oChartDesc As FileDescriptor = oChart.ReferencedDocumentDescriptorchartDocName = oDwgDoc.ReferencedDocumentDescriptors.Item(1).FullDocumentNameIf chartDocName.Contains("OrientationChart") ThenMsgBox("The dude contains")End If orientChartName = Left(iProperties.Value("Custom", "OldName"),
[code]....
View 1 Replies
ADVERTISEMENT
Sep 29, 2011
I use a style library. Have it in a read-only mode in the ipj file. My drawing created a new template with a rev table with required columns.
Now, I create a new drawing file and choose this template. add few views, insert a rev table. The rev table columns headings are the same as in the template. But the column widths aren't same as in the template.
I use manage->update. It warns me that the drawing would be matched as per the style library. I agree & OK.
No use, the columns are not same size? Though the style is read only from the drawing, I go to open the style editor to check the column widths. They are different from the template.
View 8 Replies
View Related
Oct 2, 2012
I noticed some errors in certain table entries in an i Feature of mine after I had already started creating parts using it. I've updated the table and when I add new instances of the feature to my part they work fine, but the existing instances of it stay the same size. Is there any way to force the existing instances to update?
The i Feature in question is a sketch and I'm using Inventor 2012, if either of those is relevant.
View 2 Replies
View Related
Mar 26, 2013
When inserting a Content Center part into an assembly as a custom part instead of as a standard one, then opening and modifying the part, the thumbnail for the new file is not updating to show the modifications. In this particular instance: a pipe blind flange with an off-center hole drilled through the face. The thumbnail still shows as the original (and fairly pixelated) CC blind flange. forcing the thumbnail to update?
View 4 Replies
View Related
Nov 19, 2012
I'm using Inventor 2011 and when I go to change parameters using iLogic in an assembly model, (sometimes it is a component suppression, other times it is an iPart component change) it won't update the associated drawing file. I need to go into the BOM on the drawing and renumber the balloons, or change something else in order for the custom iProperties to update in the drawing template. If I just change the iPart component, then the BOM doesn't need to update making the renumbering of balloons redundant.
I'm using iLogic to update all of the iProperties and component references, then reattach balloons. What I would like to do is automatically update the custom iProperties drawing template fields, and renumber the drawing BOM.
View 2 Replies
View Related
Jul 21, 2008
The API doesn't appear to provide the ability to turn visibility off on a custom table row. Is there anyway to turn off the visibility of a row?
Auto desk: do you have plans on adding this functionality to the API?
View 4 Replies
View Related
Sep 24, 2012
We are doing tank drawings and the company now wants a custom format/style of table (attached as jpg) to be on all the drawings (which are complete already) which will be the cleanest way to get a table like that. I tried making something in Excel and inserting as a Gen. Table, but each of the cell borders show up.
Would I just do a sketch and insert text boxes where necessary?
View 5 Replies
View Related
Feb 6, 2012
I would like to know if there is a way to suppress size in a custom table for frame members. So far, I've copied the ANSI hss square tube library to another name and it is not linked to the previous family. What I need to do is make only certain size of these tubes available and the only way I found was to delete them. The things is I don't want to delete them because I may need them in the future. Also, when I have different materials in that table they appear as 2 diferent size in the frame generator insertion window. For example, if I have in my table a 2x2x1/8 tubing 1 in aluminum and the other in steel, I will have 2x2x1/8 X2 in the size selection window.
View 6 Replies
View Related
Jun 25, 2012
I am creating a standalone .exe with VB.net that opens an Inventor .idw and creates a few custom tables. I want one of the tables to have no border at all.
So far I have tried:
Dim oFormat As TableFormat oFormat = oInvSheet.CustomTables.CreateTableFormat oFormat.InsideLineWeight = 0 oFormat.OutsideLineWeight = 0 oCustomTable_Hardware.OverrideFormat = oFormat
But that does not hide the border lines.
I've found no similar code to try out that dealt with table borders or that sort.
View 2 Replies
View Related
Aug 13, 2012
I am looking for assitance with the VB code to change the text style within a custom table when it is created from a VB standalone program. I am using Inventor 2013 and VB 2010 Express.
I have a customtable that is created within a .idw, and I would like to have the data cells set to "Table_Cells" style that I have created. I cannot find anything in the help file with a sample code to build off.
I figure it's got to be something with oCustomTable.DataTextStyle but beyond that I am lost.This is what I have, and VB is kicking it back in my face.
Dim oTextStyle As TextStyleoTextStyle = oCustomTable.DataTextStyle.StyleType("Table_Cells")
Error 2 'Public ReadOnly Property StyleType As Inventor.StyleTypeEnum' has no parameters and its return type cannot be indexed.
View 3 Replies
View Related
Jun 18, 2012
I am creating a custom table in a .idw through VB. I was looking for the code that would tell it to make a column have units formattng. For example, instead of my thickness to be 0.5, I want it to show 1/2 in. I know you can do this manually in the table editor, but I cannot find any bits of code that will do it in VB automatically.
View 1 Replies
View Related
Mar 11, 2013
I tried Curtis Waguespack's iLogic: Export Parts List with Options, and it works great on Part Lists. I'd like to do the same thing on a custom table, but I don't know what needs to be changed.
View 3 Replies
View Related
Sep 20, 2012
I am using VB.net to generate a custom table in my .idw files to make a plot stamp. The table is showing up, however, the text is garbled. When you open the .idw, the table properties show the text correctly but the display is coming out messed up. I have attached a picture of what each looks like. I moved the table off the sheet for clarity.
The
Public Sub PlotStamp()
Dim oDrawDoc As DrawingDocument
oDrawDoc = _invApp.ActiveDocument
Dim oInvSheet As Sheet
oInvSheet = oDrawDoc.ActiveSheet
Dim oTitles_Plot(0) As String
oTitles_Plot(0) = CurrentFilename
[Code]...
View 2 Replies
View Related
Nov 2, 2011
I need to insert a table on one of my Inventor drawings, however, it will vary in size (Fixed colums, variable number of rows). I have searched the forum and found this snippet of code to add a 2x20 table.
Sub Main()Dim oDrawDoc As DrawingDocumentoDrawDoc = ThisApplication.ActiveDocumentDim oSheet As SheetoSheet = oDrawDoc.ActiveSheet' Set the column titlesDim oTitles() As String = {"Member","Pos. From Datum A"}Dim oPoint As Point2doPoint = ThisApplication.TransientGeometry.CreatePoint2d(1, 28.7)' Create the custom tableDim oCustomTable As CustomTableoCustomTable = oSheet.CustomTables.Add("Infill Spacing", oPoint, 2, 20, oTitles)End Sub
The Problem
I now need to be able to do two things:
1. Delete all custom tables that may be on the drawing ( I may have more than 1 custom table on the drawing)
2. Access the individual rows and colums in a specific table so I can write a variable into them.
I have searched high and low for the API commands, but cant seem to find them.
View 5 Replies
View Related
Sep 6, 2012
When you make a custom table in VB.net, adding in the Row Height property in the custom table create line only changes the data cell row heights, not the title cells or the header cell. How do yo do set the title/header cell row heights ?
Dim oRowHeights_FS(11) As DoubleoRowHeights_FS(0) = 0.6oRowHeights_FS(1) = 0.6oRowHeights_FS(2) = 0.6oRowHeights_FS(3) = 0.6oRowHeights_FS(4) = 0.6oRowHeights_FS(5) = 0.6oRowHeights_FS(6) = 0.6oRowHeights_FS(7) = 0.6oRowHeights_FS(8) = 0.6oRowHeights_FS(9) = 0.6oRowHeights_FS(10) = 0.6oRowHeights_FS(11) = 0.6Dim position_FrameShear As Point2d = _invApp.TransientGeometry.CreatePoint2d((oInvSheet.Border.RangeBox.MinPoint.X + 16), (oInvSheet.Border.RangeBox.MaxPoint.Y))Dim oCustomTable_FrameShear As CustomTableoCustomTable_FrameShear = oInvSheet.CustomTables.Add(vValue_FrameType & " " & vValue_Hand & " Frame Shear List", position_FrameShear, 6, 12, oTitles_FrameShear, oContents_FrameShear, oColumnWidths_FrameShear, oRowHeights_FS)
View 2 Replies
View Related
Sep 3, 2013
When I place a custom ipart (a simple one in this case) the length in my table changes
Inventor Professional 2014.
Windows 7 64 bit.
View 2 Replies
View Related
Nov 20, 2011
I have created the Custom library of ISO bolts by adding the Material to existing ISO library using the Material Guide.
The goal is to make bolts black and anodized to be more specific with purchase orders from very beginning.
After the adding the material everything is working good except the auto drop. There is a wide Table pop ups with a lot of unnecessary info.
Is it possible to choose the columns to represent there? I mean leave just Material or Part Number ?
[URL] ........
View 2 Replies
View Related
Feb 21, 2012
In a simple case I have an extrusion with some attached seals/weather stripping, all implemented as iParts having their own LENGTH parameters.
RailPart.ipt, Seal_A.ipt, Seal_B.ipt
The goal is to encapsulate these IParts within an iAssembly: RailAssy.iam, where a LENGTH parameter can be input when the iAssembly is placed, causing RailPart and Seal_A to have their length parameters set to the LENGTH provided at that time and SEAL_B having Length set by an iLogic rule to LENGTH - 5.
I've been unable to set up a Custom Parameter Column in an iAssembly table. Is this even permitted?
Inventor Premium 2012 SP1
View 5 Replies
View Related
Mar 24, 2012
I'm attempting to create a table within autocad that I can update as I add new things to my drawing.
I have a ton of dblocks that carry attributes with them, and I want to be able to have the table in autocad populate with the information from each insertion.
The table in autocad will be linked to an excel spreadsheet that should also be updated (either as a separate action or automatically... not sure what would be better).
The table in excel will go through a system of formula that will divide it up into useable groups for me. How do I update a table within Autocad, instead of having to create a new table every time I want to add data to the extraction information?
View 1 Replies
View Related
Sep 11, 2013
I inserted a table from excel to autocad with copy-edit/paste special/paste link / Microsoft excel worksheet(code) and everything seems to work nice until I closed the excel. After that no automatic updates to cad files.
PS: I checked the properties of the excel table and it is linked.
View 4 Replies
View Related
Dec 2, 2013
I have a set of drawings with a large number of sheets. I need to do a mass edit of the properties for each sheet (for example update the revision number, date, checked/design/approved/drafting initials, description). The updated properties are largely similiar.
Is it necessary to update each sheet's custom properties individually, or is there an easier method?
View 2 Replies
View Related
Sep 4, 2012
We use a number of blocks with block tables for data extraction here, and whenever one of the blocks is modified and updated, all of the block tables reset to the default value. This happens for any block reference change, not just changes to the block table (which makes sense that it would reset).
How can we update these blocks without having to manually change all of the block tables afterwards?
View 2 Replies
View Related
Mar 15, 2012
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.
View 1 Replies
View Related
Oct 16, 2013
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.
View 3 Replies
View Related
Jan 17, 2014
I have a big custom swatch library that I'm continually making additions and corrections to. I have it set as persistent, and the library works fine, but it doesn't update when I make changes to it. As far as I can tell, it's still stuck at the point where I upgraded to CC a few months ago. I've tried unchecking persistent, closing the library and Illustrator, then reopening and reinstalling the library, and it's still reverting to the old version.
View 2 Replies
View Related
Sep 29, 2012
Can we produce a Horizontal curve table like the attachment Table 1 and i have another queries could Civil 3d Produce a table like the attachment Table 2 i know i can get this table by lisp or macros.
View 2 Replies
View Related
Aug 19, 2008
i have created a table style and saved it within a drawing, how would i go about adding this style to a tool palette?
View 4 Replies
View Related
May 2, 2011
Is there any way to print a custom color table without having to either spend $500+ on a plugin or having to draw each color and label by hand?
I regularly create color tables from images, convert to .aco or PS color palettes. Lately I have needed larger palettes and the process of creating these by hand is grueling.
View 3 Replies
View Related
Feb 21, 2013
When inserting a content center part for which we have to choose a material, we would like to have a custom material as a default (material with name: "No material selected"). So when selecting no material for this part (for example when the user forgets to select a specific material), the default material (in this case material "No material selected") will be active. In this way, we can see in one view across the BOM which parts have no material assigned yet.
How can this be achieved in the content center (editor)?
Product Design Suite 2014
Inventor 2014, Vault 2014
HP Workstation Z220
Intel Xeon 3.4GHz
16GB RAM
Nvidia Quadro 4000
Windows 7 Professional (64bit)
View 2 Replies
View Related
May 16, 2013
When using Inventor with Vault, we have a problem when categorizing custom content center parts in Vault. In short, custom content center parts are incorrectly categorized as "Content Center" and automatically released - as there is no property that we can use to identify these files.
I need iLogic code to trigger when custom content center files are created/saved, wich adds the following custom iproperty "IsCustomContentCenter=True".
View 1 Replies
View Related
Apr 4, 2013
I am trying to create custom Materials in Inventor 2013. I have been able to create the custom appearances I want use on the materials and store them in the Inventor Materials Library.
After creating the custom appearance, Ive created new materials. When I try to change to new material appearance from default to my custom appearance, upon hitting the 'apply' button I get an error message which reads, 'failed to updated style'.
View 1 Replies
View Related