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 am attempting to rename a browser node. Here is the code I'm using and I'm getting a "Property 'Label' is 'ReadOnly'" error. In the API I found a note about using SetLabel() but that seems to only have ones for ClientMade browser nodes.
line of Inventor 2013 iLogic that can change the browser node name of an IDW?
Specifically, I'm only interested in changing this:
I know how it's set by default, but someone has managed to fix their template so it only ever shows "A3 template" in this field. consequently, this problem now persists throughout hundreds of drawings. If I can fix it with a line of iLogic, then the wickedly awesome CodeInjector can be used for fixing all the drawings.
WHAT WERE they thinking when they created the Rename Browser Command. We had someone find out about it and really screw up a bunch of top level assy's. I'm having to WASTE WAY TOO much time fixing them, bringing them back to showing the modified descriptions in the Browser.
is it possible to rename the browser node on part level with an iLogic rule? I know that in the assembly environment is an Inventor OOTB functionality to rename the nodes to the filename, Part number or the default value.
Inventor Professional 2011 Windows 7 Enterprise 64bit Dell Precision M4500 Intel(R) Core(TM) i7 CPU Q 820 @ 1.73GHz 8 GB RAM
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'm using the following sample code to add files to a browser folder
Public Sub AddOccurrencesToFolder()
Dim oDoc As AssemblyDocument Set oDoc = ThisApplication.ActiveDocument
Dim oDef As AssemblyComponentDefinition Set oDef = oDoc.ComponentDefinition
Dim oPane As BrowserPane Set oPane = oDoc.BrowserPanes.ActivePane
[Code]....
How do I get the files added to an existing " My Occurrence Folder" rather than creating a new one. Every time I run the code a new folder is created, it does not use the exisitng one
Is there a setting or something somewhere that turns off/on the display of the origin folder? I have rebooted and restarted Inventor. For some reason, I can't get see the folder. Even when I edit a part, it is not there. See attached images.
I'm trying to create an ilogic rule that will look within the folders of an assembly and take the contents of each of those folders and demote them to separate sub-assemblies.
ie. Assembly1 contains NewFolder 1. NewFolder 1 contains Part1:1 and Part2:1. Upon executing the ilogic rule, I would like Assembly1 to contain NewFolder 1 and within NewFolder 1, Assembly1-01. Assembly1-01 contains Part1:1 and Part2:1. I would like this ilogic rule to look within each successive folder within Assembly1 and demote them according to their position in the browser such that NewFolder 1 - at the top of the browser list - contains Assembly-01, NewFolder 2 contains Assembly-02, etc.
I currently copy a master assembly with browser folders that contain parts and sub-assemblies to a secondary assembly where I manually demote the contents of the folders to sub-assemblies. When I create a drawing for our machine assembly department, the demoted sub-assemblies to isolate only those parts - nuts, bolts and the pieces they fit to - so it is easier for the assembly department when putting a machine together.
Is it possible, using ilogic, to demote folder contents to sub-assemblies with an assembly document?
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)
I just popped off to a meeting, and when i returned the Object Browser has disappeared from my screen and i can't get it back. Where it might have gone or how i can get it back.
Inventor 2010 / I'm finding myself scrolling up and down the browser bar quite a lot to get to the Solid Bodies folder for example, and I was wondering if it was possible to group features into folders or something to make the journey quicker, with the benefit of also being able to just organize things a bit better.
I use Inventor 2013 as a single user, my company is about to invest in Vault and we are about to introduce a new automated Part Numbering Scheme as well.
I use a spreadsheet and iLogic rules as ‘Product Configurator’ to generate new iterations of my master assembly.
Now, the Assembly Browser in Inventor may display my assembly tree and its components by Part No or File Name or Default Browser Nod. See attached image.
This can be selected and set on the ribbon: click Assemble tab Productivity panel Rename Browser Nodes.
For example at Top Level Assy I have a rule to run other rules in components. Should I change the displayed components names on the Assy Tree the rules loose reference. So they wouldn’t run.
PANEL ASSY 2ndS:1 is a component with a rule in it "Tie Rods & Washer Plates 2ndS"
This is the default Browser Nod Name and it could also be
- AAA-0111 --> Part No
- PANEL ASSY 2ndS.iam:1 --> File name
- PANEL ASSY 2ndS:1 --> Default
I suppose this can be avoided by not changing from Default, but what an inconvenience should we have to.Unless if there is an other way to reference our components in iLogic?
I changed the name of a valve manually in the browser. Now, when I copy the valve to a different part name it does not update the name of the new part in the browser. How do I get the part name in the browser to be dynamic again?
I have the attached symbol next to parts in an assembly, I'm not sure what this is, I have updated all components in the assembly and checked that in the sketch doctor for error however there are none.
Autodesk Inventor Professional 2013 SP2 64-Bit Edition Windows 7 HP Z400, Intel Xeon W3550 3.07GHz 12.0GB RAM, ATI FirePro V4800 (FireGL)
My browser is gone. When toggled, it does not show up. I ushally have two screens, but when i have it on only one screen it disappers completely. My laptop is set to " Laptop display" Only mode. I bring up Inventor, and my browser will not toggle on and off on the screen even though the box is checked, and unchecked.