AutoCAD Inventor :: ILogic To Drive Pattern In IPart Requires Rebuilds
Aug 29, 2013
I have a simple iPart, with driven parameters Length and Width. When length changes (from a multi-value list), the spacing on a pattern and the number of occurrences of that pattern also change.
Invariably, it requires a rebuild. Occasionally, it requires two rebuilds. As this part is in a second-level subassembly, opening the part, rebuilding it, then rebuilding its assembly, then rebuilding the top-level is consumptive.
I've been using iLogic and iParts for about a week now, so I might be missing something basic. File attached.
Inventor 2013
Win 7 Pro SP1 (x64)
View 7 Replies
ADVERTISEMENT
Nov 3, 2011
I am having a problem with an iPart. I created a rectangular patern in an iPart. When I place the member of the iPart in the Assembly file the pattern is not there. I need it to constrain another part to it.
View 4 Replies
View Related
Oct 25, 2012
I have a sheet metal part that I converted into an iPart and I set up different rows with different sheet metal styles. What I want to do is run an iLogic code to change to a specific row which in turn would change the actual material of that sheet metal part....I've tried the snippet iPart.ChangeRow but cannot get it to run the code. I'm not sure if I'm not doing something right or what...
Inventor 2014, Windows 7, 64 bit
View 9 Replies
View Related
Jul 10, 2012
I made part with iPart. And I use iLogic to engrave the P/N on the part.
View 9 Replies
View Related
Aug 8, 2013
We are looking to switch from SW to Autodesk in order to utilize advanced surfacing in Alias, and its interoperability with Inventor. However, we need to continue to perform Kinimatic linkage studies as well using Inventor. I need to make sure we can perform the same calculations with ease before making the switch.
At this point I am trying to mimic in Inventor the kinimatic studies I perform in SW. In SW I would perform these studies within a single part file, using a single sketch only (no solid parts). Within this part file I would break up the total "travel" of the linkage into configurations that are driven by a "Design Table". The Design Table would be used for both the main driving value, and for any driven values I wanted to use for analysis.
I am trying to find a way to get the same driven variables written to an Excel file to use for analysis using Inventor.
As a test example:
I would like to drive one variable(Damper Length) to get ~20 different iParts, each with the linkage moved to a new point within its set range of motion. I then would like to write several Driven variables(Displacement_1-3 shown in "RULE CODE" attachement) from each iPart instance to an Excel file.
I have been able to get my 20 iParts and the linkage to move accordingly(iPART INSTANCES attachement), but I have not figured out how to write the driven data to excel for each iPart instance(20 rows of data, 3 columns). I have only been able to write the dimesions for one row of data...whichever iPart is currently open.
with the necessary iLogic code or another solution? It seems like this should be pretty straight forward. Do I need to be using the "ChangeRow" iPart Snippet?
View 8 Replies
View Related
Apr 1, 2013
I’m trying to make an iLogic rule that creates a new row in the iPart table (new member). Is it possible?
View 2 Replies
View Related
Dec 3, 2010
it is possible to set the value of one or more "custom" column of an iPart row.
Per example woul this iLogic method work?
iPart.ChangeRow("iComponentName:1", "RowMemberName", customParam1, customParam2)
If so, could you demonstrate how to use it?
View 4 Replies
View Related
Jul 8, 2013
I have a form with a multi value selection containing name vaules from an iPart.
I want to make a selection from the field in my form and swap out my iPart in the assembly for my selection.
I thought that something like:
Dim iFactory As String
MulitValue.SetListInComponent ("FileName:1", "Param name", "list of params.......")
Parameter("FileName:1", Param name") = "PK 407" 'could be any thing selected from the list of params..
iFactory=Param name
iPart.ChangeRow("iPart Factory File Name:1", iFactory)
Such that the part would be swaped out for what ever Param name = as a result of user selection.
I get the following error from this: Object reference not set to an instance of an object.
View 1 Replies
View Related
Jul 29, 2013
I have an Ipart I would like to have a Ilogic form to change the active Ipart. I tried iPart.ChangeRow but I did something wrong and it doesn't work.
View 2 Replies
View Related
Aug 8, 2011
I am looking to generate ipart members for each ipart as I activate it?
View 2 Replies
View Related
Nov 1, 2012
I've created a main assembly containing several ipart components. With the following rule I can read the model parameters, but not the user parameters of the iparts:
A = Parameter("Part1:1", "d0")
If I create a component, insert it in the main assembly and make it an ipart afterwards, the user parameters can be read out with ilogic. But if I insert the same ipart again, the user parameters can not be read out anymore. Model parameters are no problem.
View 1 Replies
View Related
Nov 4, 2011
I am trying to convert a standard iPart to an iLogic based part. The part has some text driven, cells..PatNumber, Description..ect..But when I try to referance those cells the iLogic code either does nothing or errors out.
Basicly i have a bunch of flange rings with have several variables theat need to change as the part number changes, sounds simple right?I have rewritten the code so many times...I have gone from hunt and pecking to typing 300 words a min...well maybe not.
About 75-80% of all our parts are identical in shape but just get smaller or larger depending on what size portable auger it goes on.I have been trying to get the part to changed based on "PartNumber" but it has text in the value.
View 7 Replies
View Related
Feb 21, 2012
In a simple case I have an extrusion with some attached seals/weather stripping, all implemented as iParts having their own LENGTH parameters.
RailPart.ipt, Seal_A.ipt, Seal_B.ipt
The goal is to encapsulate these IParts within an iAssembly: RailAssy.iam, where a LENGTH parameter can be input when the iAssembly is placed, causing RailPart and Seal_A to have their length parameters set to the LENGTH provided at that time and SEAL_B having Length set by an iLogic rule to LENGTH - 5.
I've been unable to set up a Custom Parameter Column in an iAssembly table. Is this even permitted?
Inventor Premium 2012 SP1
View 5 Replies
View Related
Apr 4, 2013
I have an ipart that will has the length and a quantity of patterned features controlled by a table. I've created a work plane that I'll be using when I take this part into an iassembly. The problem is that the features I used to create this work plane (midplane between two parallel planes) do not exist in (2) of the (3) members...so it gives me an error message. I've tried adding the work plane to the table, but 'exclude' isn't a drop-down (and typing it in doesn't work). How to make the work plane "inactive" for those particular members?
View 2 Replies
View Related
Mar 29, 2012
I have defer updates set to on yet every time I drag a part in an assembly inventor rebuilds everything, even though the part being moved has no adaptivity, no mates and no derived parts. It's rebuilding over 300 unrelated and unaffected parts every time.
I just want to drag parts around for concept layout and lying so I don't want mates just yet. How can I make it stop?
(2011 XP64)
View 4 Replies
View Related
Jun 20, 2009
I have been having an issue with CS2 for some time now. Every time I connect an e-SATA external hard drive, the message pops up saying "the licence configuration data is no longer usable. Click OK to continue".  A new popup window appears, with the message: "Your 30 day period to use Photoshop without activation is over. Code:
View 9 Replies
View Related
Nov 13, 2013
I have created two iParts, both with corresponding tables which I then put into an iAssembly so I can change the size of a pad eye and two cheek plates depending upon the desired Working Load Limit. I have a very basic form right now with a drop down menu to chose the different Safe Working Loads but whichever one I choose, is not changing the table configuration to the desired size. Clearly my iLogic code is not working the way I would like. See below and also see attached screen shots so you know what I am working with.
If Parameter("SWL") = "4.75Te" Then
iPart.ChangeRow("PADEYE iPART - IMPERIAL:1", "WLL = 4.75Te")
iPart.ChangeRow("CHEEK PLATE iPART:1", "WLL = 4.75Te")
iPart.ChangeRow("CHEEK PLATE iPART:2", "WLL = 4.75Te")
ElseIf Parameter("SWL") = "6.5Te" Then
iPart.ChangeRow("PADEYE iPART - IMPERIAL:1", "WLL = 6.5Te")
[code]........
This code was actually overwriting the table properties (in excel), so I know this is wrong, I just couldn't find any snippet for changing a table configuration .
View 1 Replies
View Related
Aug 31, 2012
how to suppress a pattern in *.iam by ilogic?
I used ilogic to suppress the main components, but the rest are not suppressed.
For example, I have component "A" and make it a pattern (Colum and Row are variable). How to use ilogic to suppress rest not just "A".
Autodesk Inventor Professional 2013 (64 Bit) SP2
Windows 7 Professional Service Pack 1
Intel(R) Xeon(R) CPU E5645
12.0 GB Memory
View 3 Replies
View Related
Jan 8, 2013
I have a pattern of holes (exactly 3) on an object and when the object height changes so does the pattern base on height. My issue is that i need to create a rule or code that ensures that apart from the first hole (which is fixed), the remaining two holes are at a location that is divisible by 6. The reason being that this is a sheet metal part and our punch press has a template for aligning punches at every 6 IN.
We are using iLogic to automate some of our designs and the code is needed to eliminate having to worry if the punches are at the correct location for faster production.
View 3 Replies
View Related
Oct 11, 2011
I've noticed that one can turn off the visibility of an entire component pattern by manually right-clicking the pattern in the browser and unchecking "Visibility". However, when one tries to automate this process with the following code, only the first element of the pattern is made invisible.
Component.InventorComponent("Pattern1").Visible = False
Is there a better way to do this, or will I be forced to develop a "workaround" like first changing the number of elements to 1?
I've been desperately trying to find a way to "turn off" unneeded assembly components without iAssemblies or LOD's, but Inventor always finds a way to stop me. This workflow of turning off visibility and setting BOM status to "Reference" would work if only I can make patterns invisible, also.
View 1 Replies
View Related
Apr 11, 2012
I attached the iLogic code which is automatically creating dwg drawing (script borrowed from one of the discussion group users), also it creates 4 views. I`m just wondering how to add flat pattern ?
View 7 Replies
View Related
Feb 22, 2013
How do you suppress a certain pattern occurence in Ilogic?
View 6 Replies
View Related
Sep 8, 2013
Is it possible to suppress an occurrence of a pattern in part environment using iLogic? I saw something for assembly environment, but I can't make it work for part. My iLogic knowledge is quite basic.
View 1 Replies
View Related
May 10, 2012
Change pattern ilogic. How do you change the distance and quantity in an assembly with ilogic?
It is simple in a part but in an assembly the parameters and equations do show.
View 1 Replies
View Related
Sep 17, 2012
I have a pattern of reference components, but the quantity of the pattern can change based on certain criteria. When the quantity increases or decreases, I need each pattern element to have its BOM structure set to reference.
The problem is, even if the original pattern element is set to reference, each subsequent element comes in as normal. This causes the BOM quantities for that component to be reported incorrectly in higher assemblies.
Is there some iLogic or VBA code that will automatically set each component in a pattern to BOM structure "Reference", even if the pattern quantity changes?
View 7 Replies
View Related
Sep 20, 2013
How to modify the code below to delete suppressed parts in a pattern (entire pattern)?
Dim oComp As ComponentOccurrenceDim oComps As ComponentOccurrencesoComps = ThisDoc.Document.ComponentDefinition.OccurrencesFor Each oComp In oCompsIf Component.IsActive(oComp.Name) = False Then oComp.DeleteNext
Code works fine if there are single instances of the part. It throws a error when you have a suppressed pattern.
View 7 Replies
View Related
Aug 9, 2012
I'm trying to use ilogic to suppress some individual elements of a pattern but i couldn't find any command that can target component pattern elements. When i try to capture its current state with the right click menu it does nothing.
I can of course suppress the part within the element but then it doesn't update the BOM.
View 9 Replies
View Related
Oct 3, 2013
I made a flanged connection using I logic. Very simple Tube + Flange + Gasket + Blind flange + Bolting.Then I tried to write some ilogic rule to have Blind flange on / off when needed, hence the Gasket & Bolting also need to be off. Like in these images:
That works fine visually, but I also want the BOM to be set accordingly. For the Blind flange & Gasket my BOM is OK. But for my bolting the BOM is not OK. I tried to set the BOM structure the same way as the visibility but that failed. It only subtracted 1 bolt from my list (see code)
If Blindflange_status = 0 Then 'Bolting offComponent.InventorComponent("Bolting:1").BOMStructure = BOMStructureEnum.kReferenceBOMStructure 'Sets BOM Structure to Reference (Remove from BOM)Component.Visible("Bolting:1") = FalseElse 'Bolting onComponent.InventorComponent("Bolting:1").BOMStructure = BOMStructureEnum.kDefaultBOMStructure 'Sets BOM Structure to Reference (Remove from BOM)Component.Visible("Bolting:1") = TrueEnd If
Is there a way to set all parts within a pattern BOM structure? I made my bolting by adding 1 bolt, 1 washer & 1 nut and then pattern them using feature pattern select.
Inventor 2013
View 1 Replies
View Related
Jan 18, 2013
Since I used Autodesk Inventor 2013 last year, I had an question about numbering en renumbering the count of elements in patterns.
I had an assembly with iLogic for placing and replacing elements, suppressing parts and edit dimensions of parts in 1 assembly. Sometimes, 1 suppressed pattern must be un-suppressed. Before doing this, I would like to set the pattern count and distances between pattern elements in the pattern. How can I do it by using iLogic?
View 1 Replies
View Related
Mar 21, 2012
Any way to change the Orientation of a circular pattern with iLogic?
View 1 Replies
View Related
Oct 3, 2013
I made a flanged connection using I logic. Very simple Tube + Flange + Gasket + Blind flange + Bolting.
Then I tried to write some ilogic rule to have Blind flange on / off when needed, hence the Gasket & Bolting also need to be off. Like in these images:
That works fine visually, but I also want the BOM to be set accordingly. For the Blind flange & Gasket my BOM is OK. But for my bolting the BOM is not OK.
I tried to set the BOM structure the same way as the visibility but that failed. It only subtracted 1 bolt from my list (see code)
If Blindflange_status = 0 Then 'Bolting offComponent.InventorComponent("Bolting:1").BOMStructure = BOMStructureEnum.kReferenceBOMStructure 'Sets BOM Structure to Reference (Remove from BOM)Component.Visible("Bolting:1") = FalseElse 'Bolting onComponent.InventorComponent("Bolting:1").BOMStructure = BOMStructureEnum.kDefaultBOMStructure 'Sets BOM Structure to Reference (Remove from BOM)Component.Visible("Bolting:1") = TrueEnd If
Is there a way to set all parts within a pattern BOM structure?
I made my bolting by adding 1 bolt, 1 washer & 1 nut and then pattern them using feature pattern select. Inventor 2013
View 9 Replies
View Related