AutoCAD Inventor :: Delete A IPart Table Row Programmatically
May 17, 2012
In ipart there is an option to add and delete rows when working with inventor graphically.I have displayed the iPart table and the values in gridview using VB.Net.
The user then selects the row in datagridview and clicks the button delete.When the button onclick even is triggered i want to delete the selected row on ipart table inside inventor.
Is it possible to add a Appearance tab to a Ipart table? I am cataloging a set of parts and one part is made with steel but in Gloss - Black and Matte - Black and i'd like to differentiate the 2 without haveing to make 2 seperate Ipart files.
Having this issue with IE9? I have a table driven iPart that has an expression in the description field. The expression is =PL <THICK> x <WIDTH>, so that as the thickness and width change the description of this plate also changes. I have recently added rows to this part for the use of bar instead of plate on certain shapes. In order for the bar description to match standard steel shape nomenclature the expression on these parts needs to be =BAR <WIDTH> x <THICK>. How can I add the description to the iPart table so that I can simply edit the bar parts to be as needed?
Some things to note:
1.) These are custom iParts so when the item is inserted you select the thickness, file name, save location, etc.
2.) There are about 705 lines to this iPart right now and I would prefer not to go higher.
3.) I would like to keep these as the same iPart instead of having two different files.
4.) I need the description to be an expression because long after these parts are placed, they sometimes change and I need the dimensions to update after the fact like all our other parts (so don't forget that these one won't and then the drawings are incorrect).
Inventor Professional 2013 (SP-2.3), Product Design Suite Ultimate Desktop: Intel Core i7 3.4GHz, 16.0 GB RAM, Windows 7 Ultimate SP-1, 64-bit OS, (2) GeForce GTX 580 (331.81), Space Pilot Pro (3.16.1) Laptop: Intel Core i7 3.9GHz, 16.0 GB RAM, Windows 7 Pro SP-1, 64-bit OS, GeForce GTX 780 (331.81), SpaceNavigator (3.17.7)
The question I want to ask is about reference dimensions in iPart.
I can create a sketch and place reference dimensions on it, there's no problem. I can activate any configuration manually and see the reference dimensions adjusted according to configuration, no problem again.
I would like to know — is it possible to automatically populate column of the iPart table with reference dimension value, as it stands for each configuration?
I was able to find some solution for that, but it's not automatic. I can mark reference dimension of export, and add it as a column to the table, but I need to manually activate each configuration to populate the column with measured reference value. Not very good, because there can be very many configurations.
How to automatically get complete list of reference dimensions values for each configuration of the iPart?
Is there is any way to re-arrange the columns in my ipart table without having to delete all of my parameters and then adding them back in the order that I want them to appear in? I would like certain information grouped together instead of having to scroll back and forth across the row to edit certain parameters.
I have created an iPart which uses the Hole Feature (counterbore hole). The hole is not threaded. Is there a way to put the Hole Feature into the iPart table so when a user enters specific values, he/she could type in or select a bolt size and the counter bore hole feature will use the correct dimensions for said bolt size (ie. I would like the counterbore holes for an M6 Socket Head Cap Screw. So instead of typing in the counterbore hole diameter, depth, and bolt diameter, etc... it would automatically enter the default values.) Or is this something that must use iLogic?
I’m currently running Inventor 2010. Is there a way I can override the calculated physical mass and drive the mass value with a column in the ipart table?
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.
I have an IPart with about 100 instances in it that is sheet metal. I created a user parameter for the gauge of the sheet metal relating to the thickness and that works fine in the ipart. My dilema is how to get the gauge to show up in my drawing in the general table. Pretty much I woud like the table to list part number, material and then have a column for the gauge of the steel related to the thickness in the Ipart table. I am using Inventor 2011 if that makes a difference.
I have an iPart in which I want to change the File Name Column from "Member" to "Part Number". These columns are not the same and makes the filenames for the members different when generated.
The challenge is that I already have about 100 members generated and used in different assemblies. I want these to be replaced by the new files and be deleted.
If I change the File Name Column I will get 100 new files (ipart members) that is not used anywhere. The only way I know of to replace the 100 "old" members is to do this in Vault - one by one..
Basically I need to have 2 configurations of an assembly. These assemblies are identical except there is one part that will vary within them. Eventually I would like to be able to drive an assembly with multiple part configurations and suppressing and unsuppressing of parts from a table however this is my starting spot.
I have an iPart that I have created parameters to perform some basic calcs so the values will show up on every member. The parameters are correct for the different member so it appears to be working correctly on the model side. For example I have a parameter called 'CutLength' that performs simple math functions. But when I make the table on the drawing and I include this parameter, I see the formula in the table instead of the value. Is there a way I can have it display the value instead of the equation?
I have an ipart that will has the length and a quantity of patterned features controlled by a table. I've created a work plane that I'll be using when I take this part into an iassembly. The problem is that the features I used to create this work plane (midplane between two parallel planes) do not exist in (2) of the (3) members...so it gives me an error message. I've tried adding the work plane to the table, but 'exclude' isn't a drop-down (and typing it in doesn't work). How to make the work plane "inactive" for those particular members?
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?
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
Is there a way to delete a Table style? I opened the Table Style dialogue box, selected a style and right clicked. There is a choice to delete but it is not selectable, it is dimmed.
I created a link to an Excel file to create a table. Before I ETransmit the AutoCAD file (along with many other files) I want to remove the link so that the table is embedded with no need for the external file. When I have somebody who doesn't have the linked file on their machine open the file they get a "missing external file" message" despite the fact that I ran the detach data link command and have purge selected in the ETransmit setup. The table shows up with the data, but I want to eliminate the nag pop up about the missing file. I know you can click the ignore button, but I don't want our customer to have to bother with it.
Any way to save a list of files for ETransmit like you do in a .dsd file for batch plotting?
I'm trying to add rows above rows in the middle of a table. The options under Rows are all grey/not available. The last row will allow me to add a row below and the top row will allow me to add a row above. I'm unable to Delete rows, too. The table is not listed as locked or anything. Aside from retyping the table, is there something I need to do to be able to edit the table?