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.
how to create an iLogic rule that automatically renames the browser nodes based on part number. I know that this is a function in Inventor itself. The problem is that there is no built-in functionality to automatically change the default browser name to something besides part number. I've done a lot of digging and I came across the following code from an old thread discussing Inventor 2011. I am interested in 2013. It is also worth noting that when I run this code, my Inventor crashes.
PrivateSubMain UpdateAssyBrowser(ThisDoc.Document) End Sub
Is there a way to rename browser nodes within a part in a similar way that the rename browser nodes tool works in assemblies? I am copying designs with derived parts, after copying the design I can see that the part files contain the correct links to other parts when I open the base component but they display as the old name in the browser which is not ideal.
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.
I opened the drawing and then from the drawing opened the model. In the drawing it is showing the 4th instance of ROUND CRS-032175 X 33 as an assembly. It also is not showing in the view and yet the visibility is checked. AI2012 SP2
I am trying to use the Browsernode.addchild method to add an occurence to an empty browser folder. The code fails at this point and I gett an error pointing to the line "Call oTargetNode.AddChild(oSourceNodeDef)". I can add the occurence with the browserpanes.Reorder method without issue if the folder is not empty. The code is pasted Below.
Format:HTML Format Version:1.0 StartHTML: 165 EndHTML: 29338 StartFragment: 314 EndFragment: 29306 StartSelection: 314 EndSelection: 314 SyntaxEditor Code Snippet DimPrcsTpAsStringPrcsTp=InputListBox("Process Type?", MultiValue.List("ProcessType"), Parameter("ProcessType"), Title :="Select Process Type", ListName :="Process Type")DimRtgNameAsStringRtgName=PrcsTp&"-"&Parameter("NoRtgsInc")+1MessageBox.Show(RtgName, "Title",MessageBoxButtons.OKCancel)DimoAsmAsAssemblyDocument=ThisDoc.DocumentDimoMatrixAsMatrix=ThisApplication.TransientGeometry.CreateMatrixDimoOccAsComponentOccurrenceoOcc=oAsm.ComponentDefinition.Occurrences.AddVirtual(RtgName, oMatrix)DimoCompDefVirtualAsVirtualComponentDefinition=oOcc.Definition'CREATE AND SET THE
I have created a report from a frame analysis of an arrangement of I-Beam steelwork. I need to check that I have placed the nodes in the right order and this is reflected in the results of the report. I have the parent and child nodes connected at the ends of the beams as shown on the attached screen shot. I'm interested to know if the order in which I have selected the nods makes any difference to the results. There a 3 node connection points at each corner section.
Is it possible to determine which nodes are expanded using the API?
I want to make some changes to the node information in an assembly browser but as there are many hundred parts so I only want to do the operation on the expanded nodes to keep any delay to a minimum.
What I am trying to do is importing a CorelDraw file into Inventor and extruding a few features. The point is to mimic a silkscreen file on metal work. My work process has been as such: create the file in CorelDraw and change all lines/shapes to curves. Save the complete CorelDraw as a dwg. Open the dwg in Inventor and copy and paste the sketch into a new part in Inventor. This process seems to work for simple parts. As soon as there is text and more complicated features there is alot of points which slows my computer down and makes it impossible to do anything. Any way to auto-reduce points in a sketch or have a better way of importing vector files into Inventor? I have tried importing the text as text instead of curves but it does not transfer correctly.
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.
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)
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.
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.
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).
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.
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.
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.
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?
When you place a part (let’s say structural steel part) from content center as a custom part and later change the part size, the browser still shows the old part name which makes it very confusing when scanning through the browsers when you're trying to find something. It makes it almost unusable if you can’t trust the description. How do others handle this? I know about browser rename but that won't work because it defaults back when you close and reopen.
I am getting the i symbol in front of my 3D sketch in the browser bar. Unlike a 2D sketch which I can open and run sketch doctor, I am unsure how to resolve issues with this sketch.
I have many symbols next to the bolted connections in my browser in Inventor 2013 which I do not see changing. what these stmbols mean and why there are there ?
Autodesk Inventor Professional 2013 SP2 64-Bit Edition Windows 7 HP Z400, Intel Xeon W3550 3.07GHz 12.0GB RAM, ATI FirePro V4800 (FireGL)