AutoCAD Inventor :: Navigation Between Browser And Data Sample With C#?
Jun 26, 2012
I can't follow the sample code when using c#
object selected; selected = oApp.ActiveDocument.SelectSet[1]; Inventor.ComponentOccurrence oOcc; oOcc = (Inventor.ComponentOccurrence)selected; Inventor.NativeBrowserNodeDefinition oNativeBrowserNodeDef; oNativeBrowserNodeDef = oApp.ActiveDocument.BrowserPanes.GetNativeBrowserNodeDefinition(oOcc); Inventor.BrowserNode oTopNode; oTopNode = oApp.ActiveDocument.BrowserPanes.ActivePane.TopNode; Inventor.BrowserNode oOccNode; oOccNode=oTopNode.AllReferencedNodes(....?
The sample code uses
Set oWorkPlaneNode = oTopBrowserNode.AllReferencedNodes(oNativeBrowserNodeDef).
In c# (and API-Help) it is AllReferencedNodes(Inventor.Browserdefinition Definition)
How to obtain the browser node definition?
View 1 Replies
ADVERTISEMENT
Oct 29, 2012
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
View 1 Replies
View Related
Apr 8, 2013
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
[code]....
View 1 Replies
View Related
Nov 7, 2011
When I press F1 Inventor opens the help on my default browser (Chrome), but when I click the bynocular it uses Internet Explorer.
Is it possible to force Inventor to use a browser of my choice or the default browser?
View 1 Replies
View Related
Oct 21, 2013
I made an alignment of road, inserted with sample line, then i made a profile. But on the sample line on profile, there is not a data of height and lenght of profile. How to get those data in road profile. I can manually draw that, but i think there is an easier way?
View 1 Replies
View Related
Mar 13, 2013
My company requires us to use two master project files instead of one and my problem is that i can add both .ipj files into the Projects navigator in Inventor and set one as the current project, but as soon as i close the navigation window and reopen it (presumably to switch to the other project) the project that is not the active project disappears from the navigation window. The .ipj file still exists, it just doesnt show in the navigator and i have to browse to find it again. This problem happens no matter which project i set to be currently active. How can i keep that from happening?
View 8 Replies
View Related
Jul 13, 2013
Under the view cube, in part files, there must be a short ribbon with 3 or 4 view orientation buttons: the navigation bar.It disappeared, how to bring it back?
View 1 Replies
View Related
Jul 17, 2012
I've been trying my best to get familiar with the Autodesk Inventor COM API for the purpose of integrating a new 3D input device (the Keyglove) for intuitive control. I have worked through the "My first plugin" example, and I have basic COM integration working using VB.NET in Visual Studio 2010. I've been able to rotate the camera's view around a single axis by applying a rotation matrix transform to the camera's UpVector property:
Dim Pi As Double = 3.14159265358979
Dim appInventor As Inventor.Application
Dim oCamera As Inventor.Camera
Dim oRotAxis As Inventor.Vector
Dim oRotMatrix As Inventor.Matrix
Dim oUpVector As Inventor.UnitVector
[code]....
But I cannot for the life of me figure out how to achieve what I'm really after: a programmatic equivalent to the "Orbit" action that is done on all three rotational axes at once. I would ultimately like to reproduce all aspects of the Full Navigation Wheel through the COM API, but right now I'll settle for 3D orbiting. The pan and zoom operations seem to be doable through the ComputeWithMouseInput() method, though I'd imagine there's a better, more direct way to do that with raw camera eye/target transformation as well.
When using the Orbit tool on the Full Navigation Wheel, the mouse X/Y axes control orientation about the Y and X axes respectively, centered around the pivot point. If you hold down shift to enable "roll" mode, the mouse Y axis is ignored, and the mouse X axis controls orientation about the Z axis. The Keyglove provides angular rotation data on all three axes at once, so there is no need to toggle between X/Y control and Z control; it should be easily possible to do them all at the same time. I can't figure out how though.
lacking in familiarity with the COM API and/or the ability to visualize and code the correct spatial geometry calculations.
View 5 Replies
View Related
Oct 29, 2004
I followed exactly step-by-step showing in the program. After compile the DLL register the registry, run IV, I couldn't see the AddIn SampleToolbar in the Panel bar.
View 9 Replies
View Related
Oct 12, 2011
I know that the xmls are very important in the design data folder and we shouldn't mess with them.What about the rest of the folders. I have around 11 folders. GOST, AEC Exchange, AIT, Cable & Harness, Bend Tables, DWG-DXF etc...
I need to know if any of these folders can be deleted? We don't use AEC Exchange, Cable Harness, BIm Exchange, Design Accelerator, Tube & Pipe.
What about the Optimisation, DXF-DWG. I am not sure if I am using them unknowingly.Does this could be deleted? Is there a procedure to get rid of them.
View 1 Replies
View Related
May 29, 2013
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.
View 4 Replies
View Related
Nov 1, 2013
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.
View 1 Replies
View Related
Nov 15, 2012
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)
View 4 Replies
View Related
Oct 20, 2011
Why sometimes we have an asterisk (a star) after the file name in the browser (in "Vault mode")? see attachment
View 1 Replies
View Related
Aug 23, 2012
What does the red up arrow next to extrussion features indicate?
View 2 Replies
View Related
Jun 14, 2013
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.
View 9 Replies
View Related
May 2, 2013
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.
oSubAssyNode.BrowserNodeDefinition.Label = "XXX"
View 2 Replies
View Related
Jan 27, 2010
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.
View 9 Replies
View Related
Oct 8, 2012
I am trying to suppress browser folders per the API with no luck is this even possible. I would also like to control its BOM Structure.
View 1 Replies
View Related
Jul 26, 2013
How to enable model browser in Autocad Inventor Professional 2014 Student version ?
View 2 Replies
View Related
Aug 14, 2012
how can I make a folder in the browser in the part modeling and put something like extrude,revolve & ... in the folder? (not in the assembly)
View 1 Replies
View Related
Nov 15, 2012
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.
(for example: iLogicVb.RunRule("PANEL ASSY 2ndS:1", "Tie Rods & Washer Plates 2ndS")
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?
View 1 Replies
View Related
Feb 19, 2013
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?
View 5 Replies
View Related
Jan 14, 2013
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)
View 2 Replies
View Related
Aug 25, 2012
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.
View 2 Replies
View Related
Dec 24, 2013
Code that can provide basic information of the highlighted browsernode on the browser bar? i can get a mouseclick but not sure on the mousemove.
View 2 Replies
View Related
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
Nov 2, 2011
Search for features by name from browser. I have seen a pair of binoculars on the top of the feature tree, can't figure out a easy use of it.
C1
Inventor Professional 2013
Vault Collaboration 2013
View 1 Replies
View Related
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
Nov 13, 2013
how to turn this feature on? We recently upgraded from Inventor 2011 to 2014 and now this feature has been disabled. The attachment shows that visibility has been greyed out.
View 2 Replies
View Related
Nov 22, 2013
Working on a product configurator using iLogic and have a large amount of hardware that needs to be suppress or unsuppressed based on certain parameter choices. Instead of creating hundreds of lines of code suppressing and unsuppressing the hardware one by one, I was hoping to put hardware into folders based configurations. In my mind this would have allowed me to have one line that would suppress the folder as needed. Unfortunately I cannot figure how to suppress a folder in iLogic as I saw someone else mention I was hoping for a "Folder.IsActive" rule but have yet to find one.
Inventor 2013
View 6 Replies
View Related