AutoCAD Inventor :: How To Make Macro That Adds Vendor Column To End Of A Parts List
Sep 10, 2008
I am trying to make a macro that adds the vendor column to the end of a parts list, sort by it first, then by part number, renumber the parts list, then save the overrides to the BOM. Everything works great except for saving the overrides to the BOM. The item number sort order gets jumbled back up. I am using Inventor 2008 Pro SP2. Below is the
Public Sub SortPartsList()
Dim oDoc As DrawingDocument
Set oDoc = ThisApplication.ActiveDocument
Dim oPartsList As PartsList
Set oPartsList = oDoc.ActiveSheet.PartsLists.Item(1)
Dim oPropsets As PropertySets
[Code]...
View 5 Replies
ADVERTISEMENT
Aug 30, 2013
I need to create a column in a partslist that reads IDENTIFYING NO. instead of the factory PART NUMBER title. When i create the new property in the column chooser dialog box how do i get inventor to pull the PART NUMBER from iprops over to the IDENTIFYING NO. column.
View 4 Replies
View Related
Apr 13, 2010
I have a parts list, with a column, that the description in the column heading is longer than the width of the column. I would prefer not making the column wider, so is there a way to increase the row height of the heading, and wrap the text?
View 9 Replies
View Related
Oct 30, 2012
I am trying to generate a parts list that will contain a stock number from the BOM.
When I go to customize my parts list I cannot add a stock number as it's not on the list of properties available.
Is there any chance to add other properties? (i am aware that I can add a custom property but it won't be linked to my BOM.
View 2 Replies
View Related
Mar 5, 2013
I'm trying to create an iLogic rule that will print a text string to a cell or column of a parts list in inventor.My code so far...
Sub Main()
On Error Resume Next
Dim oDrawDoc As DrawingDocument
oDrawDoc = ThisApplication.ActiveDocument
[code]...
I want to print what is in the MessageBox into a cell in the parts list, and i am stumped.The cell i am trying to print to is a custom property in the Parts List.
View 3 Replies
View Related
Nov 19, 2011
I'm using Autodesk Inventor 2012 SP1 64 Bit on a Windows 7 machine without vault.
I seem to be missing something. I cannot get the parts list in assembly drawing to fill the part number column. See the image below.
The BOM has the part number field filled out as shown below. Is there someway that I need to map the iProperty to the part number column in parts list?
View 6 Replies
View Related
Oct 19, 2011
I have a macro that I acquired somewhere (possibly these boards, can't remember now) for placing a parts list. I have modified it somewhat to change the location on the sheet where the list gets placed, as well as a sub that starts the autoballoon command afterward.
The macro is set up to place the parts list in the upper left corner, by adding the parts list width to the Mini Point of the border. This works perfectly well, except that we have two parts list styles, and they are differently sized.
What I would like to do is have the macro detect the parts list style, and change the offset value depending on which style it finds. I am an extreme novice with the API, who basically knows just enough to tweak sample code a bit, and have not been able to find anything close enough to use as an example.
How I should go about this, or even post some samples of something similar? Current code is shown below.
Public Sub CreatePartsList() On Error Resume Next ' Set a reference to the drawing document. ' This assumes a drawing document is active. Dim oDrawDoc As DrawingDocument Set oDrawDoc = ThisApplication.ActiveDocument 'Set a reference to the active sheet. Dim oSheet As Sheet Set oSheet = oDrawDoc.ActiveSheet ' Set a reference to the first drawing view on ' the sheet. This assumes the first drawing ' view on the sheet is not a draft view. Dim oDrawingView As DrawingView Set oDrawingView = [code].......
The macro does not have to set the parts list style - that is controlled by the drawing Standard. It just needs to detect what it is, and place the list accordingly.
View 7 Replies
View Related
Aug 21, 2013
After I wrap a parts list. Can I make them independent?
I would like to move each of them around.
View 1 Replies
View Related
Mar 13, 2013
I'm trying to make a few assemblies inseparable for a parts list in a Drawing, but I can't seem to make it work.
I know I have to do this in the Bill of Materials menu, but for some reason the part I want to make inseparable is greyed out whiles the one that is just one part isn't.
My only option right now is to make it a weldment which works but not ideal, because now the material isn't correct.
I'm trying this on the 099.03.00.097 assembly in the picture.
View 1 Replies
View Related
Jul 18, 2013
trying to make some pdf files from vendor drawing using vendor ctb file, i have placed the ctb file on my c drive, in every directory that contains ctb's, but it is still not showing in autocad
View 6 Replies
View Related
Mar 30, 2012
On the main sheet of my drawing I have the overall Parts List. Shows almost all parts except for the few that we don't want to list. On the second sheet I inserted a Parts List to show only parts that are shown in a detail on that page, made the rest non-visible.
On the main sheet there is an item (#13) that has a QTY of 3. Two of those Three are optional parts. What I'm trying to do is insert a custom part into the Parts List, give it an item number of 13A and put in the description "OPTIONAL", then do an Override in the balloon to show 13A.
I get it in the Parts List, Apply it, close it, save the drawing. Looking at the Parts List, item #13A is there, but item #14 is gone. I go back into the Parts List and 13A is there and there's a blue box around the item # and the description. I uncheck Static Value and number 14 shows up (item # and the description).
Then I go over to sheet two, open that Parts List and it lists 13A at the bottom with all the info I added in sheet one and it's non-visible. Go back to sheet one, open the Parts List and there is no 13A to be found.
View 9 Replies
View Related
Aug 21, 2012
My parts list on my idw do not update when I make changes to the model. Specifically, I have deleted a bolted connection on my design and replaced with a different components but the parts list table does not update - all I see is a lightning bolt in the browser next to the parts list but I cannot update it here.
Autodesk Inventor Professional 2013 SP2 64-Bit Edition
Windows 7 HP Z400, Intel Xeon W3550 3.07GHz
12.0GB RAM, ATI FirePro V4800 (FireGL)
View 2 Replies
View Related
Aug 7, 2013
I was using virtual parts to add nuts and bolts to a drawing in 2013
I can make a VP bolt in the assembly, no problem, set it's size, weight, etc.
In the VP itself, there is no option for number of bolts I want it to emulate. For arguement's sake the weight was 1 pound per bolt (they are big bolts).
I can go into the BOM and say quantity 60, hit done and save the assembly.
If i open the drawing, the parts lists shows 60lbs for the 60 bolts total - which it should when summing the weight.
The problem is the BOM/assembly. If the weight of my assembly (without bolts) is 10,000lbs, the assembly sees the VP weighing 1lb and says the total weight is 10,001 lbs. Am i going to have to pattern a fake part to get this to work right? Shouldn't the total weight take into account the quantity set in the Bom??
View 2 Replies
View Related
Dec 9, 2013
Is there a way to display the density of materials that are assigned to varius parts in the parts list on a drawing? I don't need the mass of the parts I just need the material density to show up next to their respective parts.
For example, if I have a part with [steel mild] material assinged to it (no matter the size) I need a column in the BOM on the drawing to show: 490.684 lbs/ft^3. "Worry when there's something to worry about."
View 3 Replies
View Related
Jul 10, 2012
I have an assembly with a lot of purchased parts. I need to create a buy out list for purchasing. I've done this many times in the past and have a template set up for this purpose.
So now the problem, In this assembly, I have subassemblies showing up on my parts only parts list.
One of the subassemblies cinsists of two purchased parts. Both parts are set to purchased in the Bill of materials. If I do a parts only list on this assembly, it works as expected, showing two purchased parts. However, if I put that assembly into a higher level assembly, A parts only parts list shows the assembly instead of the individual parts.
View 2 Replies
View Related
May 3, 2013
IV 2010 Suite
Been working over an idw MANY times due to project lag.Today I opened it up and tried adding balloons to an already ballooned assembly.
The parts list has not changed, and is "structured".But, if I try adding balloons, they tag each part, not the entire assembly.
Also, I verified this by trying to add another parts list, which defaults to "parts only".
I can't show my data set, b/c it's HUGE, plus it's proprietary.
IV 2010 Suite
Digital Storm PC:
EVGA & Intel components
Win 7 Pro 64 bit
View 5 Replies
View Related
Sep 22, 2011
I have a .idw that I'm trying to make a parts list on. I select parts list and highlight everything. There are two screws that are not showing up on the parts list. I cannot select them manually either. It's acting like they are not there. Even if I do a complete parts list (adding the assemblies parts into one big list), they still don't show up.
How can I select these parts? What is wrong with them that they do not show up in the parts list?
View 2 Replies
View Related
Sep 13, 2012
Is there a command in Inventor to add values in a column in the Part list ( BOM) and to display a total value bottom like the Grand Total in Revit?
View 2 Replies
View Related
Aug 15, 2012
I am trying setup a default part list for my company in Inventor, where I am stuck at is I wish to lock the width of the columns so on all our drawings the part list is the same width, I have assigned each column its own width and when I bring it in to the drawing it's the correct size but I am able to drag the edges, and change its size, I want to lock it so if you try you cant
am I missing something obvious in the menus? Or is this a limitation with inventor.
I am using the latest version of Inventor 2013
View 5 Replies
View Related
Jun 11, 2013
I found the following code on Curtis Waguespack site. [URL] ........
View 3 Replies
View Related
Oct 22, 2012
i need a macro in VBA who export the structurated part list in xls separated by comme with only two cullom in order: Quantity and Part Number.
This .xls file mus be saved in the same folder where the .iam file is saved and with the same name of the .iam file. How to make this marco????
View 9 Replies
View Related
Mar 18, 2013
I'm attempting to use a macro in Inventor 2013 I found on the Mod The Machine blog to lay out the parts of an assembly. They're wood (not sheet metal), and the purpose is to create a drawing/cutlist with flat views of all the parts for easier DXF extraction.
The issue is that not all the parts in our assemblies are created with the length and width on the XY plane. So, some parts are laid flat on the XY and some stand up straight. How do I modify this code to look at the XZ and YZ planes as well for length and width?
It's a bit long, so here's the link to the code.
View 3 Replies
View Related
May 11, 2012
It seems like most people output the whole BOM. I only want to data in the Part Number column, preferably as a list of strings.
Here's what I have so far:
foreach (Sheet oSheet2 in aDoc.Sheets){ for (int i = 1; i < (oSheet2.PartsLists.Count+1); i++) { var oPartsList = oSheet2.PartsLists[i]; for(int k = 1; k < oPartsList.PartsListColumns.Count+1; k++) { if (oPartsList.PartsListColumns[k].Title.Equals("PART NUMBER")) { //what goes here??? } } }}
View 1 Replies
View Related
Feb 4, 2013
I've been using the "Phantom" BOM Structure to roll up duplicate .ipt's when I have more than one sub-assembly within a higher .iam and it has worked well.
Question - is it possible to adjust settings so that the .iam that I "Phantom" itself remains as a visable line item in the Parts List while still rolling up like .ipt's?
View 2 Replies
View Related
May 16, 2012
I have a drawing and I need to get a list of parts. I see *most* solutions use the parts list on the sheet itself. I will not have access to that. Is there a way to get a list of parts WITHOUT accessing oSheet.PartsList[1] ?
Win7 x64 - 16gb ram
i7 3610qm
FirePro M4000
Inventor 2013
ETO 6.1
View 9 Replies
View Related
Sep 6, 2013
As an academic interest I was trying to convert Brian’s code for exporting Parts list with thumbnail to VB.net 2012. I just modified the below code to remove the vb6 support. I am using VS 2012 and Inventor 2014. The end result on the word report thumb nail for some parts are not visible. It goes to the error code and putting the text instead of thumb nail. At the same time Brian’s code as it is (used the exe file to install it) works fine on the same parts list with all thumb nail.
#Region "PictureToImageConverter"
Public NotInheritable Class PictureToImageConverter
Inherits System.Windows.Forms.AxHost
Private Sub New() MyBase.New(Nothing)
[Code] ......
View 1 Replies
View Related
Oct 22, 2012
We would like to put barcodes in a parts list. To create a barcode we use a special barcode font.
It's impossible to have two types of fonts within one parts list, but is there an other way? Is there code (VBA) to generate a table with an extract of the bill of materials and a barcode generated
with a special font on the fly. We would basically need a parts list with an extra column for the barcode.
Autodesk Inventor Product Design Suite 2013 SP1.1
View 3 Replies
View Related
Aug 30, 2013
is there any way to make all the rows in the BOM/parts list on an IDW the same height? I did a search on this and saw nothing new on this. the reason we need this is for a program we use after export to dwg. it is a program we use in autocad that is a txt copy lisp program to populate attributed customer title blocks.
win 7 64 bit sp1
cpu intel xeon E5-2687W0@3.106
eight core
two solid state hard drives
32 gig of ram
Autodesk product design
suite premuim 2014 64bit
Nvida quadro 4000
Space Pilot ver. 1.6.2 2010
slphantom (NNTP handle: scottl)
View 2 Replies
View Related
Apr 23, 2012
Want parts to be sorted from 1 ascending. Add a part number in custom properties as a number. Asks the part list to sort - ends like this: 1, 10, 11, 12, 13, 14, 15, 16,......, 2, 21, 22, 23, .......,3 , 31 and so on ?????
Is this a bug or how do I change this?
View 6 Replies
View Related
May 7, 2012
I'm trying to create a parts list that will show item numbers for the sub assemblies and the individual parts for each sub assembly. When I'm creating the parts list in the drawing, the option for "All Levels"is greyed out once I select my source assembly. How I can show this in a Parts list?
View 9 Replies
View Related
Mar 22, 2012
In the continuing saga of me trying to learn Inventor, I have a question about the said named subject. I have a BOM that I need some subassemblies shown as such and others showing as the individual parts.
How do you configure the BOM to show both?
View 7 Replies
View Related