AutoCAD Inventor :: Want To Get Component Name By Selecting It In Graphic Windows
Jul 3, 2012
I don't know, what's the correct code, for getting the name of an assembly component by selecting it in the graphic window.The user should have the ability to slect an component and Inventor will give you the name of this component (filename, Screenname or whatever )
But it seems that the onselect event only catches selection of drawing views or balloon, annotation etc, but not the component inside the drawing view is this intentional or a bug?
The reason i need to catch this is to make a new context menu action, so i need the selected item. I know i can use SelectionSet, but i want to be able to debug my application as an external application connecting to the running instance before i build it into an addin (saves me a lot of inventor restarts..) And Selection Set does not seem to work when i use it inside an event handler in an external application...
We are having an issue when we replace a component in Inventor Pro 2012. When we replace a component, the name in the browser does not update to the new component. We've even tried to close and re-open the Inventor assembly and that does not work. We end up manual double clicking the name in the browser and type in the new component name.
Inventor Product Design Suite Ultimate 2012 Dell Precision T7500 Workstation Xeon Processor 16 GB of RAM Nvidia Quadro FX 5800 Windows 7 x64
II need a way to tell if a component occurence is a virtual component.
I'm using a For Each loop to cycle through all of the components in an assembly, and if the component is itself an assembly to set the LOD to "Custom". I'm using the definition document descriptor object for this. It all woks fine until the loop comes across a virtual component which doesn't have a definition document, so I need a way to check if the component is virtual and needs to be skipped.Here's the
Option ExplicitImports Inventor.LevelOfDetailEnumSub MainiLogicVb.UpdateWhenDone = TrueDim doc As AssemblyDocumentDim oLOD As LevelOfDetailRepresentationDim oAsmCompDef As ComponentDefinitionDim oComp As ComponentOccurrenceDim oComps As ComponentOccurrencesdoc = ThisDoc.DocumentIf. [code]....
I am trying to make port rims for pipes that can be swapped in and out of an assembly. However, the ports will all be different sizes and located differently so I need the cut to be part of the port rim component, but affect the entire assembly it is part of. I've been trying to get this to work for the better part of a day now,Here's a picture of what im talking about. I'm running Inventor 2008 by the way.
OK, today, or actually just this afternoon I've noticed it has become much harder to select items with the mouse.
Points, nodes, etc...anything where you'd typically hover the mouse over the item and it highlights for you to select it.
For example, lets say you want to project a point from another sketch, or select the center node of a line, etc.
Never really had an issue until this afternoon where now it seems I have to be right on top of the item and I cannot budge one bit or it won't select it. It is now taking me numerous attempts to select things like points (zooming in does not work, points scale accordingly).
Is there a setting somewhere? I can't seem to find such under Tools>Application Options and the like.
I started using Paint.NET for all of my graphic editing about a month ago and the thing that I find most annoying is how the tool windows (Tools, History, Layers & Colors) get in the way when I'm working at 100% or more scale. I have to constantly move them/close them when I'm working with corners or edges.
Is there a way that I can combine the windows together (like the Tools bar in MSPaint) or make them not overlap the image so that they don't get in the way?
Im thinking of getting a surface pro, I have been using a keyboard and mouse for years so use short cut keys a lot and will have to get used to using menus again. However I was wondering because a tablet has no alt key how could I select a clone point for the clone stamp?
I have an iLogic controlled assembly with sub assemblies that are also iLogic controlled. The main assembly calculates some lengths and turns some subs on and off and then updates all the subs. The subs also calculate some lengths and turn some parts on and off. I have a rule in both the main assembly and copies in the subs that control the LOD to make sure that it's set to custom before anything else runs.
Now I may be misunderstanding something, but it appears that it's possible to have a sub assembly set to one LOD but be referenced in a top level assembly as a different LOD. In other words I have a sub that shows in the top level browser as Master. If I open this sub and set it from within the sub to custom LOD and switch back to the top level assembly it is still set to master there. It appears that this is what my LOD rule is also doing, setting it to custom in the sub but not changing the top level reference.
What I am trying to do is insert a part into an assembly file using iLogic. I basically want to mimic Inventor’s “Place” command using ilogic, maybe something like this:
When we do DWG we may have more than one Assembly on one individual DWG. When going to put the weights on the DWG through the text/Physical Property insert yadayada it keeps referring back to the original assembly. Even after changing which component we want the info to be drawn from, it refers back to the original? Are we not doing this right? Program glitch?
My office procedures dictate that when we place a content center part that we do so "as custom" for several reasons that are irrelevant to this question (I can expound if needed).
My question is: If I have an assembly with a content center part that is placed "as custom" and I use the component replace tool (CTRL+h) to replace it with another content center part that has already been created and placed "as custom" in another file, how come I get a new CC component that is not the one I selected?
It appears that I am getting a CC part from the same family as the original when what I need is the component to be replaced with the one I am selecting.
In other words: when I say replace "this" with "that", how come I get something else entirely? This functionality works perfectly on non-CC parts.
I have an assembly which has components mated to a radial surface, I need to locate the center of a round slot against an axis, I have X Y coordinates, how can I constrain that part to those X Y coordinates?
To be able to folderize component patterns seems to have been surpassed once again in release 2012. However, I am wondering if this is a setting issue yet I cannot find settings for what can and cannot be placed in folders, if they exist. And I wonder if it is a setting issue because during a training class I visibly watched the trainer place component patterns into a folder and once I still cannot do so.
How to apply forces to a component who is spinning. More specific i am interested in the centrifugal loads distributed over the component.
Take an inducer wheel for a turbocharger. It is a complicated component and very difficult to calculate by hand. it is spinning with high revs, and the rev limit it set by the centrifugal forces acting.
I have a sheetmetal assembly with helical shaped parts. I need to place about 50 little brackets and some corresponding rollers along the length of these helical pieces. The spacing is even so a pattern would be perfect, except I don't know how to get it to follow the shape of the part. The brackets are located to slots in the helical parts which were made with a rectangular pattern in the unfolded state. I tried to do a "feature pattern select" but it only saw the rectangular pattern as it is in the unfolded state (a straight line). I then gave up on patterns and started working on manually mating them into place but realized that the geometry of the slot was distorted (theory) and didn't leave me with any useable surfaces.
I've just upgraded from 2011 to 2013 and come across this problem.
In 2011 I could edit a component from the top level anywhere in the tree - i.e. From an iLogic rule in the top level, I could edit a component in a subassembly.
This doesn't seem to work in 2013 - I can only edit the first child of a component.
I have a component pattern with 3 components in it and I need to remove one of the components from the pattern. How can I modify the pattern through the API? I have tried various things but I do not appear to be able to change the pattern.
I'm working on an iLogic application for an assembly. I need some code to edit a particular component occurrence and then open one of that component's iLogic forms.
Basically automating the keystrokes that I'm doing manually (Select, right-click and edit, then open the iLogic form for that part). Do I have to scroll through all occurrences in the browser or is there a way to call that component by name?
I tried to import an stl file into inventor 2013 and it worked. I now have that ipt file that I ahve attached to this thread. The only problem is that now I cannot manipulate my solid (i.e. put holes in it).
I have an ipt A and its dwg. I have an ipt B that is the derivative and mirrored ( I use derive command whit flag on mirror part) component from ipt A.
Is there a way to not create the dwg of B ex novo? I have the same dwg but I have to re dimension all.
I was wondering if there is a way to bend a derived componet. I have an odd extruded part and would like to cut and bend it. I want to do it this way so I can also include the cut length before bend. I know of frame generator, but am not able to use it since if falls out of the structure of how our files are saved.
I'd like to set up a keyboard shortcut so that when I press the 'V' key, inventor toggles the visibility of the selected part or assembly. However, "Visibility" seems to be about the only command that doesn't exist in the list of keyboard shortcuts*. I found this post in which someone says it's not possible, but might be using VBA. I've done some iLogic but know nothing about Inventor's inner-working VBA. I'm wondering if there's some workaround, VBA or otherwise, that'll allow me to toggle visibility using the 'V' key.
*actually it does but it says it's only available for use in Inventor Studio. Go figure.
Using: Autodesk Inventor 2013 Product Design Suite
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?