AutoCAD Inventor :: Replace Components With Different Internal Name?
Apr 24, 2013
I would like to know if there is any possibility to replace a component with another one, that has a different internal name. Losing the dependencies would be acceptable.
ReplaceReference and PutLogicalFileNameUsingFull always return the error "wrong parameter".
Can I use an iLogic Rule at the top assembly level to "replace all" of a particular component is that component resides in more than one subassembly? I need a rule to run and globally replace the component in all subassemblies without opening up each subassembly manually. I can run a rule in the individual subassembly that looks like the following:
If GoExcel.CellValue("3rd Party:Embedding 1", "Sheet1", "A2")=800 Then Component.Replace("Part1:1", "OtherPartfilename.ipt", True) End If
Is there a way to run a "replace all" command from a top level assembly?
So I have been going round and round in circles on this one iam trying to use replace component within ilogic which is fine with switching one part for another but I want a drop down of parts so it replaces which ever one is active the problem I am having is establishing which one is active. So below is what I have so far but the problem is you cant seem to reference a part that is not in the assembly so I keep getting the error
The component named "Flange 1" was not found for example. I just need a way of establishing which one is currently in the assembly but with out referencing components that are not there.
If Component.IsActive("Flange 1")=True Then current = 1 If Component.IsActive("Flange 2")=True Then current = 2 If Component.IsActive("Flange 3")=True Then current = 3 If part = 1 And current = 2 Then Component.Replace("flange 2", "Flange 1.ipt", True) End If If part = 1 And current = 3 Then Component.Replace("flange 3", "Flange 1.ipt", True) End If If part = 2 And current = 1 Then Component.Replace("flange 1", "Flange 2.ipt", True) End If If part = 2 And current = 3 Then Component.Replace("flange 3", "Flange 2.ipt", True) End If If part = 3 And current = 1 Then Component.Replace("flange 1", "Flange 3.ipt", True) End If If part = 3 And current = 2 Then Component.Replace("flange 2", "Flange 3.ipt", True) End If
I am using a circular pattern to re-position an internal keyway and am wondering if it is possible to supress the original keyway? Right now I have to give it a 'Placement' value of 2 to get the keyway to shift the amount I want, and as such it keeps the original as well as the new (overlapping them). I wish to suppress only the original one leaving new one...
Just installed 2012 Pro last week and tried to run FEA today. Everything else is running fine. Started with existing model and had this error. Went to a simple part with rectangle sketch 6x1x.125thk and still receive error. Found multiple issues with mesher errors in forum. So I removed all Autodesk products, cleaned registry, turned off antivirus and reinstalled software and SP1 and still receive error.
Trying to make an internal gear with design generator. I fill in appropriate info, click the 'internal' check box and when I generate I still get an external gear (using component).
Tried creating a part with the proper bore (root) diameter first and use feature...it wipes out my part and creates and external gear with virtually no bore.
I would like to find out how to fix two components in an assembly relative to each other, and using VBA.
What I want to do is to build the assembly (which consists of two components A and B, and also other components) and then animate the joint in component B. In order to do so, I have to fix A to B so that A moves along with the joint motion. But my problem here is that the attachment of A to B is not definite - it depends on other components in the assembly, so I cannot predefine a constrain between the two.
Is there a way I can easily fix two components relative to each other in an assembly without prior knowledge on how they are positioned relative to each other?
I'm thinking of measuring and then constraining the origins of the two part files in 6DOF, but I'm not sure how i can extract the angle between the axes and then constrain them in the correct way (mating using angles has always been confusing for me).
we are using level of details to suppress few components. when we are trying to take BOM for that level of details. we are getting the suppressed components also. is there any control we can do avoiding that suppressed component. I know if you make the BOM sequesnce to reference that wont come in BOM. but we need that file for other LOD.
I use hinges in my door assemblies and they are basically placed into the assembly each time and become flexible so the doors can operate. The hinges are one size and don't change in any way or shape. What is the best practice for inserting these hinges into my door assemblies?
Inventor 2013 Windows 7 Professional 64-bit SP1 HP EliteBook 8470w Processor: Intel(R) Core(TM) i7-3610QM CPU @ 2.30GHz Memory: 16 GB AMD FirePro M2000 3D Connexion SpacePilot
i have a csv file that has 6 columns, PNEZD and a 6th column which is my notes..i type a star in the data collector after my code, make my note, and then find/replace after i export it and replace star with a column..that gives the desired 6th column in excel that my boss wants....problem is he also wants to see that next to the Full Description in Civil 3d 2012...i tried adding a Point File Format with a 6th Column, User Defined, String for type...named the column Notes...but if i go to edit the point there is no 6th column in the Tool Palette.
I made a simple aluminum frame with clear polycarbonate shields. Somehow, when I put it on drawing sheet, some parts behind the polycarbonate are missing. If i make the polycarbonate invisible, the missing parts appear again. This strange phenomenon started today. It didn't happen before, and no parts were missing behind the clear polycarbonate.
How to manage the visibility of components in a particular view?
In attach file,View 2 is a detail view of view 1. On view 2, I want to display only the nozzle (Drain (H):1) and shell (C1306388341:1) component. So I need to set the visibility of the other component to false.When I try to code this, the components of model file of view 1 was updated not the view.
Set ViewDocument = oDetailView.ReferencedDocumentDescriptor.ReferencedDocument For Each ViewOccurence In ViewDocument.ComponentDefinition.Occurrences If nozzleName <> ViewOccurence.ReferencedDocumentDescriptor.DisplayName Then ViewOccurence.Visible = False End If Next
The reference document I set for my code is not the document which contains the view 2. So I need to the actual reference document where view 2 belongs which is in the box of view 2 that contains 5 components.
In ipn file, after I created sequence and wanted to add in some more components. When I edit the sequence, I cannot find the place to add the components.
I'm attempting to run an FEA of a preliminary design to isolate the best locations for weight reduction. When I attempt to do the analysis with convergence criteria of
Maximum number of h refinements: 2Stop criteria: 8%h Refinement Threshold: 0.5
I get the following issue:
Mesh failed: Face failure: Spar:1Model separates into 36 independent componentsSoft spring was added Is there anything I can do either model or simulation wise that will keep the model from separating?
Why can I not constrain placed objects with three constraints? Anything I place constrains with one constraint then is virtually fixed (without being) and cannot even be moved to allow for further constraining.
Look at the vifdeo file attached. I have not problem to create one component fade out (from 100% to 0%). But how to show the another component fade in (from 0% to 100%)? Studio does not allow fade from 0% to 100%.
I was using "copy components" inside an .iam without any problem. Suddently, when I tried to copy more instances, inventor was blocked and I was not able to copy anymore components. Then I had to close inventor because it seems to be in a bucle.
I have a VBA macro that places selected virtual components into an assembly. I can place virtual components with different part numbers into the assembly with no problem. When I try to place the second instance of a virtual component with the same part number I get an error.
For example: If I place a virtual component with the part number C123A456 into an assembly it shows in the tree as C123A456:1 If I try to place C123A456 again it errors at this line.
'Add selected line as a virtual part Set oOcc = oOccs.AddVirtual(sPartNumber, oMatrix)
I can place multiple virtual parts if I append -1, -2, -3 etc to the part number but I would like to let Inventor use the :1, :2, :3 to keep track.
I am trying to understand how fixed constraint works using Vector Components. It shows inches input, not ft/lbs. What I am seeing is if I put down 1 in in the Y insert and it shows the X and Z are unconstrained. What I am trying to is put on a fixed constraint to one direction which is Y. When I use 1 in for Y, it looks like it is using force of some kind. How this Vector Components work?
I have a selection of various components in an assembly model in Inventor which I want to use to demote. When I click off these components the selection set is lost. Is there a way that Inventor can remember a selection set of components so that I do not have to re-select all the components again ? Similar to the 'select-previous' command in ACAD ?
Product Design Suite Ultimate 2013
64-bit HP Z400, Intel Xeon W3550 3.07GHz 12.0GB RAM, ATI FirePro V4800 (FireGL) Anthony Goodwin ~ Cad Manager/Senior Designer 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'm new to inventor and I need to be able to create coppies of a part in my assembly that are uniquely identified so they can be individually changed. I see that this can be done through the ribbon with the "Place iLogic Component" button, but is it possible to do this from the API in a rule?
Is there a way to associate components to layers so when they are placed in a drawing they are automatically placed on the proper layer.
Example: a frame assembly is associated with a "Frame" layer that has certain attributes. That frame assembly is part of a larger assembly and when that larger assembly is placed in a drawing the frame is automatically assigned to the Frame layer.