AutoCAD Inventor :: Sort BOM While Avoiding Locked Parts

Dec 3, 2012

I need to sort the BOM (structured) while avoiding three parts. So I attempted manually locking the three parts in the BOM through the user interface and then running the following code

 ' Set a reference to the assembly document. ' This assumes an assembly document is active. Dim oDoc As AssemblyDocument oDoc = ThisApplication.ActiveDocument

' Set a reference to the BOM Dim oBOM As BOM oBOM = oDoc.ComponentDefinition.BOM

' Make sure that the structured view is enabled. 'Set a reference to the "Structured" BOMView Dim oBOMView As BOMView oBOMView = oBOM.BOMViews.Item("Structured")

'The following line works correctly Call oBOMView.Sort("Part Number",True) 'Re-Number the BOM Call oBOMView.Renumber(3, 1) 'Re-Sort Items 'Call oBOMView.Sort("Item",True)

The above code is bits and pieces that I have combined from the internet. The only problem with it is that sort works fine on some files while on others it skips a few e.g. 1,2,5,6,7......

Is there any way we can sort the BOM while avoiding all the locked parts.

View 5 Replies


ADVERTISEMENT

AutoCAD Inventor :: Parts List Sort Using ILogic

Nov 7, 2011

I have got some ilogic code that i have patched together to sort my parts list in inventor which works great but it will not update all sheets at the same time as when we design we have multiple sheets with parts list on and the odd one without.

add to this code to update all sheets partlists and also recognise that some sheets will not have partslists on so this will need to skip. 

below is code that is used to sort

Format:HTML Format Version:1.0 StartHTML:     165 EndHTML:    4558 StartFragment:     314 EndFragment:    4526 StartSelection: 314 EndSelection:     314
SyntaxEditor Code Snippet
Format:HTML Format Version:1.0 StartHTML: 165 EndHTML: 4558 StartFragment: 314 EndFragment: 4526 StartSelection: 314 EndSelection: 314
[Code] ...........

View 4 Replies View Related

AutoCAD Inventor :: How To Sort Parts Inside Browser Folder

Nov 17, 2012

Alpha sort in assembly bonus tool sorts outside browser folder. Is there any method (API) to sort inside browser folder?

View 3 Replies View Related

AutoCAD Inventor :: Replacing Parts With Custom Parts Created From Content Center

Sep 27, 2012

I am trying to replace a custom part - created from a content center part -  with a copied part with a different name.  (I am using the replace tool in an assembly.)  However, Inventor is not replacing the part with the part I pick but rather the content center version of it.

View 3 Replies View Related

AutoCAD Inventor :: Showing Two Instances Of Parts List And Adding Custom Parts

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

AutoCAD Inventor :: Creating Parts With Work Planes Defined By Other Parts

May 2, 2013

I am working on an assembly that is designed around a box (bounding box) that could change size.  I modeled the bounding box and placed it in a new assembly file.  All other parts have been created within the assembly by referencing that bounding box with starting work plane and project geometry.

The problem comes in when I change the bounding box dimensions.  The work planes for each additional part, which were defined by the faces of the bounding box, do not move when the sides move.  Also, my projected geometry is not updating correctly.  This is a simple box, with all 90° corners.  So, all associated parts (at this point) are just rectangles. 

View 4 Replies View Related

AutoCAD Inventor :: Parts List Update When Modifying Model Parts In Idw

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

AutoCAD Inventor :: Virtual Parts Weight Total BOM And Parts List

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

AutoCAD Inventor :: Display Density Of Materials Assigned To Various Parts In Parts List On Drawing?

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

AutoCAD Inventor :: Assemblies Showing In Parts Only Parts List

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

AutoCAD Inventor :: IDW View / Parts List Changes From Structured To Parts Only

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

AutoCAD Inventor :: Parts Not Selecting For Parts List

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

AutoCAD Inventor :: How To Reuse Parts Rather Than Create New Parts

Jul 25, 2012

I have been working with an assembly today where it is ideal to mirror parts and have figured out how to reuse the parts rather than create new parts. Now I find that when the parts are mirrored, they ate not retaining the mates. Where do I find the setting so they either retain their mates, or prefferably retain the mirror so that if I move the origional, the mirror moves as well?

View 9 Replies View Related

AutoCAD Inventor :: ILogic To Sort BOM?

May 22, 2012

I have been unable to find any code to sort the BOM, there are lots of snippets to sort and modify the Parts list.

How to sort the Assembly BOM?

Sort parameters:

PARTS Only

"BOM Structure"

then by

Custom Parameter "TYPE"

Then By

Part Number

Then "Renumber" starting at 1

Autodesk Product Design Suite Premium 2014 SP1 Build 222
Intel Core i7 (950@3.07GHz)
Windows 7x64 (Home) - 12GB Ram
Nvidia GeForce GTX 560 Ti (1Gig - Ver:331.65)

View 1 Replies View Related

AutoCAD Inventor :: ILogic Sort Values

Feb 20, 2013

I have an iLogic rule that populates the fields shown below in our title block. The DIM. Values are strings set with H,W,L values. This works well, but I have an additional need to sort these values in ascending order, so the smallest value is first followed by the next largest and finally the largest value. (4.000x5.000x14.000). I haven't had much luck finding any information about how this can be done. I did however come across some code here that someone else was using for a similar feature.
 
Dim sizes As New List (Of Decimal)sizes.Add(bH)sizes.Add(bW)sizes.Add(bL)sizes.Sort()D1 = sizes(1)D2 = sizes(2)D3 = sizes(3)

This is what I have been attempting, though it does not work. I get the following error "Index was out of range. Must be non-negative and less than the size of the collection. 

Parameter name: index". I'm not sure if my list type is correct (Decimal), but no matter what I choose it fails. The (bH,bW,bL) are the actual block dimensions pulled from the .ipt file. Once sorted I want the values of each position (1),(2),(3) to be assigned to (D1),(D2),(D3) so I can place them in my title block in the correct order.

View 3 Replies View Related

AutoCAD Inventor :: Sort Structured BOM View

Feb 13, 2012

I'm trying to sort a structured Bom View through .Net Api in Inventor 2012. I'm using Sort method of BOM View object. I don't get any error but BOM isn't changed after this call.

I've tried :

oBv.Sort("Item") or oBv.Sort("Item", False)
oBv.Sort("Part Number") or oBv.Sort("Part Number", False)

View 9 Replies View Related

AutoCAD Inventor :: Sort Sheets In Browser?

Feb 10, 2012

Im working on something just now but ran into a problem when a new sheet is added after one that is excluded from count.

What i need is to re sort the sheets in the browser so the excluded ones go to the end. Im thinking i would need to loop through the browser nodes somehow but the skills elude me.

View 1 Replies View Related

AutoCAD Inventor :: Alpha Sort Browser Nodes

Jun 4, 2013

Is the alpha sort function available trough API ? It's located in Assembly tab, Productivity tools. I'd like to use it in a custom program instead of asking my customer to click on the button.

View 2 Replies View Related

AutoCAD Inventor :: Sort User Parameters By Code

Apr 10, 2013

I work with Inventor 2011.

It is possible to sort Parameters (user parameters) by code (simulating a click on column header) ?

View 3 Replies View Related

AutoCAD .NET :: Avoiding Duplicate Event Handlers

Sep 9, 2013

In order to avoid duplicate event handlers, I did like the following...
 
Document doc = Application.DocumentManager.MdiActiveDocument;try { doc.BeginDocumentClose -= new DocumentBeginCloseEventHandler(MyEventHandler); }catch { // Do nothing }doc.BeginDocumentClose += new DocumentBeginCloseEventHandler(MyEventHandler); 

The above worked greatly with AutoCAD 2007. But yesterday I migrated my code into AutoCAD 2010 (with Object ARX 2010).

Unfortunately, it seems like AutoCAD 2010 catches before my code catches it. I guess I could just have a global boolean value that checks the status of event attachment.

View 7 Replies View Related

AutoCAD Inventor :: ILogic To Sort BOM - Renumber Items As Sorted

Jun 13, 2011

I want to use iLogic to:

1.Sort an assembly BOM by Part Number.

2. Renumber Items in the BOM as sorted.

3. Sort a drawing Parts list by item number.

The background to my problem is that i have an assembly which is working beautifully turning components on and off (suppressing/activating in LOD reps) as defined by iLogic rules (iLogic is awesome). The problem is whenever a part is turned on/activated again, it shows up at the bottom of the BOM and Parts list out of order (would be nice if parts went back in the list where they came from).

View 7 Replies View Related

AutoCAD Inventor :: Any Sort Of Live Update Tool That Comes With 10 Series?

Jun 25, 2006

Is there any sort of "Live Update" tool that Comes w/ Inventor 10 series? I have been to the "downloads" page at Autodesk site for Inventor 10, and have already installed sp3a, and a couple of the hotfixes (1054780 & 1057155) - I was trying to follow the dates and hotfix numbers in an effort to bring my product completely up to date, but now Inventor does not seem to be working correctly - I suspect that I did something in the wrong order. How can I know that my product is completely up-to-date, and is it possible to get a sequential list of SP's and Hotfixes so I know what order I'm supposed to install? I have also tried "repair" from the installation disk, but after "gathering all required information", nothing happens.

View 3 Replies View Related

AutoCAD Inventor :: Sort Sketch Blocks In A Part File?

Sep 17, 2012

Is there any method to sort sketch blocks in a part file? All of our sketch blocks are numbered with a profile number. When we create a new multi-body assembly we will often derive 50-100 of them into the master file. It would be great if we could sort them by profile number.

The next best solution would be the ability to create sub-folders to place them in by type (sort of like assembly folders), but I'm pretty sure this isn't possible.

View 1 Replies View Related

AutoCAD Inventor :: Sort (Resort) A Hole Table Via Code?

Oct 8, 2013

How do you sort(Resort) a hole table via code?  The hole table does not appear to have a .Resort member.

I would think it would be oHoleTable.Resort.

Inventor Professional 2014 64 Bit
Windows 7 Professional
NVIDIA Quadro FX 4600
Dual Intel Xeon E5540 CPUs
16GB DDR3 Ram

View 2 Replies View Related

AutoCAD Inventor :: BOM Renumbering And Part List Sort By Item (iLogic)

May 15, 2013

i = MessageBox.Show("Do you wish to Renumber & Sort BOM?", "My iLogic Dialog", MessageBoxButtons.YesNo, MessageBoxIcon.Warning, MessageBoxDefaultButton.Button1) If i = vbyes ThenTrace.WriteLine ("INV - Transfer; User Selection; Do you wish to Renumber & Sort BOM? - YES")'Renumbers & Sort BOMoPartsList1.Renumber oPartsList1.SaveItemOverridesToBOMoPartsList1.Sort("ITEM") Trace.WriteLine ("INV-ExternalRule - Renumber & Sort BOM#")Else if i = vbno Trace.WriteLine ("INV - Transfer; User Selection; Do you wish to change Renumber & Sort BOM? - NO")End if

what i want to do, is renumber the BOM by (001) then go to part list and sort by item.

View 9 Replies View Related

AutoCAD Inventor :: Locked Dimensions?

Nov 14, 2012

I have a part made by a former co-worker that appears to have some dimensions locked. The second feature on the attached file is a pair of rectangular cuts. I would like to edit the dimensions of the hole, but when I select a dimension I am unable to enter any numbers in the dialog box.

Inventor Premium 2013 SP1.1
Vault 2013- plain vanilla version
HP G71 notebook
celeron cpu w 4gb RAM and 64 bit system
Win 7 home premium

View 5 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Avoiding Mesh Smooth Dialog

Dec 12, 2012

When using mesh smooth from AutoLisp, is there a way to avoid the dialog that comes up when the object is a non primitive 3d solid?

View 8 Replies View Related

AutoCAD Inventor :: New File Dialog All Columns Returned To Their Default Size And Sort Also Reverted

Aug 2, 2012

Having problems with the updated new file dialog and I'm not talking personal problems. I switched it to detail view and widened up the name column so I could see the whole name. I could actually live with that setup however the next time I opened the new file dialog all the columns returned to their default size and the sort also reverted.

Is it just me or does the new file dialog not remember any changes to it's layout?

View 2 Replies View Related

AutoCAD Inventor :: Sketch Line To Be Locked

Mar 8, 2012

Is there a way to locked a specific sketch in the ipt?

inventor 2011
vault 2012

View 4 Replies View Related

AutoCAD Inventor :: Design View Representation Is Locked

Jul 30, 2012

I have a message pop up when i am trying to save an assembly. it is:

'The current Design View Representaion is locked. Changes againstit will not be saved. If you want to keep those changes please create a new Design View Representation or unlock the current one.'

View 1 Replies View Related

AutoCAD Inventor :: Design View Representation Locked

May 7, 2012

How can I Unlock the Design View Representation?

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved